fonto-docs-mcp
Makes Fonto XML documentation accessible to AI tools by fetching underlying XML and converting it to clean Markdown on demand, enabling search and retrieval of docs pages.
README
fonto-docs-mcp
An MCP server that makes the Fonto XML documentation accessible to AI tools like Claude Code, Cursor, and Claude Desktop. Live at 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)
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):
{
"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):
{
"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 keywordGET /page/{slug}— fetch a page as MarkdownGET /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
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.