# TradeOS MCP 集成与使用指南

通过集成 MCP（Model Context Protocol），您可以将 TradeOS 的专业级交易工具直接连接至 AI 工作流，实现实时市场数据访问、技术分析以及更智能的交易洞察。

***

## 快速开始

点击 MCP 入口，或触发任意 MCP 相关操作，即可开始连接流程。

路径1：首页

<figure><img src="/files/JCuvGwGI4fBrJszcm4mH" alt=""><figcaption></figcaption></figure>

&#x20;路径2：首页→ 侧边栏 → MCP

<figure><img src="/files/r0T26E1OBbNTCvfk3alH" alt=""><figcaption></figcaption></figure>

## 连接与登录指南

1. 发起 MCP 连接请求

<div><figure><img src="/files/b9PgxyC8phgYeN2B3pMO" alt="" width="563"><figcaption></figcaption></figure> <figure><img src="/files/rXSTY5SbCLtsEXnx1k3i" alt="" width="344"><figcaption></figcaption></figure></div>

<figure><img src="/files/NClwiPiqo1ruOIDDO7Y9" alt="" width="375"><figcaption></figcaption></figure>

2. 系统会打开浏览器进行身份验证。您可以通过以下方式登录：Google、Facebook、邮箱
3. 登录完成后，您的 AI 将可以连接至 TradeOS。连接成功，即可调用 TradeOS。

<figure><img src="/files/FOEjkUqVsAgN5ftf5QiH" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/LZHYzsjEwlRNnSdLTeV0" alt="" width="563"><figcaption></figcaption></figure>

## 授权与权限说明

使用过程中，AI 可能会提示请求访问 TradeOS 技术分析功能，请点击“允许”继续。

*说明：AI 需要获得您的明确授权，才能访问 TradeOS 的底层市场数据与技术分析工具，从而提供更加准确、专业的市场分析结果。*

<figure><img src="/files/a5r3p5ihSlwJDMKloMhP" alt="" width="563"><figcaption></figcaption></figure>

## 高级配置

### Endpoint 配置

如果您是高级用户、开发者，或需要在自定义 Agent、本地客户端（如 Claude Desktop）中手动配置连接，请使用以下地址：

**Endpoint URL：**<https://ai.tradeos.xyz/api/agent/mcp/mcp-call>

## 示例

### 示例1：Claude-NVDA 相对 QQQ 的价差趋势分析

提示词：yo help me analyze NVDA/QQQ (put this as ticker) spread in terms of trend / momentum / volatility

<figure><img src="/files/fm9GMPJW3ON03WTQW03K" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/Q1AHLBBKUNvjaOMqGI4W" alt="" width="563"><figcaption></figcaption></figure>

### 示例2：Cursor-相对 SPY 的强弱评分排名

提示词：help me analyze LLY, GOOG, AMZN, META, MSFT, GLD, QQQ against SPY via spread analysis (ticker like LLY / SPY, GOOG / SPY ...), then rank them in scores 0\~100 where 0 is strong short position and 100 is strong long position

<figure><img src="/files/EdE1FuPXpuP06XUhkyVs" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/YMFxpqibbckiTg04Fbj6" alt="" width="563"><figcaption></figcaption></figure>

### 示例3：ChatGPT **- 分析** NVDA/SPY

提示词: Help me analyze NVDA/SPY

<figure><img src="/files/b0eh7Cc9TEqOckl2XEMf" alt="" width="563"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tradeos.gitbook.io/tradeosaifaq/tradeos-ai-faq-cn/tradeos-mcp-ji-cheng-yu-shi-yong-zhi-nan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
