← onv.codes

INDIVIDUAL MCP TOOL

platform_close_preview

【持仓与执行】一键全平预演(dry-run,不会下单):列出将被平仓的合约持仓 / 现货余额目标与合计盈亏。可按凭证或交易对过滤。(cost: free)

onv.codesnone authenticationAvailability not checked

LIVE ENDPOINT

https://onv.codes/mcp

No auth detected

Connect to this endpoint to inspect the live schema for platform_close_preview and invoke it with your own arguments.

Indexed input schema

{}

Risk classification

Inferred read-only · medium confidence · heuristic, not a guarantee.

  • No write-capable action terms were found; this is not proof that invocation has no side effects.

Parent server

onv.codes

CONNECT WITH APPROVAL

Client installation

Review this server and its permissions before adding it. Secret placeholders must be set locally.

Codex

~/.codex/config.toml

[mcp_servers.onv-mcp-server]
url = "https://onv.codes/mcp"
enabled = true
Claude Code

.mcp.json

{
  "mcpServers": {
    "onv-mcp-server": {
      "type": "http",
      "url": "https://onv.codes/mcp"
    }
  }
}
Claude Desktop

Settings → Connectors → Add custom connector

Name: onv-mcp-server
Remote MCP URL: https://onv.codes/mcp

Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.

Cursor

.cursor/mcp.json

{
  "mcpServers": {
    "onv-mcp-server": {
      "url": "https://onv.codes/mcp"
    }
  }
}
Visual Studio Code

.vscode/mcp.json

Add to Visual Studio Code
{
  "servers": {
    "onv-mcp-server": {
      "type": "http",
      "url": "https://onv.codes/mcp"
    }
  }
}
Generic MCP

Client-specific MCP configuration

{
  "name": "onv-mcp-server",
  "transport": "streamable-http",
  "url": "https://onv.codes/mcp"
}
MCP Inspector

Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.

Related tools

  • platform_market_quote — 【行情】查询平台行情 K 线。参数 symbol 为交易标的(如 BTCUSDT / ETHUSDT),timeframe 可选 1m/5m/15m/30m/1H/4H/1D,limit 最大 299。返回该标的的 K 线数组。(cost: free)
  • platform_market_overview — 【行情】市场总览:主流币种快照、涨跌幅、成交量等市场状态概览。(cost: free)
  • platform_market_ticker — 【行情】查询标的实时行情 ticker。参数 symbol 为交易标的(如 BTCUSDT,可选,缺省返回全部)。(cost: free)
  • platform_market_factors — 【行情】查询标的的市场因子数据(技术/宏观因子)。参数 symbol 为交易标的。(cost: free)
  • platform_symbol_search — 【行情】搜索平台支持的交易标的(币种/交易对)。参数 query 为关键词如 BTC。(cost: free)
  • platform_quick_analysis — 【行情】对指定标的进行快速 AI 技术分析(拉取行情并生成分析结论)。参数 symbol 为交易标的,如 BTCUSDT。(cost: ≈ 22–28 credits/次(按实际 tokens 结算))
  • platform_list_agents — 【策略】列出平台上已发布的公开 Agent(策略),可按能力过滤与分页。参数 capabilities 可选(如 dex/defi)。(cost: free)
  • platform_get_agent — 【策略】获取单个已发布的公开 Agent(策略)详情。参数 agentId 为策略 ID。(cost: free)