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:
- Portfolio API — Access projects, skills, blog posts, and GitHub activity.
- Tech Blog API — Technical articles and programming content.
- Art Blog API — Creative arts and design content.
- Tech Space API — Technology stacks and development platforms.
- MCP List Hub — Central aggregator for all MCP servers.
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
| Method | What it does |
|---|---|
initialize | Start a session. Returns the server's capabilities and protocol version. |
tools/list | List the tools the server offers, with their input schemas. |
tools/call | Run 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.