MCP server for your site
Model Context Protocol (MCP) is an open standard by Anthropic that enables AI applications to connect with external data sources and tools.
Fern automatically generates and hosts a production-ready MCP server for every documentation site. This enables developers using AI clients (like Claude Desktop, Cursor, and Windsurf) to get instant answers about your product directly within their development environment.
How it works
Fern automatically creates an MCP server for your documentation site that uses Ask Fern AI search to answer questions about your documentation.
When developers connect to your MCP server, they can ask questions about your product. Their AI client will search through your documentation and provide accurate, contextual answers. The server respects your documentation’s authentication settings and reflects your current documentation content.
Access your MCP server
Your MCP server is automatically available at your-documentation-site.com/_mcp/server. For example, the MCP server for Eleven Labs documentation is available here: https://elevenlabs.io/docs/_mcp/server.
To connect to your MCP server:
Connect MCP server to Cursor
- Under the Page actions on any page on your site, select Connect to Cursor.
- When Cursor opens, the server URL will be automatically populated. Click Install to connect the MCP.
Connect MCP server to other agents (Claude Desktop, Windsurf, etc)
- Visit
your-documentation-site.com/_mcp/serverin a browser to see the server information - Add this URL to your AI client’s MCP server configuration
- Authenticate if your documentation requires authentication
- Start asking questions about your product directly in the AI client
Direct API access for AI agents
AI agents can access your documentation, including authenticated documentation, directly via HTTP. Fern serves content as clean Markdown for token efficiency.
For authenticated sites, agents obtain a JWT via /api/fern-docs/get-jwt with a Fern API key to access the protected documentation content and search functionality.