Skip to content

MCP server

Dreeve ships with a Model Context Protocol (MCP) server. It lets the AI client you already use, such as Claude Code, Claude Desktop, Cursor or VS Code, read your activities, metrics and settings and answer questions about them.

The MCP server is available at /mcp, for example https://dreeve.example.com/mcp. It has its own key:

  1. Generate a key under Settings → Security → MCP access in the admin panel. It looks like drvm_ followed by 64 hex characters.
  2. Set it as DREEVE_MCP_KEY in your .env file and recreate your containers.

While DREEVE_MCP_KEY is not set, the MCP server rejects every request.

Replace https://dreeve.example.com with the URL of your Dreeve instance and drvm_... with your key.

Terminal window
> claude mcp add --transport http dreeve https://dreeve.example.com/mcp --header "Authorization: Bearer drvm_..."