protogrid

Search / codes.onv/onv-mcp

onv-mcp

R0· no sign-in

量化策略回测、组合配置与多交易所执行(14 家通道)

v1.0.4 · active · repository · website · descriptor JSON · versions

An agent can connect right now, no human step.Remote endpoint, no authentication, reachable on the last probe.
Quality76good
Trust93of 100
Uptime, 30 days93%
Latency p50985 msp95 2858 ms

Connect

8 clients · secrets stay placeholders
Add to CursorAdd to VS Codeopens the client, which asks before adding the server
{
  "mcpServers": {
    "onv-mcp": {
      "type": "http",
      "url": "https://onv.codes/mcp"
    }
  }
}
claude mcp add --transport http onv-mcp https://onv.codes/mcp
[mcp_servers.onv-mcp]
url = "https://onv.codes/mcp"
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "onv-mcp": {
      "type": "remote",
      "url": "https://onv.codes/mcp",
      "enabled": true
    }
  }
}
{
  "mcpServers": {
    "onv-mcp": {
      "type": "http",
      "url": "https://onv.codes/mcp"
    }
  },
  "deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=onv-mcp&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vb252LmNvZGVzL21jcCJ9"
}
{
  "servers": {
    "onv-mcp": {
      "type": "http",
      "url": "https://onv.codes/mcp"
    }
  },
  "deeplink": "vscode:mcp/install?%7B%22name%22%3A%22onv-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fonv.codes%2Fmcp%22%7D"
}
{
  "mcpServers": {
    "onv-mcp": {
      "httpUrl": "https://onv.codes/mcp"
    }
  }
}
extensions:
  "onv-mcp":
    enabled: true
    name: "onv-mcp"
    type: streamable_http
    uri: "https://onv.codes/mcp"
    timeout: 300

Quality 76 / 100good

protocol75 · weight 25
  • warn
    protocol.modernnewest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
  • n/a
    protocol.statelessonly applies to 2026-07-28 servers
  • pass
    protocol.transportstreamable HTTP
  • n/a
    protocol.list_ttlonly applies to 2026-07-28 servers
authorizationn/a · weight 15
  • n/a
    auth.prm, auth.as_metadata, auth.cimdno remote uses OAuth
  • n/a
    auth.secret_in_urlno templated URL
tool hygiene89 · weight 30
  • pass
    tools.descriptionsevery tool has a description
  • pass
    tools.description_lengthdescriptions are concise
  • pass
    tools.schemasevery tool has an object input schema
  • pass
    tools.annotations50 of 50 tools declare readOnlyHint or destructiveHint
  • fail
    tools.directory_hintsno tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: platform_market_quote (idempotentHint, openWorldHint); platform_market_overview (idempotentHint, openWorldHint); platform_market_ticker (idempotentHint, openWorldHint); …
  • pass
    tools.token_costabout 6,200 tokens to load every tool
  • pass
    tools.api_dumptools are not a one-to-one API dump
  • pass
    tools.hidden_textno hidden text in tool names, descriptions, schemas or annotations
  • pass
    tools.poisoningno instructions aimed at the model in tool definitions
stability50 · weight 15
  • warn
    stability.changes24 tool changes in 30 days
  • fail
    stability.rug_pull2 tools kept their name but changed most of their description in 30 days; review before trusting them
  • pass
    stability.new_linksno tool change named a new site
dependenciesn/a · weight 15
  • n/a
    deps.known_vulns, deps.mcp_sdk_version, deps.resolvabledeps.dev does not know @onvcodes/[email protected]

50 tools, about 6,200 tokens to load them all · tool set 3dbb3126be26 · tools last changed 2026-11-15 · checked 2026-11-29 14:52 UTC

