@tradeos/tradeos-mcp-test 1.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +2 -0
- package/build/config.js +13 -0
- package/build/constant.js +21 -0
- package/build/index.js +38 -0
- package/build/proxy-server.js +21 -0
- package/build/remote-client.js +19 -0
- package/package.json +50 -0
- package/scripts/fetch-token.mjs +192 -0
- package/server.json +45 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 TradeOS AI
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
package/build/config.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BRIDGE_CONFIG, TRADEOS_CONFIG } from "./constant.js";
|
|
2
|
+
/** Load bridge config from environment (see `.example.env`). */
|
|
3
|
+
export function loadConfig() {
|
|
4
|
+
const { accessTokenEnv } = BRIDGE_CONFIG;
|
|
5
|
+
const accessToken = process.env[accessTokenEnv]?.trim();
|
|
6
|
+
if (!accessToken) {
|
|
7
|
+
throw new Error(`${accessTokenEnv} is required (OAuth Bearer token for mcp-call)`);
|
|
8
|
+
}
|
|
9
|
+
return {
|
|
10
|
+
accessToken,
|
|
11
|
+
mcpCallUrl: TRADEOS_CONFIG.mcpCallUrl,
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** TradeOS production endpoints (not overridable via env). */
|
|
2
|
+
export const TRADEOS_CONFIG = {
|
|
3
|
+
baseUrl: "https://ai.tradeos.xyz",
|
|
4
|
+
mcpCallPath: "/api/agent/mcp/mcp-call",
|
|
5
|
+
authorizePath: "/api/agent/mcp/mcp-authorize",
|
|
6
|
+
tokenPath: "/api/agent/mcp/mcp-token",
|
|
7
|
+
mcpCallUrl: "https://ai.tradeos.xyz/api/agent/mcp/mcp-call",
|
|
8
|
+
};
|
|
9
|
+
/** OAuth loopback (see `scripts/fetch-token.mjs`). */
|
|
10
|
+
export const OAUTH_CONFIG = {
|
|
11
|
+
clientId: "claude",
|
|
12
|
+
redirectUri: "http://127.0.0.1:3847/callback",
|
|
13
|
+
callbackPath: "/callback",
|
|
14
|
+
port: 3847,
|
|
15
|
+
};
|
|
16
|
+
export const BRIDGE_CONFIG = {
|
|
17
|
+
accessTokenEnv: "TRADEOS_ACCESS_TOKEN",
|
|
18
|
+
server: { name: "tradeos-mcp-test", version: "1.0.0" },
|
|
19
|
+
client: { name: "tradeos-mcp-test-bridge", version: "1.0.0" },
|
|
20
|
+
proxyInstructions: "TradeOS MCP bridge. All tools are executed on TradeOS via mcp-call.",
|
|
21
|
+
};
|
package/build/index.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
3
|
+
import { loadConfig } from "./config.js";
|
|
4
|
+
import { createProxyServer } from "./proxy-server.js";
|
|
5
|
+
import { connectRemoteClient } from "./remote-client.js";
|
|
6
|
+
async function shutdown(remoteClient, proxyServer) {
|
|
7
|
+
try {
|
|
8
|
+
await proxyServer.close();
|
|
9
|
+
}
|
|
10
|
+
catch {
|
|
11
|
+
/* ignore */
|
|
12
|
+
}
|
|
13
|
+
try {
|
|
14
|
+
await remoteClient.close();
|
|
15
|
+
}
|
|
16
|
+
catch {
|
|
17
|
+
/* ignore */
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
async function main() {
|
|
21
|
+
const config = loadConfig();
|
|
22
|
+
console.error(`[tradeos-mcp-test] remote: ${config.mcpCallUrl}`);
|
|
23
|
+
const remoteClient = await connectRemoteClient(config);
|
|
24
|
+
const proxyServer = createProxyServer(remoteClient);
|
|
25
|
+
const stdioTransport = new StdioServerTransport();
|
|
26
|
+
const onSignal = () => {
|
|
27
|
+
void shutdown(remoteClient, proxyServer).finally(() => process.exit(0));
|
|
28
|
+
};
|
|
29
|
+
process.on("SIGINT", onSignal);
|
|
30
|
+
process.on("SIGTERM", onSignal);
|
|
31
|
+
await proxyServer.connect(stdioTransport);
|
|
32
|
+
console.error("[tradeos-mcp-test] stdio bridge ready");
|
|
33
|
+
}
|
|
34
|
+
main().catch((error) => {
|
|
35
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
36
|
+
console.error(`[tradeos-mcp-test] fatal: ${message}`);
|
|
37
|
+
process.exit(1);
|
|
38
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
|
2
|
+
import { CallToolRequestSchema, ListToolsRequestSchema, } from "@modelcontextprotocol/sdk/types.js";
|
|
3
|
+
import { BRIDGE_CONFIG } from "./constant.js";
|
|
4
|
+
/**
|
|
5
|
+
* stdio MCP server that forwards tools/list and tools/call to the remote TradeOS client.
|
|
6
|
+
*/
|
|
7
|
+
export function createProxyServer(remoteClient) {
|
|
8
|
+
const server = new Server(BRIDGE_CONFIG.server, {
|
|
9
|
+
capabilities: {
|
|
10
|
+
tools: {},
|
|
11
|
+
},
|
|
12
|
+
instructions: BRIDGE_CONFIG.proxyInstructions,
|
|
13
|
+
});
|
|
14
|
+
server.setRequestHandler(ListToolsRequestSchema, async (request) => {
|
|
15
|
+
return remoteClient.listTools(request.params);
|
|
16
|
+
});
|
|
17
|
+
server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
18
|
+
return remoteClient.callTool(request.params);
|
|
19
|
+
});
|
|
20
|
+
return server;
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
|
|
2
|
+
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
|
|
3
|
+
import { BRIDGE_CONFIG } from "./constant.js";
|
|
4
|
+
/** MCP client connected to TradeOS Streamable HTTP `mcp-call`. */
|
|
5
|
+
export async function connectRemoteClient(config) {
|
|
6
|
+
const url = new URL(config.mcpCallUrl);
|
|
7
|
+
const transport = new StreamableHTTPClientTransport(url, {
|
|
8
|
+
requestInit: {
|
|
9
|
+
headers: {
|
|
10
|
+
Authorization: `Bearer ${config.accessToken}`,
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
const client = new Client(BRIDGE_CONFIG.client, {
|
|
15
|
+
capabilities: {},
|
|
16
|
+
});
|
|
17
|
+
await client.connect(transport);
|
|
18
|
+
return client;
|
|
19
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@tradeos/tradeos-mcp-test",
|
|
3
|
+
"version": "1.0.0-alpha.1",
|
|
4
|
+
"description": "[TEST] stdio MCP bridge to TradeOS mcp-call (https://ai.tradeos.xyz). Publish as TradeOS-AI org member 0xFar777.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "build/index.js",
|
|
7
|
+
"mcpName": "io.github.TradeOS-AI/tradeos-mcp-test",
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/TradeOS-AI/tradeos-mcp.git"
|
|
14
|
+
},
|
|
15
|
+
"bin": {
|
|
16
|
+
"tradeos-mcp-test": "build/index.js",
|
|
17
|
+
"tradeos-mcp-test-oauth": "scripts/fetch-token.mjs"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"build",
|
|
21
|
+
"scripts/fetch-token.mjs",
|
|
22
|
+
"server.json"
|
|
23
|
+
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "tsc -p tsconfig.build.json",
|
|
26
|
+
"build:all": "tsc",
|
|
27
|
+
"start": "node build/index.js",
|
|
28
|
+
"oauth:token": "pnpm run build && node scripts/fetch-token.mjs",
|
|
29
|
+
"smoke": "pnpm run build:all && node --env-file=.env build/smoke-remote.js",
|
|
30
|
+
"registry:verify": "node scripts/verify-registry.mjs",
|
|
31
|
+
"registry:sync-version": "node scripts/sync-registry-version.mjs"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"mcp",
|
|
35
|
+
"tradeos",
|
|
36
|
+
"modelcontextprotocol",
|
|
37
|
+
"test"
|
|
38
|
+
],
|
|
39
|
+
"license": "ISC",
|
|
40
|
+
"engines": {
|
|
41
|
+
"node": ">=18"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@modelcontextprotocol/sdk": "^1.29.0"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@types/node": "^22.19.2",
|
|
48
|
+
"typescript": "^5.9.3"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Get TRADEOS_ACCESS_TOKEN via browser OAuth (PKCE + loopback callback).
|
|
4
|
+
*
|
|
5
|
+
* Usage:
|
|
6
|
+
* npx tradeos-mcp-test-oauth
|
|
7
|
+
* pnpm run oauth:token
|
|
8
|
+
*
|
|
9
|
+
* Opens browser → log in on TradeOS → prints access_token for .env
|
|
10
|
+
*/
|
|
11
|
+
import { createHash, randomBytes } from "node:crypto";
|
|
12
|
+
import { exec } from "node:child_process";
|
|
13
|
+
import { createServer } from "node:http";
|
|
14
|
+
import { URL } from "node:url";
|
|
15
|
+
import {
|
|
16
|
+
BRIDGE_CONFIG,
|
|
17
|
+
OAUTH_CONFIG,
|
|
18
|
+
TRADEOS_CONFIG,
|
|
19
|
+
} from "../build/constant.js";
|
|
20
|
+
|
|
21
|
+
function base64Url(buffer) {
|
|
22
|
+
return buffer.toString("base64url");
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
function generateCodeVerifier() {
|
|
26
|
+
return base64Url(randomBytes(32));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function generateCodeChallenge(verifier) {
|
|
30
|
+
return createHash("sha256").update(verifier).digest("base64url");
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function openBrowser(url) {
|
|
34
|
+
const platform = process.platform;
|
|
35
|
+
const cmd =
|
|
36
|
+
platform === "win32"
|
|
37
|
+
? `start "" "${url}"`
|
|
38
|
+
: platform === "darwin"
|
|
39
|
+
? `open "${url}"`
|
|
40
|
+
: `xdg-open "${url}"`;
|
|
41
|
+
exec(cmd, (err) => {
|
|
42
|
+
if (err) {
|
|
43
|
+
console.error(
|
|
44
|
+
`[fetch-token] Could not open browser automatically. Open:\n${url}\n`,
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function buildAuthorizeUrl(codeChallenge, state) {
|
|
51
|
+
const url = new URL(
|
|
52
|
+
`${TRADEOS_CONFIG.baseUrl}${TRADEOS_CONFIG.authorizePath}`,
|
|
53
|
+
);
|
|
54
|
+
url.searchParams.set("response_type", "code");
|
|
55
|
+
url.searchParams.set("client_id", OAUTH_CONFIG.clientId);
|
|
56
|
+
url.searchParams.set("redirect_uri", OAUTH_CONFIG.redirectUri);
|
|
57
|
+
url.searchParams.set("code_challenge", codeChallenge);
|
|
58
|
+
url.searchParams.set("code_challenge_method", "S256");
|
|
59
|
+
url.searchParams.set("state", state);
|
|
60
|
+
return url.toString();
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
async function exchangeCodeForToken(code, codeVerifier) {
|
|
64
|
+
const res = await fetch(
|
|
65
|
+
`${TRADEOS_CONFIG.baseUrl}${TRADEOS_CONFIG.tokenPath}`,
|
|
66
|
+
{
|
|
67
|
+
method: "POST",
|
|
68
|
+
headers: { "Content-Type": "application/json" },
|
|
69
|
+
body: JSON.stringify({
|
|
70
|
+
grant_type: "authorization_code",
|
|
71
|
+
code,
|
|
72
|
+
redirect_uri: OAUTH_CONFIG.redirectUri,
|
|
73
|
+
code_verifier: codeVerifier,
|
|
74
|
+
}),
|
|
75
|
+
},
|
|
76
|
+
);
|
|
77
|
+
|
|
78
|
+
const text = await res.text();
|
|
79
|
+
let body;
|
|
80
|
+
try {
|
|
81
|
+
body = JSON.parse(text);
|
|
82
|
+
} catch {
|
|
83
|
+
body = { raw: text };
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
if (!res.ok) {
|
|
87
|
+
throw new Error(
|
|
88
|
+
`mcp-token failed (${res.status}): ${JSON.stringify(body)}`,
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
if (!body.access_token) {
|
|
93
|
+
throw new Error(`No access_token in response: ${JSON.stringify(body)}`);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
return body.access_token;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
function waitForAuthorizationCode(codeVerifier) {
|
|
100
|
+
return new Promise((resolve, reject) => {
|
|
101
|
+
const expectedState = base64Url(randomBytes(16));
|
|
102
|
+
const authorizeUrl = buildAuthorizeUrl(
|
|
103
|
+
generateCodeChallenge(codeVerifier),
|
|
104
|
+
expectedState,
|
|
105
|
+
);
|
|
106
|
+
|
|
107
|
+
const server = createServer((req, res) => {
|
|
108
|
+
try {
|
|
109
|
+
const incoming = new URL(
|
|
110
|
+
req.url ?? "/",
|
|
111
|
+
`http://127.0.0.1:${OAUTH_CONFIG.port}`,
|
|
112
|
+
);
|
|
113
|
+
if (incoming.pathname !== OAUTH_CONFIG.callbackPath) {
|
|
114
|
+
res.writeHead(404, { "Content-Type": "text/plain; charset=utf-8" });
|
|
115
|
+
res.end("Not found");
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
const error = incoming.searchParams.get("error");
|
|
120
|
+
if (error) {
|
|
121
|
+
res.writeHead(400, { "Content-Type": "text/html; charset=utf-8" });
|
|
122
|
+
res.end(`<h1>OAuth error</h1><pre>${error}</pre>`);
|
|
123
|
+
reject(new Error(`OAuth error: ${error}`));
|
|
124
|
+
server.close();
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
const state = incoming.searchParams.get("state");
|
|
129
|
+
if (state !== expectedState) {
|
|
130
|
+
res.writeHead(400, { "Content-Type": "text/html; charset=utf-8" });
|
|
131
|
+
res.end("<h1>Invalid state</h1>");
|
|
132
|
+
reject(new Error("OAuth state mismatch"));
|
|
133
|
+
server.close();
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
const code = incoming.searchParams.get("code");
|
|
138
|
+
if (!code) {
|
|
139
|
+
res.writeHead(400, { "Content-Type": "text/html; charset=utf-8" });
|
|
140
|
+
res.end("<h1>Missing code</h1>");
|
|
141
|
+
reject(new Error("Missing authorization code in callback"));
|
|
142
|
+
server.close();
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
res.writeHead(200, { "Content-Type": "text/html; charset=utf-8" });
|
|
147
|
+
res.end(
|
|
148
|
+
"<h1>TradeOS MCP</h1><p>Login OK. Return to the terminal for your access_token.</p><script>setTimeout(()=>window.close(),1500)</script>",
|
|
149
|
+
);
|
|
150
|
+
resolve(code);
|
|
151
|
+
server.close();
|
|
152
|
+
} catch (e) {
|
|
153
|
+
reject(e);
|
|
154
|
+
server.close();
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
|
|
158
|
+
server.listen(OAUTH_CONFIG.port, "127.0.0.1", () => {
|
|
159
|
+
console.error(
|
|
160
|
+
`[fetch-token] Waiting for callback on ${OAUTH_CONFIG.redirectUri}`,
|
|
161
|
+
);
|
|
162
|
+
console.error(`[fetch-token] Opening browser…\n`);
|
|
163
|
+
console.error(`If it does not open, visit:\n${authorizeUrl}\n`);
|
|
164
|
+
openBrowser(authorizeUrl);
|
|
165
|
+
});
|
|
166
|
+
|
|
167
|
+
server.on("error", reject);
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
async function main() {
|
|
172
|
+
console.error(`[fetch-token] TradeOS: ${TRADEOS_CONFIG.baseUrl}`);
|
|
173
|
+
console.error(`[fetch-token] redirect_uri: ${OAUTH_CONFIG.redirectUri}`);
|
|
174
|
+
console.error(
|
|
175
|
+
"[fetch-token] Log in with your TradeOS account when the browser opens.\n",
|
|
176
|
+
);
|
|
177
|
+
|
|
178
|
+
const codeVerifier = generateCodeVerifier();
|
|
179
|
+
const code = await waitForAuthorizationCode(codeVerifier);
|
|
180
|
+
const accessToken = await exchangeCodeForToken(code, codeVerifier);
|
|
181
|
+
|
|
182
|
+
console.error("\n[fetch-token] Success. Put this in .env:\n");
|
|
183
|
+
console.log(`${BRIDGE_CONFIG.accessTokenEnv}=${accessToken}`);
|
|
184
|
+
console.error(
|
|
185
|
+
"\n[fetch-token] Token is a JWT (starts with eyJ…). Do not commit it to git.\n",
|
|
186
|
+
);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
main().catch((e) => {
|
|
190
|
+
console.error(`[fetch-token] ${e instanceof Error ? e.message : String(e)}`);
|
|
191
|
+
process.exit(1);
|
|
192
|
+
});
|
package/server.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
+
"name": "io.github.TradeOS-AI/tradeos-mcp-test",
|
|
4
|
+
"title": "TradeOS (test)",
|
|
5
|
+
"description": "[TEST] TradeOS MCP bridge: ticker search, My Agent, chart TA, macro news. npm or HTTP.",
|
|
6
|
+
"websiteUrl": "https://tradeos.gitbook.io/tradeosaifaq/tradeos-mcp-integration-and-usage",
|
|
7
|
+
"repository": {
|
|
8
|
+
"url": "https://github.com/TradeOS-AI/tradeos-mcp",
|
|
9
|
+
"source": "github"
|
|
10
|
+
},
|
|
11
|
+
"version": "1.0.0-alpha.1",
|
|
12
|
+
"remotes": [
|
|
13
|
+
{
|
|
14
|
+
"type": "streamable-http",
|
|
15
|
+
"url": "https://ai.tradeos.xyz/api/agent/mcp/mcp-call"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"packages": [
|
|
19
|
+
{
|
|
20
|
+
"registryType": "npm",
|
|
21
|
+
"registryBaseUrl": "https://registry.npmjs.org",
|
|
22
|
+
"identifier": "@tradeos/tradeos-mcp-test",
|
|
23
|
+
"version": "1.0.0-alpha.1",
|
|
24
|
+
"runtimeHint": "npx",
|
|
25
|
+
"runtimeArguments": [
|
|
26
|
+
{
|
|
27
|
+
"type": "positional",
|
|
28
|
+
"value": "-y"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"transport": {
|
|
32
|
+
"type": "stdio"
|
|
33
|
+
},
|
|
34
|
+
"environmentVariables": [
|
|
35
|
+
{
|
|
36
|
+
"name": "TRADEOS_ACCESS_TOKEN",
|
|
37
|
+
"description": "OAuth Bearer for mcp-call. Run: npx tradeos-mcp-test-oauth, then paste the printed token.",
|
|
38
|
+
"format": "string",
|
|
39
|
+
"isRequired": true,
|
|
40
|
+
"isSecret": true
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|