Maintenance in progress: we are indexing a large batch of new skills. Some pages may load slowly or briefly show no results. Nothing is lost, and everything is back to normal within the hour.

MCP Protocol

> JSON-RPC 2.0 protocol reference for MCP.

majiayu000 7ba7502 2 files · 1.2 KB Updated 567 repo stars

File contents

MCP Protocol Skill

JSON-RPC 2.0 protocol reference for MCP.


Request Format

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search_nodes",
    "arguments": {
      "query": "http"
    }
  }
}

Response Format

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [{
      "type": "text",
      "text": "{\"nodes\": [...]}"
    }]
  }
}

Error Codes

Code Message
-32700 Parse error
-32600 Invalid Request
-32601 Method not found
-32602 Invalid params
-32603 Internal error

Methods

  • tools/list — List available tools
  • tools/call — Call a tool
  • resources/list — List resources
  • prompts/list — List prompts

majiayu000/claude-skill-registry-data/tree/main/ai-llm/mcp-protocol commit 7ba750296a

Frequently asked questions

npx skillmds add majiayu000/mcp-protocol