serverpod_mcp

serverpod/serverpod_mcp

3.2

If you are the rightful owner of serverpod_mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Serverpod MCP Server integrates Serverpod documentation and guides into any MCP-compatible client, offering searchable resources and tools for Q&A and guide retrieval.

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:

dart pub global activate serverpod_mcp

Add this MCP server to your editor. Example Cursor config:

{
  "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.

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