# basemodo mcp

Serve the local MCP over stdio, for an agent on this machine.

```sh
basemodo mcp [OPTIONS]
```

Its tools are this CLI's commands, signed in with this CLI's login. Each client adds it its own way: https://basemodo.com/docs/mcp has a page for each one (Claude Code, Claude Desktop, Cursor, VS Code, Codex, Windsurf, Gemini CLI and more) with the line to copy.

Like every command, it also takes the [global options](https://basemodo.com/docs/cli#global-options) `--json` and `--api-url`.

## Examples

Add Basemodo to Claude Code:

```sh
claude mcp add --scope user basemodo -- basemodo mcp
```

Add Basemodo to Codex:

```sh
codex mcp add basemodo -- basemodo mcp
```

## From an agent

Terminal only: it is the MCP.