Maxxing Code
Documentation · MCPGetting startedModels and providersInstruction filesPermissionsToolsSessionsSkills, commands, sub-agentsMCPScriptingACPConfigurationArchitectureDesign decisions

MCP

MCP servers give the agent more tools (a database, a browser, an issue tracker…). Maxxing Code is an MCP client for local servers (stdio) and remote ones (streamable HTTP, and the older SSE for an address that ends in /sse).

Adding servers

maxxing-code mcp add docs https://mcp.example.com/mcp          # a remote server
maxxing-code mcp add files -- npx -y @modelcontextprotocol/server-filesystem ~/notes   # a local command
maxxing-code mcp list                                          # connects to each and says what it found
maxxing-code mcp remove docs

A remote server that asks you to sign in (OAuth) says sign-in needed in the list:

maxxing-code mcp login docs      # opens the sign-in page, waits for the browser to come back
maxxing-code mcp logout docs

The browser comes back to http://127.0.0.1:38476 on the machine where the command runs, so run it on the machine that has the browser. What the sign-in gives is kept in ~/.maxxing-code/mcp-auth.json, readable by you only, and renewed without asking.

Declaring servers by hand

For you, in every project: ~/.maxxing-code/settings.json

{
  "mcpServers": {
    "postgres": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://localhost/shop"] },
    "docs": { "url": "https://mcp.example.com/mcp", "headers": { "Authorization": "Bearer …" } }
  }
}

For a project, shared with the team: .mcp.json at its root (the format other coding agents use), or mcpServers in .maxxing/settings.json.

{ "mcpServers": { "playwright": { "command": "npx", "args": ["-y", "@playwright/mcp"] } } }

env adds environment variables to a local server.

Trust

A server declared by a project is a program that the project asks to run on your machine. The first time you start Maxxing Code in such a folder, it shows the commands and asks whether you trust the folder. Until you do, those servers are not started (non-interactive runs say so on stderr). Servers of your own settings start without asking. The same question covers the allow rules written in the project's files. Only your own settings say which folders are trusted: a project cannot declare itself trusted.

Using the tools

Each tool appears as mcp__<server>__<tool>. They ask for permission like any tool that is not read-only; allow a whole server with the rule mcp__postgres, or one tool with mcp__postgres__query. /mcp shows the servers, their state and their number of tools. A server that fails to start is reported and skipped.

Not yet: OAuth sign-in for remote servers, MCP prompts and resources.

Edit this page on GitHub