MCP Server
The Juicebox documentation is available through an MCP (Model Context Protocol) server, making it easy for AI assistants and automated tools to search and retrieve documentation.
HTTP API
The MCP server is available as an HTTP API at https://docs.juicebox.money/api/mcp
Quick Examples
Search:
curl -X POST https://docs.juicebox.money/api/mcp/search \
-H "Content-Type: application/json" \
-d '{"query": "deploy project", "category": "developer", "limit": 5}'
Get document:
curl -X POST https://docs.juicebox.money/api/mcp/get-doc \
-H "Content-Type: application/json" \
-d '{"path": "dev/v5/learn/overview.md"}'
JavaScript:
const response = await fetch('https://docs.juicebox.money/api/mcp/search', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ query: 'deploy project', category: 'developer' })
});
const data = await response.json();
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
POST | /api/mcp/search | Search docs by query, category, version |
POST | /api/mcp/get-doc | Get full document by path or title |
GET | /api/mcp/list-docs?category=developer&version=v5 | List all docs in a category |
GET | /api/mcp/structure | Get documentation structure/stats |
Parameters:
query(string, required for search): Search termscategory(string):developer|user|dao|ecosystem|allversion(string):v3|v4|v5|alllimit(number): Max results (default: 10)path(string, required for get-doc): Document path or title
Using with Claude Desktop
For local stdio MCP server:
- Clone repo and install:
npm run mcp:install && npm run mcp:build-index - Configure Claude Desktop:
{
"mcpServers": {
"juice-docs": {
"command": "node",
"args": ["/path/to/juice-docs-v3/mcp-server/src/index.js"],
"cwd": "/path/to/juice-docs-v3"
}
}
}
More Information
- MCP Server README - Complete documentation
- MCP Specification