Collega gli strumenti Facebook al tuo agente tramite MCP
OrcaRouter offre tutti gli strumenti del catalogo tramite un unico server MCP. Il tuo agente trova gli strumenti Facebook con orca_tools_discover, ne esamina uno con orca_tools_inspect e lo chiama con orca_tools_run, con addebito per chiamata sulla tua chiave API OrcaRouter.
Ottieni una chiave API
Una sola chiave copre tutti gli strumenti del catalogo; ogni chiamata è addebitata al prezzo della sua pagina.
Ottieni una chiave APIAggiungi il server ospitato
Incolla questo nella configurazione del tuo client MCP e sostituisci il segnaposto con la tua chiave. Usa HTTP in streaming, quindi non c'è nulla da installare.
Server MCP ospitato { "mcpServers": { "orcarouter": { "type": "http", "url": "https://api.orcarouter.ai/v1/tools/mcp", "headers": { "Authorization": "Bearer <ORCAROUTER_API_KEY>" } } } }Oppure eseguilo in locale
Preferisci un server stdio locale? Il pacchetto @orcarouter/mcp offre gli stessi strumenti dalla tua macchina.
Server MCP locale { "mcpServers": { "orcarouter": { "command": "npx", "args": [ "-y", "@orcarouter/mcp" ], "env": { "ORCAROUTER_API_KEY": "<ORCAROUTER_API_KEY>", "ORCAROUTER_BASE_URL": "https://api.orcarouter.ai" } } } }Chiedi al tuo agente
Chiedi qualcosa a cui Facebook può rispondere. L'agente trova lo strumento giusto, ne controlla gli input e lo esegue.
Preferisci la chiamata di funzioni?
GET /v1/tools/functions restituisce qualsiasi strumento del catalogo come definizione di funzione OpenAI o Anthropic; eseguilo con POST /v1/tools/{id}/run.
Client che si connettono tramite 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.
