An open API service indexing awesome lists of open source software.

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

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`