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.
This tool can be used with various IDEs that support MCP servers.
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
Open Cline
Click MCP Servers
link icon
Navigate to Installed
tab and click configure MCP Servers
button
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
Edit the ~/.cursor/mcp.json
file
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
This section provides guidelines for contributing to the project, including coding standards, testing procedures, and how to submit pull requests.
npm install
CLI:
npx fastmcp dev src/index.ts
GUI:
npx fastmcp inspect src/index.ts
docs - Get AI SDK documentation
/docs/introduction
- Get specific doccookbook - Get cookbook examples
/cookbook/next/generate-text
- Get specific exampleproviders - Get provider information
/providers/ai-sdk-providers
- Get specific provider infoThe 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.
{
"mcpServers": {
"ai-sdk-mcp-docs-server": {
"env": {},
"args": [
"tsx",
"/Users/username/path/to/ai-sdk-mcp-docs-server/src/index.ts"
],
"command": "npx"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.