Definition changes

  • platform_publish_strategychangeddescription, input schemameaning changed
    before

    【策略】发布策略(写操作,需用户确认)。name 必填、category 为 dex/defi;code 为策略代码(可选);subscription_price 订阅价格;strategy_id 可指定已有草稿发布。发布为公开上架。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)

    after · 32% of words in common

    【策略】提交策略审核(提交后进入 pending_review,不会直接上架)。name / category / agentCategory / code 必填;同时必须披露样本外结果 oos、搜索尝试次数 n_trials、经济解释 economicRationale(≥10 字)。live_observation_days 为实盘观察天数(可选;source=factory 来源时后端要求达到上架门槛)。strategy_id 可指定已有草稿提交。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)

  • platform_agent_performancechangedtitle, description, annotations
    before

    【行情】查询**已订阅策略**的绩效(需本人有效订阅,或本人创建该策略):订阅人数、样本内外指标、OOS 验证状态与实盘观察天数。参数 strategyId 必填。(cost: free)

    after · 100% of words in common

    【策略】查询**已订阅策略**的绩效(需本人有效订阅,或本人创建该策略):订阅人数、样本内外指标、OOS 验证状态与实盘观察天数。参数 strategyId 必填。(cost: free)

  • platform_agent_signalchangedtitle, description, annotations
    before

    【行情】查询**已订阅策略**的最新交易信号(需本人有效订阅,或本人创建该策略)。返回最近信号列表(动作/标的/价格/时间等);不包含下单执行。参数 strategyId 必填,limit 可选(默认 10,最大 50)。(cost: free)

    after · 100% of words in common

    【策略】查询**已订阅策略**的最新交易信号(需本人有效订阅,或本人创建该策略)。返回最近信号列表(动作/标的/价格/时间等);不包含下单执行。参数 strategyId 必填,limit 可选(默认 10,最大 50)。(cost: free)

  • platform_subscribe_planchangedtitle, annotations
  • platform_unsubscribeadded

    【账户与额度】退订策略(写操作,需用户确认):停止后续信号执行并释放订阅名额,不支持退款。subscriptionId 与 strategyId 二选一——只给 strategyId 时自动匹配本人当前有效订阅。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)

  • platform_subscribe_strategyadded

    【账户与额度】订阅策略市场里的 AI 助理 / 策略(写操作,需用户确认):免费策略提交即生效;付费策略创建收款单并返回订单号与支付信息,支付确认后自动激活(不会重复扣费)。参数 strategyId 必填(来自 platform_list_agents),period 可选 monthly/quarterly/yearly。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)

  • platform_subscribe_guidechangeddescription, input schema
    before

    【账户与额度】订阅引导(写操作,需用户确认):为指定 AI 助理生成订阅引导信息(周期可选 day/week/month/year),确认后返回订阅链接与支付信息,不自动扣费。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)

    after · 80% of words in common

    【账户与额度】订阅引导(写操作,需用户确认):为指定 AI 助理生成订阅引导信息(周期可选 day/week/month/year),确认后返回订阅链接与支付信息,不自动扣费。参数 strategyId 必填(agentId 为等价别名)。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)

  • platform_subscription_listchangeddescriptionmeaning changed
    before

    【账户与额度】查询我的订阅列表。无需参数。(cost: free)

    after · 20% of words in common

    【账户与额度】查询我的策略订阅列表(含状态 status/running_status、到期时间 expires_at、最近执行错误 last_error/last_error_at)。退订用 platform_unsubscribe。无需参数。(cost: free)

  • platform_agent_performanceadded

    【行情】查询**已订阅策略**的绩效(需本人有效订阅,或本人创建该策略):订阅人数、样本内外指标、OOS 验证状态与实盘观察天数。参数 strategyId 必填。(cost: free)

  • platform_agent_signaladded

    【行情】查询**已订阅策略**的最新交易信号(需本人有效订阅,或本人创建该策略)。返回最近信号列表(动作/标的/价格/时间等);不包含下单执行。参数 strategyId 必填,limit 可选(默认 10,最大 50)。(cost: free)

Showing the latest 10. Full history: list_changes · trend: quality JSON.

Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.

Trust 93 / 100

provenance80
liveness97
freshness100
hygiene100

+repository +dns-namespace +website -thin-description +reachable +uptime-93% +updated-15d-ago

Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.

Dependencies

@onvcodes/[email protected] npmthis version is not known to the dependency resolver

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.

Endpoints

Last 30 days93% of probes answered
remoteauthreachableuptime 30dp50p95protocollast ok
https://onv.codes/mcp streamable-httpnoneyes93%985 ms2858 ms2025-11-252026-11-29
packageregistryversionruntimesecrets
@onvcodes/mcp-servernpm1.0.4–

Tools (50)

