Coder MCP

The Coder MCP server manages workspaces and templates, edits files, runs commands and drives Coder agent chats.

  • 17,372 ★ on the repository
  • Last commit
  • AGPL-3.0
MCP serverOfficial

Broad access

Why this level

  • The agent runs commands and edits files in workspaces with the user rights.
  • A session token for manual setup carries the full rights of the Coder user.
All reasons and checks

coder/coder

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add mcp/coder

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • The agent runs commands and edits files in workspaces with the user rights.
  • A session token for manual setup carries the full rights of the Coder user.

This is third-party code. Review the repository files before installing.

What it does

Coder is a cloud development environment platform with a built-in MCP server in two modes. The local one runs with `coder exp mcp server` over stdio and reuses the `coder login` session. The remote one runs on your deployment at `/api/experimental/mcp/http`, supports OAuth2 and is published in the MCP registry as `io.github.coder/coder`. Tools cover workspaces (list, inspect, create, build), templates and versions, files inside a workspace (read, write, edit), commands and background processes, port forwarding, apps and logs, plus Coder agent chats: create, messages, transcripts, interrupt, archive. The full list lives in the `toolsdk` package and changes between releases.

Who it is for. Administrators and developers who deployed Coder and want to manage environments from Claude Desktop, VS Code with Copilot or another MCP client.

Good fit when

  • An agent creates a workspace from a template and waits for the build to finish.
  • Tests fail in a cloud environment and the agent reads logs, runs commands and edits files right in the workspace.
  • An administrator asks the agent to list the organization workspaces and update a template to a new version.
  • The transcript of a Coder agent chat has to be read and a new message sent to it.

Not a fit when

  • There is no Coder deployment: the server manages only your own install.
  • Remote mode is wanted without the OAuth2 provider: it needs `--oauth2-provider-enable` and the `mcp-server-http` experiment.
  • The agent must not run commands in workspaces: execution tools are part of the set.

Example request

Show my Coder workspaces, create a new one from a suitable template and run the project tests in it.

MCP

Transport
stdio, http
Authentication
OAuth

Limitations

The remote part is marked experimental in its address: `/api/experimental/mcp/http`. On the Coder server it is enabled with `--oauth2-provider-enable` and the `mcp-server-http` experiment. Dynamic OAuth2 client registration is off by default. The server exposes tools only, with no resources, prompts or structured output. Clients without OAuth2 can use a session token in the `Coder-Session-Token` header: it carries the user rights, so keep it in secrets. The tool list changes between releases.

How to disable. Remove the `coder` entry from the client settings. Revoke a session token in Settings, Tokens of the Coder deployment; workspaces keep running.

FAQ

How do I run the local server?

Run `coder exp mcp server`. In the client set `command` to `coder` and `args` to `["exp", "mcp", "server"]`; the login comes from `coder login`.

What to enable for remote mode?

On the Coder server: `coder server --oauth2-provider-enable --experiments=mcp-server-http`. The same settings work as the variables `CODER_OAUTH2_PROVIDER_ENABLE=true` and `CODER_EXPERIMENTS=mcp-server-http`.

How do I connect Claude Desktop to the remote server?

Add a `coder` entry to `claude_desktop_config.json` with a `url` like `https://coder.example.com/api/experimental/mcp/http`. Sign-in happens in the browser.

What if the client has no OAuth2?

Create a token in Settings, Tokens and send it in the `Coder-Session-Token` header. The token acts with your rights.

Where is the full tool list?

In the `toolsdk` package of the repository, file `codersdk/toolsdk/toolsdk.go`. Names, descriptions and arguments change between releases.

Discussion

No questions or reviews yet.

Official

The remote MCP server of Devopness, a platform that builds infrastructure and deploys apps in your own cloud accounts

MCP serverBroad access577Repository stars
Official

mcpd starts MCP servers from one .mcpd.toml file and serves them to agents and scripts as a plain HTTP API on a local port

CLIExtended access194Repository stars

Cloudflare MCP servers

Cloudflare MCP Server

Official

A set of remote Cloudflare MCP servers: documentation, Workers, logs, Radar, browser, DNS and other account services

MCP serverBroad access4.5KRepository stars

A local agent runtime and MCP gateway with 298 tools: files, Git, processes, Chrome browser, Windows and Office

MCP serverBroad access209Repository stars

A Node.js manager for MCP servers: it starts local servers, connects remote ones and gives a client one address, with a REST API for control

MCP serverBroad access525Repository stars

An MCP server that opens a remote repository clone in an isolated container and gives the agent files, commands, Git and tasks.

MCP serverBroad access106Repository stars

README in short

The README covers the whole platform and says nothing about MCP. Modes, setup and authentication are on the `docs/mcp-server.md` page.

README badge

Report a problem