Skip to content

Commit ffb0b6d

Browse files
devin-ai-integration[bot]dannysheridandevalog
authored
Update MCP server documentation to describe auto-generated functionality (#1720)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: [email protected] <[email protected]> Co-authored-by: Devin Logan <[email protected]>
1 parent 007a02b commit ffb0b6d

File tree

4 files changed

+39
-13
lines changed

4 files changed

+39
-13
lines changed

.vale/styles/FernStyles/Headings.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,4 @@ exceptions:
7979
- YAML
8080
- fern.config.json
8181
- Font Awesome
82+
- MCP
10.6 MB
Binary file not shown.

fern/products/docs/pages/ai/mcp-server.mdx

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,43 @@ title: MCP server for your site
33
description: Learn how to use the Model Context Protocol (MCP) to integrate AI capabilities with your Fern documentation
44
---
55

6-
<Markdown src="/snippets/wip-callout.mdx" />
7-
86
[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.
97

10-
Fern can build a production-ready MCP server for your 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.
8+
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.
119

1210
## How it works
1311

14-
Fern analyzes your docs site structure and content, then creates an MCP server.
12+
Fern automatically creates an MCP server for your documentation site that uses Ask Fern AI search to answer questions about your documentation.
13+
14+
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.
15+
16+
## Access your MCP server
17+
18+
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.
19+
20+
To connect to your MCP server:
21+
22+
<AccordionGroup>
23+
<Accordion title="Connect MCP server to Cursor">
24+
25+
1. Under the **Page actions** on any page on your site, select **Connect to Cursor**.
26+
1. When Cursor opens, the server URL will be automatically populated. Click **Install** to connect the MCP.
1527

16-
Developers can access your MCP server by visiting `your-documentation-site.com/mcp` and copying the configuration snippet to add to their AI client settings. Once integrated, developers can ask their AI client questions about your products. The AI client will search through your documentation and provide accurate answers.
28+
<video
29+
src="cursor-mcp.mp4"
30+
autoPlay
31+
loop
32+
controls
33+
playsInline
34+
muted
35+
>
36+
</video>
37+
</Accordion>
38+
<Accordion title="Connect MCP server to other agents (Claude Desktop, Windsurf, etc)">
1739

18-
<Tip>
19-
**Looking for Fern's own MCP server?** 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).
20-
</Tip>
40+
1. Visit `your-documentation-site.com/_mcp/server` in a browser to see the server information
41+
2. Add this URL to your AI client's MCP server configuration
42+
3. Authenticate if your documentation requires authentication
43+
4. Start asking questions about your product directly in the AI client
44+
</Accordion>
45+
</AccordionGroup>

fern/products/docs/pages/getting-started/overview.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,18 +138,18 @@ subtitle: A website builder for beautiful agent and developer-friendly docs.
138138
</div>
139139
</a>
140140

141-
<a class="fern-card interactive not-prose rounded-3 relative block border p-6 text-base" href="https://github.com/fern-api/fern-mcp-server">
141+
<a class="fern-card interactive not-prose rounded-3 relative block border p-6 text-base" href="/learn/docs/ai-features/mcp-server">
142142
<div class="flex items-start flex-col space-y-3">
143-
<img class="mx-auto dark:hidden" alt="Fern's MCP Server" src="./images/mcp-server-light.png" />
144-
<img class="mx-auto hidden dark:block" alt="Fern's MCP Server" src="./images/mcp-server-dark.png" />
143+
<img class="mx-auto dark:hidden" alt="MCP server for your site" src="./images/mcp-server-light.png" />
144+
<img class="mx-auto hidden dark:block" alt="MCP server for your site" src="./images/mcp-server-dark.png" />
145145
<div class="w-full space-y-1 overflow-hidden">
146146
<div class="text-(color:--grayscale-a12) text-body text-base font-semibold card-title">
147-
Fern's MCP server
147+
MCP server for your site
148148
<img src="./images/arrow-right-black.svg" alt="Arrow right light" className="arrow-right dark:hidden m-0" noZoom />
149149
<img src="./images/arrow-right-white.svg" alt="Arrow right light" className="arrow-right hidden dark:block m-0" noZoom />
150150
</div>
151151
<div class="text-(color:--grayscale-a11) font-light">
152-
<p>Add Fern's MCP server to your AI workflows.</p>
152+
<p>Auto-generated MCP server for AI client integration.</p>
153153
</div>
154154
</div>
155155
</div>

0 commit comments

Comments
 (0)