AI 연동 (MCP)
기타 MCP 클라이언트
JSON-RPC 2.0 을 POST 로 직접 보내 이심모아 MCP 서버를 호출하는 방법이에요.
이 페이지 내용
다른 AI 앱#
Grok·Perplexity·Le Chat·Manus·Genspark·Cursor·VS Code·Microsoft Copilot Studio 모두 원격 MCP 서버를 추가할 수 있어요. 사용자 지정 커넥터를 만들고 위 URL 을 넣은 뒤 인증은 없음으로 고르세요. 로컬(stdio) 서버만 쓰는 클라이언트는 mcp-remote 로 연결해요:
url
https://api.esimoa.com/mcpmcp-remote (stdio)json
{
"mcpServers": {
"esimoa": { "command": "npx", "args": ["-y", "mcp-remote", "https://api.esimoa.com/mcp"] }
}
}프로토콜#
JSON-RPC 2.0 을 POST 로 보내요. 세션 없이 요청마다 독립적으로 처리돼요.
지원 메서드는 initialize · ping · tools/list · tools/call · resources/list · resources/read(프로토콜 2024-11-05 ~ 2025-11-25)이고, 2026-07-28 클라이언트에는 server/discover 도 지원해요(무상태, MCP-Protocol-Version·Mcp-Method 헤더). SSE 스트림은 열지 않으므로 GET 은 405 예요.
initialize#
initializeshell
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#
tools/call · search_esimsshell
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" }
}
}'