MCP · Model Context Protocol
/api/mcp
MCP server for AI agents
risejs.dev has an MCP endpoint at /api/mcp. Connect it once and your agent can search the docs, read pages and look up the Rise.js API without you pasting docs into the prompt.
Streamable HTTP
Works with MCP clients that support remote servers.
Read-only
Agents only read docs and API information. No API key needed.
Same content as the site
Results come from the same docs you read on risejs.dev.
Connect
Add the config below to your MCP client (Claude Desktop, Cursor…). Clients without remote server support can use the mcp-remote proxy.
mcp.json
{
"mcpServers": {
"risejs": {
"url": "https://risejs.dev/api/mcp"
}
}
}curl
curl -s https://risejs.dev/api/mcp \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'GET returns server info and the tool list. GET /api/mcp
Tools
| Tool | Job |
|---|---|
| search_docs | Search docs query, limit? |
| get_doc | Read a doc page slug, maxChars? |
| list_packs | List packs query?, limit? |
| get_api | Look up an export name?, pack? |
| framework_info | Framework info |
Example prompt: “Use risejs to find how to add an inventory to my game, with sample code and doc links.” The agent calls search_docs, then get_doc.