About AI SDK MCP Docs Server
An unofficial MCP server that makes AI SDK documentation, cookbook examples, and provider details available to IDEs and other MCP clients. It retrieves and parses content from the AI SDK website.
Key features
- 01Retrieve AI SDK documentation
- 02Browse cookbook examples and tutorials
- 03Look up provider information
- 04Fetch all entries or a specific path
Use cases
- 01Find documentation while working in an IDE
- 02Retrieve a specific cookbook example
- 03Check details for an AI SDK provider
MCP support
Exposes documentation, cookbook, and provider lookup tools through MCP. Clients can request lists or fetch content by path.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEAI SDK MCP Docs Server
A Model Context Protocol (MCP) server that provides AI SDK documentation, cookbook examples, and provider information.
Note
This is an unofficial tool and does not provide any guarantees regarding functionality or accuracy.
Features
- Access AI SDK documentation content
- Retrieve cookbook examples and tutorials
- Get information about AI providers
Setting up with IDE
This tool can be used with various IDEs that support MCP servers.
Common Setup
-
Clone the repository to your local machine:
git clone https://github.com/mongolyy/ai-sdk-mcp-docs-server.git cd ai-sdk-mcp-docs-server -
Install dependencies:
npm install
IDE-Specific Configuration
Cline
-
Open Cline
-
Click
MCP Serverslink icon -
Navigate to
Installedtab and clickconfigure MCP Serversbutton -
Add a new MCP server with the following configuration (update the path to match your local repository location):
{ "mcpServers": { + "ai-sdk-mcp-docs-server": { + "command": "npx", + "args": [ + "tsx", + "/Users/username/path/to/ai-sdk-mcp-docs-server/src/index.ts" + ] + } } } -
Save the settings
-
Restart Cline to apply the changes
Cursor
-
Edit the
~/.cursor/mcp.jsonfile -
Add or update the MCP server configuration (update the path to match your local repository location):
{ "mcpServers": { + "ai-sdk-mcp-docs-server": { + "command": "npx", + "args": [ + "tsx", + "/Users/username/path/to/ai-sdk-mcp-docs-server/src/index.ts" + ] + } } } -
Save the file
-
Restart Cursor to apply the changes
Development
This section provides guidelines for contributing to the project, including coding standards, testing procedures, and how to submit pull requests.
Installation
npm install
Run on local
CLI:
npx fastmcp dev src/index.ts
GUI:
npx fastmcp inspect src/index.ts
Available Tools
-
docs - Get AI SDK documentation
- Without path: Get list of all docs
- With path:
/docs/introduction- Get specific doc
-
cookbook - Get cookbook examples
- Without path: Get list of all examples
- With path:
/cookbook/next/generate-text- Get specific example
-
providers - Get provider information
- Without path: Get list of all providers
- With path:
/providers/ai-sdk-providers- Get specific provider info
How It Works
The server fetches content from the AI SDK website, parses the HTML, and provides the content through a structured API accessible via the Model Context Protocol.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.