Skip to content
DevHubMCP API catalog

Quick start

Call any DevHub API in three steps. Every one speaks the Model Context Protocol (MCP): JSON-RPC 2.0 over a single POST route.

1. Choose an API

The catalog lists 5 services:

2. Find its endpoint

Each API page shows its MCP endpoint URL and the tools it documents.

3. Send a request

POST a JSON-RPC 2.0 body with the method you want. cURL:

curl -X POST https://bookchaowalit-techblog-frontend.vercel.app/api/mcp \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}'

JavaScript:

const response = await fetch("https://bookchaowalit-techblog-frontend.vercel.app/api/mcp", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ jsonrpc: "2.0", id: 1, method: "tools/list" }),
});
const data = await response.json();

Python:

import requests

response = requests.post(
    "https://bookchaowalit-techblog-frontend.vercel.app/api/mcp",
    json={"jsonrpc": "2.0", "id": 1, "method": "tools/list"},
)
data = response.json()

Protocol methods

MethodWhat it does
initializeStart a session. Returns the server's capabilities and protocol version.
tools/listList the tools the server offers, with their input schemas.
tools/callRun one tool by name with its arguments. Returns the tool's result.

Response format

Responses follow JSON-RPC 2.0: the same id, and either a result or an error.

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "tools": [
      {
        "name": "get_projects",
        "description": "Get all projects",
        "inputSchema": { "type": "object", "properties": {} }
      }
    ]
  }
}

Try it

The Playground sends these requests from your browser and shows the raw response.