Agent skill

mcp-protocol

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/mcp-protocol

SKILL.md

MCP Protocol Skill

JSON-RPC 2.0 protocol reference for MCP.


Request Format

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

Response Format

json
{
  "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

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results