platform_account_overviewread-only【持仓与执行】我的跨所账户总览:各交易所余额、持仓与币种归并(无凭证返回空)。(cost: free)
platform_agent_performanceread-only【策略】查询**已订阅策略**的绩效(需本人有效订阅,或本人创建该策略):订阅人数、样本内外指标、OOS 验证状态与实盘观察天数。参数 strategyId 必填。(cost: free)
platform_agent_signalread-only【策略】查询**已订阅策略**的最新交易信号(需本人有效订阅,或本人创建该策略)。返回最近信号列表(动作/标的/价格/时间等);不包含下单执行。参数 strategyId 必填,limit 可选(默认 10,最大 50)。(cost: free)
platform_ai_generatedestructive【策略】AI 生成策略代码(写操作,需用户确认):输入自然语言 prompt(可选 context 传入研究流水线结构化学徒上下文),返回策略代码与解释。(cost: ≈ 36–48 credits/次(按实际 tokens 结算))(写操作,外部调用将以 apikey 身份直接执行)
platform_ai_optimizedestructive【策略】AI 多轮优化策略(写操作,需用户确认):输入 prompt 描述策略目标,自动生成→回测→分析→改进(最多 maxRounds 轮,1-5,默认 3)。耗时较长。给了 initialCode 时第 1 轮不生成:直接回测这份既有代码作基线,第 2 轮起在其上改进(A3)。strategyParams 为指标参数覆盖(对齐 /api/cex/indicator/backtest 的 params)。context 为可选结构化学徒上下文(B2-a,失败因子/评审结论/目标指标),独立注入 LLM。每轮回传 rounds[].params(本轮实际生效参数)与 rounds[].errorCode(失败原因可判定);全轮未产出代码时返回 502/429 + errorCode,不再返回空 finalCode。(cost: ≈ 34–38 credits/轮(按实际 tokens 结算))(写操作,外部调用将以 apikey 身份直接执行)
platform_backtest_historyread-only【策略】查询回测历史(可指定策略 ID 过滤)。参数 strategyId 可选。(cost: free)
platform_backtest_resultread-only【策略】查询回测任务结果。参数 jobId 为 run_backtest 返回的任务 ID。(cost: free)
platform_cancel_orderdestructive【持仓与执行】撤销未成交挂单(写操作,需确认):exchangeOrderId 与 clientOrderId 二选一。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)
platform_close_positiondestructive【持仓与执行】平仓(写操作,需确认):按 credentialId + symbol 平掉持仓;closeScope=full 全平,传 size 时部分平。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)
platform_close_previewread-only【持仓与执行】一键全平预演(dry-run,不会下单):列出将被平仓的合约持仓 / 现货余额目标与合计盈亏。可按凭证或交易对过滤。(cost: free)
platform_credentialsread-only【账户与额度】查询我绑定的交易所凭证(脱敏,不含密钥)。返回凭证 ID/交易所/名称,供下单、平仓、查询使用。(cost: free)
platform_dex_quoteread-only【行情】链上 DEX 报价(只读):chain 如 ETH/BSC/BASE/SOL,fromToken/toToken 为代币地址或符号,amount 为最小单位字符串。(cost: free)
platform_dex_swapdestructive【持仓与执行】链上 DEX 兑换(写操作,需确认,动用真实资金):钱包地址自动取本人智能账户,不接受任意地址;大额授权需 approvalToken(由平台签发)。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)
platform_explain_backtestread-only【行情】解释一次回测「为什么亏 / 为什么没成交」。返回结构化卡片(数据区间、样本内外、最大回撤、数据缺失)与逐条原因。参数 runId / jobId / strategyId 至少给一个,三选一即可。(cost: free)
platform_explain_factorsread-only【行情】解释一次回测里各因子对收益的贡献:同一指标代码 / 区间 / 参数,逐个剔除一个因子列重跑,用指标差分(基准 − 剔除后)给出边际贡献,并把每个数字的 source 写明(基准结果 / ablate(id))。参数 runId / jobId 至少给一个,maxFactors 可选(默认 3,最大 5)。(cost: free)
platform_explain_portfolioread-only【行情】解释我的持仓与账户风控:逐仓名义价值 / 未实现盈亏 / 杠杆,以及账户敞口、当日盈亏、保证金使用率、熔断状态。返回结构化卡片,每个数字带 source(来源接口 + 字段),narrative.traces 写明口径公式;不做收益预测。(cost: free)
platform_factory_rundestructive【策略】发起策略工厂运行(写操作,需确认):sourceType=llm(描述生成)/search(条件扫描)/optimize(优化现有策略,需 strategyId)。同一用户同时只允许一个运行。(cost: base 5 + 10/1k bars(>10000 部分 5/1k) + 1/1k tokens credits)(写操作,外部调用将以 apikey 身份直接执行)
platform_factory_runsread-only【策略】查询我的策略工厂运行记录;传 runId 时返回该次运行详情。(cost: free)
platform_flat_alldestructive【持仓与执行】一键全平(写操作,需确认):默认 dryRun=true 只预演;确认执行须显式 dryRun=false。可按凭证/交易对/市场类型限定,marketType=spot 时清现货余额。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)
platform_get_agentread-only【策略】获取单个已发布的公开 AI 助理(策略)详情。参数 agentId 为策略 ID。(cost: free)
platform_list_agentsread-only【策略】列出平台上已发布的公开 AI 助理(策略),可按能力过滤与分页。参数 capabilities 可选(如 dex/defi)。(cost: free)
platform_manage_strategydestructive【策略】管理自己的策略(写操作,需用户确认)。action 为 create / update / delete;update/delete 需要 strategyId;create/update 用 data 传策略数据(data.name 必填,data.strategy_category 为 dex/defi)。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)
platform_market_factorsread-only【行情】查询标的的市场因子数据(技术/宏观因子)。参数 symbol 为交易标的。(cost: free)
platform_market_overviewread-only【行情】市场总览:主流币种快照、涨跌幅、成交量等市场状态概览。(cost: free)
platform_market_quoteread-only【行情】查询平台行情 K 线。参数 symbol 为交易标的(如 BTCUSDT / ETHUSDT),timeframe 可选 1m/5m/15m/30m/1H/4H/1D,limit 最大 299。返回该标的的 K 线数组。(cost: free)
platform_market_tickerread-only【行情】查询标的实时行情 ticker。参数 symbol 为交易标的(如 BTCUSDT,可选,缺省返回全部)。(cost: free)
platform_my_strategiesread-only【策略】查询我创建的**策略市场/订阅域**策略列表(onv-backend `strategies` 表,按钱包地址归属,邮箱注册账号回退按数字 userId)。⚠️ 不含实盘策略——实盘策略在 `qd_strategies_trading`,请用 REST `GET /api/cex/strategies`(该端点不支持 status 过滤,返回全部状态)。status 可选 draft/published/archived(缺省三者全取)。(cost: free)
platform_place_orderdestructive【持仓与执行】真实下单(写操作,需确认,动用真实资金):credentialId 来自 platform_credentials,amount 为 USDT 名义金额;orderType=market|limit,限价单必填 price。执行前校验账号级「AI 实盘授权」,未开启一律拒绝。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)
platform_plansread-only【账户与额度】查询平台订阅套餐列表(免费/付费 tier 与价格)。无需参数。(cost: free)
platform_positionsread-only【持仓与执行】我的全部持仓(跨交易所扁平化,含方向/数量/开仓价/未实现盈亏)。可按交易所或交易对过滤。(cost: free)
platform_publish_strategydestructive【策略】提交策略审核(提交后进入 pending_review,不会直接上架)。name / category / agentCategory / code 必填;同时必须披露样本外结果 oos、搜索尝试次数 n_trials、经济解释 economicRationale(≥10 字)。live_observation_days 为实盘观察天数(可选;source=factory 来源时后端要求达到上架门槛)。strategy_id 可指定已有草稿提交。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)
platform_quick_analysisread-only【行情】对指定标的进行快速 AI 技术分析(拉取行情并生成分析结论)。参数 symbol 为交易标的,如 BTCUSDT。(cost: ≈ 22–28 credits/次(按实际 tokens 结算))
platform_reset_breakerdestructive【账户与额度】人工解除熔断(写操作,需确认):须提供 recoveryCode;解除后策略恢复实盘执行。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)
platform_risk_configread-only【账户与额度】查询我的账户级风控面板:配置、熔断状态、聚合风险与策略风险。(cost: free)
platform_run_backtestdestructive【策略】提交回测任务(写操作,需用户确认)。strategy 为策略代码字符串或已有策略 ID(纯数字),symbol 为交易标的如 BTCUSDT,timeframe 可选 1m/5m/15m/30m/1H/4H/1D。params 为指标参数覆盖(可选,写入引擎 indicator_params,与代码内 # @param 默认值合并、此处优先),与同步链 /api/cex/indicator/backtest 的 params 同口径。(cost: ≈ 27 credits/次(90d·1H))(写操作,外部调用将以 apikey 身份直接执行)
platform_set_breakerdestructive【账户与额度】更新账户熔断配置(写操作,需确认):enabled 开关,可设日亏损上限、连续失败次数、gas 尖峰上限。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)
platform_set_risk_configdestructive【账户与额度】更新账户级风控配置(写操作,需确认):config 为要修改的字段对象(如日亏损上限、单笔上限)。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)
platform_strategy_performanceread-only【持仓与执行】查询**实盘策略**的绩效(策略级,按实盘策略 ID):权益曲线、最新权益、区间收益与点数。ID 取自 `qd_strategies_trading`。(cost: free)
platform_strategy_positionsread-only【持仓与执行】查询**实盘策略**的持仓(策略级,按实盘策略 ID)。⚠️ ID 取自 `qd_strategies_trading`(REST `GET /api/cex/strategies`),不是策略市场/订阅域的 `strategies` 表 ID。返回方向/数量/开仓价/未实现盈亏。(cost: free)
platform_strategy_tradesread-only【持仓与执行】查询**实盘策略**的成交记录(策略级,按实盘策略 ID;含平仓原因与模拟盘标记)。ID 取自 `qd_strategies_trading`。(cost: free)
platform_subscribe_guidedestructive【账户与额度】订阅引导(写操作,需用户确认):为指定 AI 助理生成订阅引导信息(周期可选 day/week/month/year),确认后返回订阅链接与支付信息,不自动扣费。参数 strategyId 必填(agentId 为等价别名)。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)
platform_subscribe_plandestructive【账户与额度】购买平台套餐(写操作,需用户确认):plan_id 必填(来自 platform_plans),period 可选 day/week/month/year,payment_method 可选 chain/x402。创建支付订单,支付在平台完成。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)
platform_subscribe_strategydestructive【账户与额度】订阅策略市场里的 AI 助理 / 策略(写操作,需用户确认):免费策略提交即生效;付费策略创建收款单并返回订单号与支付信息,支付确认后自动激活(不会重复扣费)。参数 strategyId 必填(来自 platform_list_agents),period 可选 monthly/quarterly/yearly。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)
platform_subscription_listread-only【账户与额度】查询我的策略订阅列表(含状态 status/running_status、到期时间 expires_at、最近执行错误 last_error/last_error_at)。退订用 platform_unsubscribe。无需参数。(cost: free)
platform_subscription_statusread-only【账户与额度】查询对某 AI 助理的订阅状态。参数 strategyId 或 agentId。(cost: free)
platform_symbol_searchread-only【行情】搜索平台支持的交易标的(币种/交易对)。参数 query 为关键词如 BTC。(cost: free)
platform_trade_historyread-only【持仓与执行】查询我的最近成交记录(默认 50 条,最多 200)。(cost: free)
platform_unsubscribedestructive【账户与额度】退订策略(写操作,需用户确认):停止后续信号执行并释放订阅名额,不支持退款。subscriptionId 与 strategyId 二选一——只给 strategyId 时自动匹配本人当前有效订阅。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)
platform_user_subscriptionread-only【账户与额度】查询我的平台套餐订阅状态(当前套餐/到期时间)。无需参数。(cost: free)
platform_user_usageread-only【账户与额度】查询我的平台用量汇总(今日 bars / 本月 tokens / 剩余配额)。无需参数。(cost: free)

Schemas: list_tools.

Similar MCP servers

Official server.json
{
  "name": "codes.onv/onv-mcp",
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "remotes": [
    {
      "url": "https://onv.codes/mcp",
      "type": "streamable-http"
    }
  ],
  "version": "1.0.4",
  "packages": [
    {
      "version": "1.0.4",
      "transport": {
        "type": "stdio"
      },
      "identifier": "@onvcodes/mcp-server",
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org"
    }
  ],
  "repository": {
    "url": "https://github.com/sftgroup/onv-mcp",
    "source": "github",
    "subfolder": "packages/mcp-server"
  },
  "websiteUrl": "https://onv.codes",
  "description": "量化策略回测、组合配置与多交易所执行(14 家通道)"
}