Skip to content

Commit 6ef767b

Browse files
committed
add new page on mcp server for docs
1 parent 3551036 commit 6ef767b

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

fern/products/docs/docs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,12 @@ navigation:
100100
- page: Conditionally rendered content
101101
hidden: true
102102
path: ./pages/component-library/custom-components/conditional-rendering.mdx
103-
103+
- section: AI features
104+
contents:
105+
- link: Ask Fern
106+
href: /learn/ask-fern/getting-started/what-is-ask-fern
107+
- page: MCP server
108+
path: ./pages/ai/mcp-server.mdx
104109
- section: Preview & publish
105110
collapsed: true
106111
contents:
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: Model Context Protocol
3+
description: Learn how to use the Model Context Protocol (MCP) to integrate AI capabilities with your Fern documentation
4+
---
5+
6+
<Tip title="Looking for Fern's own MCP server?">
7+
If you want to connect your AI client to Fern's MCP server for help with Ask Fern, Docs, and SDKs, see the [fern-mcp-server repository](https://github.com/fern-api/fern-mcp-server). This page describes how Fern can help you build an MCP server for your own docs site.
8+
</Tip>
9+
10+
[Model Context Protocol (MCP)](https://modelcontextprotocol.io) is an open standard by Anthropic that enables AI applications to connect with external data sources and tools.
11+
12+
Fern can build a production-ready MCP server for your documentation site. This enables developers using AI assistants (Claude Desktop, Cursor, and Windsurf) to get instant answers about your product directly within their development environment.
13+
14+
## How it works
15+
16+
Fern analyzes your docs site structure and content, then generates an MCP server. AI assistants access your docs through tools like semantic search, endpoint lookup, and code example retrieval.
17+
18+
This makes your documentation "AI-native" and accessible within the AI tools your developers already use.
19+
20+
<Markdown src="/snippets/wip-callout.mdx" />
21+
22+
## How developers use it
23+
24+
Developers simply add your MCP server to their AI client configuration. With an MCP server for your docs, developers can ask their AI assistant questions like:
25+
26+
* "How do I authenticate with this API?"
27+
* "Show me code examples for creating a user"
28+
* "What are the rate limits for the search endpoint?"
29+
30+
The AI assistant will automatically search your documentation and provide accurate, up-to-date answers with relevant code examples – all without leaving their current tool.

0 commit comments

Comments
 (0)