What is MCP?
Setup
1. Install dependencies
bash
pip install httpx mcp2. Configure Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"mddoc": {
"command": "python3",
"args": ["/path/to/mcp_server.py"],
"env": {
"MDDOC_API_URL": "https://api.mddoc.app",
"MDDOC_API_KEY": "mddoc_YOUR_KEY"
}
}
}
}3. Configure Claude Code
.mcp.json
{
"mcpServers": {
"mddoc": {
"command": "python3",
"args": ["./mcp_server.py"],
"env": {
"MDDOC_API_URL": "https://api.mddoc.app",
"MDDOC_API_KEY": "mddoc_YOUR_KEY"
}
}
}
}Available tools
| Tool | Description |
|---|---|
| mddoc_list_templates | List all available Word templates |
| mddoc_list_mappings | List style mappings, optionally filtered by template |
| mddoc_list_documents | List all stored documents |
| mddoc_submit_document | Submit markdown with a title and optional project |
| mddoc_get_document | Get document details by ID |
| mddoc_convert | Convert a document with a template and mapping |
| mddoc_classify | AI-powered document type classification |
Example workflow
You
Claude
Result