เชื่อมต่อเครื่องมือของ X (Twitter) กับเอเจนต์ของคุณผ่าน MCP
OrcaRouter ให้บริการทุกเครื่องมือในแค็ตตาล็อกผ่านเซิร์ฟเวอร์ MCP เดียว เอเจนต์ของคุณค้นหาเครื่องมือของ X (Twitter) ด้วย orca_tools_discover ดูรายละเอียดด้วย orca_tools_inspect และเรียกใช้ด้วย orca_tools_run โดยคิดเงินต่อครั้งกับคีย์ API ของ OrcaRouter ของคุณ
รับคีย์ API
คีย์เดียวครอบคลุมทุกเครื่องมือในแค็ตตาล็อก ทุกครั้งที่เรียกจะคิดเงินตามราคาบนหน้าของเครื่องมือนั้น
รับคีย์ APIเพิ่มเซิร์ฟเวอร์แบบโฮสต์
วางสิ่งนี้ในการตั้งค่าไคลเอนต์ MCP ของคุณ แล้วใส่คีย์ของคุณแทนตัวยึดตำแหน่ง เซิร์ฟเวอร์ใช้ streamable HTTP จึงไม่ต้องติดตั้งอะไร
เซิร์ฟเวอร์ MCP แบบโฮสต์ { "mcpServers": { "orcarouter": { "type": "http", "url": "https://api.orcarouter.ai/v1/tools/mcp", "headers": { "Authorization": "Bearer <ORCAROUTER_API_KEY>" } } } }หรือรันในเครื่อง
ต้องการเซิร์ฟเวอร์ stdio ในเครื่อง? แพ็กเกจ @orcarouter/mcp ให้บริการเครื่องมือชุดเดียวกันจากเครื่องของคุณ
เซิร์ฟเวอร์ MCP ในเครื่อง { "mcpServers": { "orcarouter": { "command": "npx", "args": [ "-y", "@orcarouter/mcp" ], "env": { "ORCAROUTER_API_KEY": "<ORCAROUTER_API_KEY>", "ORCAROUTER_BASE_URL": "https://api.orcarouter.ai" } } } }ถามเอเจนต์ของคุณ
ขอสิ่งที่ X (Twitter) ตอบได้ เอเจนต์จะค้นหาเครื่องมือที่เหมาะสม ตรวจสอบอินพุต แล้วรันเครื่องมือนั้น
ชอบการเรียกฟังก์ชันมากกว่า?
GET /v1/tools/functions ส่งคืนเครื่องมือใดก็ได้ในแค็ตตาล็อกเป็นนิยามฟังก์ชันของ OpenAI หรือ Anthropic แล้วรันด้วย POST /v1/tools/{id}/run
ไคลเอนต์ที่เชื่อมต่อผ่าน MCP
- MastraConnect a Mastra agent to the OrcaRouter MCP server with MCPClient, so it can search the tool catalog and run what it finds.
- CrewAIGive a CrewAI agent the OrcaRouter tool catalog through MCPServerAdapter, so it can find and run tools while it works on a task.
- LlamaIndexLoad the OrcaRouter MCP server's tools with McpToolSpec and use them in a LlamaIndex FunctionAgent.
- Claude CodeAdd the OrcaRouter MCP server to Claude Code with one command; Claude can then search the tool catalog and run tools while it works.
- CursorRegister the OrcaRouter MCP server in Cursor's mcp.json so its agent can find and run catalog tools from chat.
