You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Learn how to use the Model Context Protocol (MCP) to integrate AI capabilities with your Fern documentation
4
4
---
5
5
6
-
<Tip>
7
-
**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). This page describes how Fern can help you build an MCP server for your own API.
8
-
</Tip>
6
+
<Markdownsrc="/snippets/wip-callout.mdx" />
9
7
10
-
[Model Context Protocol (MCP)](https://modelcontextprotocol.io) is an open standard by Anthropic that streamlines how AI applications connect with external data sources and tools, enabling AI agents to directly use your product’s APIs.
11
-
12
-
A “Built with Fern” MCP server augments your existing TypeScript SDK with MCP capabilities and integrates seamlessly with popular AI-powered tools including Cursor, Claude Desktop, and Windsurf. You can find a full list of MCP clients [here](https://modelcontextprotocol.io/clients).
13
-
14
-
<Note>
15
-
The MCP generator is in development. Interested in offering an MCP server for your API? Reach out via Slack or [email protected].
16
-
</Note>
8
+
[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.
17
9
10
+
Fern can generate a production-ready MCP server that augments your existing SDK. Developers can then interact with your API directly through AI clients (like Claude Desktop, Cursor, and Windsurf).
18
11
19
12
## How it works
20
13
21
-
**Fern can build a production-ready MCP server on top of your existing TypeScript SDK.** We maintain the package in its own `git` repository, making it easy for your existing developer community to discover and contribute to the project. We can also automatically publish new versions of the package to `npm` for you.
22
-
23
-
End users of a “Built with Fern” MCP server can typically get started with a **single config**:
14
+
Fern generates an MCP server on top of your existing SDK and maintains it in its own repository. Developers can install your MCP server by adding a configuration snippet to their AI client:
24
15
25
16
```json
26
17
{
@@ -34,36 +25,8 @@ End users of a “Built with Fern” MCP server can typically get started with a
34
25
35
26
```
36
27
37
-
To learn more about Model Context Protocol (MCP) servers, check out the [MCP server docs](https://modelcontextprotocol.io/quickstart/server).
38
-
39
-
## Case study: Webflow
40
-
41
-
**We worked with Webflow to launch their [official MCP server](https://www.npmjs.com/package/webflow-mcp-server)** using the existing [Fern-generated TypeScript SDK](https://github.com/webflow/js-webflow-api).
42
-
43
-
Check out the [source code on GitHub](https://github.com/webflow/mcp-server) and read the announcement from Webflow’s CTO on X:
44
-
45
-
<blockquoteclass="twitter-tweet"><plang="en"dir="ltr">🚢 We just launched our Webflow MCP server! Check out Allan’s thread to learn more, watch the demo video below, then give it a try here: <ahref="https://t.co/T2K3OpJ6O8">https://t.co/T2K3OpJ6O8</a> <ahref="https://t.co/bFUfC64pcf">https://t.co/bFUfC64pcf</a> <ahref="https://t.co/oonYuyjHiT">pic.twitter.com/oonYuyjHiT</a></p>— Webflow (@webflow) <ahref="https://twitter.com/webflow/status/1907465818088054843?ref_src=twsrc%5Etfw">April 2, 2025</a></blockquote> <scriptasyncsrc="https://platform.twitter.com/widgets.js"charset="utf-8"></script>
46
-
47
-
## Why "Built with Fern"?
48
-
49
-
There are a few advantages in partnering with Fern to build your MCP server:
50
-
51
-
-**Keep your MCP server in sync with your API** - our implementation augments your existing TypeScript SDK.
52
-
-**Integrate with Fern Docs and AI Chat** - give your users the ability to query your docs directly from inside of Cursor, Claude Desktop, and more.
53
-
-**For APIs at scale** - leverage our team’s expertise developing, testing, and deploying MCP servers for products with hundreds of API endpoints.
54
-
-**Thought partnership** - the AI ecosystem is changing fast and we’re here to navigate it together with you, from the latest techniques to the tools that power them.
55
-
56
-
## How else can Fern support my MCP server launch?
57
-
58
-
We can provide **ready-to-use social media assets** for announcing your MCP support:
28
+
## Example: Webflow
59
29
60
-
- LinkedIn post template
61
-
- X (Twitter) post template
62
-
- Email announcement template
63
-
- Social media graphics
30
+
Webflow launched their [official MCP server](https://www.npmjs.com/package/webflow-mcp-server) using their existing [Fern-generated TypeScript SDK](https://github.com/webflow/js-webflow-api). You can view the [source code on GitHub](https://github.com/webflow/mcp-server).
64
31
65
-
As well as all of the **detailed documentation** that you’ve come to expect from Fern:
0 commit comments