MCP server for Fonto XML documentation — search and fetch API docs directly in Cursor, Claude, and Claude Code
git clone https://github.com/DrRataplan/fonto-docs-mcp{
"mcpServers": {
"fonto-docs-mcp": {
"command": "node",
"args": ["/path/to/fonto-docs-mcp/dist/index.js"]
}
}
}Resumen de MCP Servers
# fonto-docs-mcp
[](https://github.com/DrRataplan/fonto-docs-mcp/actions/workflows/deploy.yml)
[](LICENSE)
An MCP server that makes the [Fonto XML documentation](https://documentation.fontoxml.com/) accessible to AI tools like Claude Code, Cursor, and Claude Desktop. **Live at [fonto-docs.elliat.nl](https://fonto-docs.elliat.nl/).**
The Fonto docs are rendered by a JavaScript SPA, which makes them impossible for AI to read directly. This server fetches the underlying XML and converts it to clean, readable Markdown on demand.
## What is MCP?
MCP (Model Context Protocol) is a standard way to give AI assistants access to external tools. Once you connect this server to your AI tool, it gains access to these tools and resources:
| Tool | What it does |
|---|---|
| `search_fonto_docs` | Search by keyword — returns matching pages with titles, descriptions, and slugs |
| `get_fonto_page` | Fetch the full content of a page by its slug |
| `list_pages` | List all pages matching a keyword, with full section hierarchy — useful for discovery |
| Resource | What it contains |
|---|---|
| `fonto://catalog` | All ~2000 pages with real titles, product grouping, and ancestry paths |
You can then ask things like *"How does addDocumentChangeCallback work?"* and the AI will look it up in the live Fonto docs.
## Connect to your AI tool
The server is already running at `https://fonto-docs.elliat.nl/mcp` — you just need to point your tool at it.
### Claude Code (CLI)
```bash
claude mcp add --transport http fonto-docs https://fonto-docs.elliat.nl/mcp
```
### Cursor
Add to `.cursor/mcp.json` in your project (or `~/.cursor/mcp.json` globally):
```json
{
"mcpServers": {
"fonto-docs": {
"type": "http",
"url": "https://fonto-docs.elliat.nl/mcp"
}
}
}
```
### Claude Desktop
Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
```json
{
"mcpServers": {
"fonto-docs": {
"type": "http",
"url": "https://fonto-docs.elliat.nl/mcp"
}
}
}
```
## Usage examples
Once connected, ask your AI assistant:
- *"Search the Fonto docs for documentsManager"*
- *"Get the Fonto docs page for clearundostackfordocument-f0187fade723"*
- *"How does addDocumentChangeCallback work according to the Fonto docs?"*
- *"List all pages in the configure section"*
- *"What upgrade guides are available?"*
## HTTP API
The server also exposes a plain HTTP API if you want to use it without MCP:
- `GET /search?q={query}` — search pages by keyword
- `GET /page/{slug}` — fetch a page as Markdown
- `GET /catalog` — full page catalog grouped by section; add `?section={keyword}` to filter
## How it works
The Fonto documentation site stores its content as XML at predictable URLs under `/static/xml/`. This server fetches those XML files directly and converts them to Markdown, bypassing the JavaScript rendering. Page content is never cached — every `get_fonto_page` call goes to `documentation.fontoxml.com` live. The page catalog (used by `list_pages` and `fonto://catalog`) is fetched once from the Fonto search index on first use and held in memory for the lifetime of the process.
## Self-hosting
```bash
npm install
npm start # runs on port 8080 by default
PORT=3000 npm start
```
## Contributing
PRs welcome. The XML-to-Markdown conversion in `src/fonto.js` handles two formats:
- **DITA guide pages** — `<topic>`, `<body>`, `<section>` structure
- **API reference pages** — custom `<type>`, `<members>`, `<description>` structure
If you find pages that don't convert well, open an issue with the slug.
## License
MIT
Lo que la gente pregunta sobre fonto-docs-mcp
¿Qué es DrRataplan/fonto-docs-mcp?
+
DrRataplan/fonto-docs-mcp es mcp servers para el ecosistema de Claude AI. MCP server for Fonto XML documentation — search and fetch API docs directly in Cursor, Claude, and Claude Code Tiene 2 estrellas en GitHub y se actualizó por última vez today.
¿Cómo se instala fonto-docs-mcp?
+
Puedes instalar fonto-docs-mcp clonando el repositorio (https://github.com/DrRataplan/fonto-docs-mcp) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar DrRataplan/fonto-docs-mcp?
+
DrRataplan/fonto-docs-mcp aún no ha sido auditado por nuestro agente de seguridad. Revisa el repositorio original en GitHub antes de usarlo en producción.
¿Quién mantiene DrRataplan/fonto-docs-mcp?
+
DrRataplan/fonto-docs-mcp es mantenido por DrRataplan. La última actividad registrada en GitHub es de today, con 1 issues abiertos.
¿Hay alternativas a fonto-docs-mcp?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega fonto-docs-mcp en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/drrataplan-fonto-docs-mcp)<a href="https://claudewave.com/repo/drrataplan-fonto-docs-mcp"><img src="https://claudewave.com/api/badge/drrataplan-fonto-docs-mcp" alt="Featured on ClaudeWave: DrRataplan/fonto-docs-mcp" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。