https://github.com/serverpod/serverpod_mcp
MCP server for Serverpod
https://github.com/serverpod/serverpod_mcp
Last synced: 5 months ago
JSON representation
MCP server for Serverpod
- Host: GitHub
- URL: https://github.com/serverpod/serverpod_mcp
- Owner: serverpod
- License: bsd-3-clause
- Created: 2025-09-12T06:17:19.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-09-12T13:23:34.000Z (6 months ago)
- Last Synced: 2025-09-14T16:33:01.064Z (6 months ago)
- Language: Dart
- Size: 13.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Serverpod MCP Server
A Model Context Protocol (MCP) server that brings Serverpod documentation and guides into any MCP-compatible client. It exposes searchable docs as resources and provides tools for Q&A and guide retrieval.
## Installation
Install the CLI tool by running:
```bash
dart pub global activate serverpod_mcp
```
Add this MCP server to your editor. Example Cursor config:
```json
{
"mcpServers": {
"dart": {
"command": "dart",
"args": [
"mcp-server"
]
},
"serverpod": {
"command": "serverpod_mcp",
"args": [
"--gemini-api-key",
"YOUR_GEMINI_API_KEY"
],
"rootDetection": {
"strategy": "workspace"
}
}
}
}
```
You need to specify a Gemini API key for the MCP server to answer natural language questions. It uses only a few calls to lower-tier Gemini models, so it's very inexpensive (the free tier should be sufficient). You can get your free API key [here](https://aistudio.google.com/app/apikey).
Alternatively, you can specify your Gemini API key via the `SERVERPOD_MCP_GEMINI_API_KEY` environment variable.
## What it provides
- Serverpod guides and docs are exposed as MCP resources, fetched from Serverpod's Starguide backend.
- Ask natural language questions about Serverpod; answers are generated using Gemini based on documentation and answered discussions.
## Requirements
- **Dart SDK**: ^3.8.1
- **Gemini API key**: Required only for `ask-docs`