Integrazioni IA (MCP)
Altri client MCP
Call the esimoa MCP server directly by sending JSON-RPC 2.0 over POST.
On this page
Altre app di IA#
Grok, Perplexity, Le Chat, Manus, Genspark, Cursor, VS Code e Microsoft Copilot Studio possono tutti aggiungere un server MCP remoto: crea un connettore personalizzato con l’URL qui sopra e scegli nessuna autenticazione. I client che eseguono solo server locali (stdio) possono usare mcp-remote:
https://api.esimoa.com/mcp{
"mcpServers": {
"esimoa": { "command": "npx", "args": ["-y", "mcp-remote", "https://api.esimoa.com/mcp"] }
}
}Protocol#
Invia JSON-RPC 2.0 tramite POST. Ogni richiesta è gestita in modo indipendente, senza bisogno di sessione.
I metodi supportati sono initialize, ping, tools/list, tools/call, resources/list e resources/read per le versioni del protocollo dalla 2024-11-05 alla 2025-11-25, e server/discover per i client 2026-07-28 (senza stato, con le intestazioni MCP-Protocol-Version e Mcp-Method). Non viene aperto alcun flusso SSE, quindi GET restituisce 405.
initialize#
curl -X POST https://api.esimoa.com/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-06-18",
"capabilities": {},
"clientInfo": { "name": "my-client", "version": "1.0.0" }
}
}'tools/call#
curl -X POST https://api.esimoa.com/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "X-API-Key: esk_live_your_key_here" \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "search_esims",
"arguments": { "country": "Japan", "days": 7, "sort": "price", "limit": 3, "lang": "en" }
}
}'