gptme-mcp-server

gptme-mcp-server#

Expose gptme tools as an MCP server over stdio.

Connect this server to Claude Desktop, Cursor, or any MCP-compatible client. For a coding agent such as Claude Code, use --profile agent.

Claude Desktop config (claude_desktop_config.json; on macOS in
~/Library/Application Support/Claude/):
{
“mcpServers”: {
“gptme”: {
“command”: “gptme-mcp-server”,
“args”: [”–tools”, “shell,ipython,save,read”]
}
}
}

Usage

gptme-mcp-server [OPTIONS]

Options

--profile <profile>#

Tool preset. ‘default’ (shell,ipython,save,append,read) suits clients without a shell, like Claude Desktop. ‘agent’ (ask_model,search_chats) suits coding agents like Claude Code, Codex and Cursor, which already have their own shell and file tools.

Options:

default | agent

--tools <TOOLS>#

Comma-separated list of tools to expose; overrides –profile.

--workspace <DIR>#

Working directory for tool execution. Defaults to current directory.

--log-level <log_level>#

Log level for the MCP server process (logs go to stderr).

Options:

DEBUG | INFO | WARNING | ERROR