Cloudflare Agents SDK 集成
託管 MCP
3
5
在您的代理中連接 TalorData MCP
// const mcpConnection = await this.mcp.connect(
// "https://path-to-mcp-server/mcp"
// );// Connect to TalorData MCP server
const mcpConnection = await this.mcp.connect(
"https://mcp.talordata.net/API_TOKEN/mcp"
);
// Merge MCP tools with local tools
const allTools = {
...tools,
...this.mcp.getAITools()
};6
最后更新于
