Genkit MCP Server

Lets an assistant list, run and trace the flows in a Genkit project and look up Genkit docs

Official · Genkit TypeScript Local · stdio Developer toolsAI and ML

97 popularity score ★ 6.6k ↓ 90k/wk

Connect your client

Local (npm)

Add in one click

Opens the app, which asks before it adds the server.

Or add it by command or config

Claude CodeTerminal
claude mcp add genkit -- npx -y genkit-cli mcp
Claude Desktopclaude_desktop_config.json
{
  "mcpServers": {
    "genkit": {
      "command": "npx",
      "args": [
        "-y",
        "genkit-cli",
        "mcp"
      ]
    }
  }
}
Cursor~/.cursor/mcp.json
{
  "mcpServers": {
    "genkit": {
      "command": "npx",
      "args": [
        "-y",
        "genkit-cli",
        "mcp"
      ]
    }
  }
}
VS Code.vscode/mcp.json
{
  "servers": {
    "genkit": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "genkit-cli",
        "mcp"
      ]
    }
  }
}
Codex~/.codex/config.toml
[mcp_servers.genkit]
command = "npx"
args = ["-y", "genkit-cli", "mcp"]
Gemini CLITerminal
gemini mcp add --scope user genkit npx -- -y genkit-cli mcp

What it does

The Genkit MCP Server comes with the Genkit CLI (the genkit-cli npm package) and is started with the command genkit mcp. It connects a coding assistant to a Genkit application in the project folder it is started in. Genkit is the open source framework for building AI features, made by Firebase, part of Google.

Through the server an assistant can start, stop and restart the app's runtime (for example npm run dev or go run .), list the Genkit flows in the project along with their input schemas, run a flow with JSON input, and read the execution trace of a run span by span. It can also fetch a usage guide and list, search and read the Genkit documentation for JavaScript, Go or Python.

It needs Node.js and the Genkit CLI, installed globally with npm install -g genkit-cli or used through npx genkit mcp. The docs show setup for Gemini CLI, Cursor, Claude Code, Windsurf and Cline. Set the working directory (cwd) to the Genkit project. The docs mark the server as experimental and say it may change without notice.

What it needs

RuntimeNode.js

Tools 10

get_usage_guide
Fetches a Genkit usage guide for js or go.
list_genkit_docs
Lists the Genkit documentation files for js, go or python.
search_genkit_docs
Searches the Genkit documentation for specific terms.
read_genkit_docs
Reads the content of specific documentation files.
start_runtime
Starts the application runtime to enable flow discovery and execution.
kill_runtime
Stops the runtime process.
restart_runtime
Restarts the runtime process.
list_flows
Lists the Genkit flows defined in the project with their input schemas.
run_flow
Runs a Genkit flow with the given JSON input.
get_trace
Returns the execution trace of a flow run by its traceId.

Similar servers