Coder — Claude Code MCP server: features and setup
Connect an AI coding client to Coder to manage workspaces, templates, and cloud development environments.
Open on GitHubWhat Coder does
Coder defines cloud development environments with Terraform and provides workspaces and templates to manage. Its MCP server connects the platform to Claude Code, Codex, and the other clients listed as supported.
To connect, put your Coder server hostname in the client setup command. A production Coder deployment needs PostgreSQL version 13 or newer and an external access URL, so plan for those requirements when preparing the server.
What it helps with
- manage Coder workspaces from an AI client
- work with development environment templates
- connect a cloud development environment to Claude Code
- set up Coder integration with Codex
Example prompts for the agent
- Show me the Coder workspaces and help me choose one.
- Help me explore the development environment templates in Coder.
- Connect to Coder and check which development environments are available.
How to install Coder
1Template address
The server address is a template: replace {…} or […] with your own values
2Platform CLI: remote server
claude mcp add --transport http coder https://{coder_hostname}/api/experimental/mcp/http1Template address
The server address is a template: replace {…} or […] with your own values
2Platform CLI: remote server
codex mcp add coder --url https://{coder_hostname}/api/experimental/mcp/http1Template address
The server address is a template: replace {…} or […] with your own values
2Config file
{
"mcpServers": {
"coder": {
"url": "https://{coder_hostname}/api/experimental/mcp/http"
}
}
}1Template address
The server address is a template: replace {…} or […] with your own values
2Config file
{
"servers": {
"coder": {
"type": "http",
"url": "https://{coder_hostname}/api/experimental/mcp/http"
}
}
}1Template address
The server address is a template: replace {…} or […] with your own values
2Platform CLI: remote server
gemini mcp add -t http coder https://{coder_hostname}/api/experimental/mcp/httpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Coder
How do I install Coder in Claude Code?
Run claude mcp add --transport http coder https://{coder_hostname}/api/experimental/mcp/http, replacing {coder_hostname} with your Coder server hostname.
What does the Coder MCP server do?
It connects an AI client to Coder to manage workspaces, templates, and cloud development environments.
What does a production Coder deployment require?
It needs PostgreSQL version 13 or newer and an external access URL.