locally mcp

Preview

During Public Preview you can use the Team plan for free, and get an early-adopter discount at GA. Sign in

locally mcp

This page is part of the CLI Reference and is generated from the CLI's own help output, so it matches what locally mcp --help prints.

For more information see MCP Server and Using Locally with AI Agents.

locally mcp

Launch the Locally MCP server.

Launches the Locally MCP server. Subcommands register the server into MCP clients.

Usage

locally mcp [flags]
  locally mcp [command]

Flags

-h, --help[=true|false]   help for mcp

Subcommands

locally mcp install

Register the Locally MCP server in a client's config.

Registers the Locally MCP server, as "locally", in an MCP client's configuration,
pointing at this binary.

Supported clients: claude-desktop, claude-code, cursor, opencode, windsurf,
copilot-vscode, copilot-cli, codex-cli, gemini-cli.

Fails if a "locally" entry already exists, unless you pass --force.

Examples:
locally mcp install claude-desktop
  locally mcp install claude-code
  locally mcp install codex-cli --force

Usage

locally mcp install <client> [flags]

Flags

--force[=true|false]   Overwrite an existing locally entry
  -h, --help[=true|false]    help for install

locally mcp list

List supported MCP clients and whether `locally` is registered.

Lists the supported MCP clients, whether each is installed, and whether the
Locally MCP server is registered in it.

Examples:
locally mcp list

Usage

locally mcp list [flags]

Flags

-h, --help[=true|false]   help for list

locally mcp uninstall

Remove the Locally MCP server from a client's config.

Removes the Locally MCP server from an MCP client's configuration.

Fails if there is no "locally" entry, unless you pass --force.

Examples:
locally mcp uninstall claude-desktop
  locally mcp uninstall claude-code --force

Usage

locally mcp uninstall <client> [flags]

Flags

--force[=true|false]   Succeed even if no locally entry is present
  -h, --help[=true|false]    help for uninstall
Preview

During Public Preview you can use the Team plan for free, and get an early-adopter discount at GA. Sign in

A local cloud for you and your AI agents.

Your Azure infrastructure, running on your machine. Deploy in seconds, break things freely, and ship to Azure when you're ready.