mirror of
https://github.com/coder/coder.git
synced 2026-09-21 20:51:01 +08:00
## Summary
This adds the necessary configuration to publish Coder's remote MCP
server to the official MCP Registry at registry.modelcontextprotocol.io.
## Changes
- **`server.json`**: MCP server metadata for registry discovery
- **`.github/workflows/publish-mcp-registry.yaml`**: GitHub Actions
workflow to automatically publish on release
## How it works
1. When a new Coder release is published, the workflow automatically
publishes to the MCP Registry
2. MCP clients (Claude, ChatGPT, VS Code, etc.) can discover Coder via
the registry
3. Users just need to provide their Coder deployment URL - OAuth handles
authentication automatically via RFC 7591 Dynamic Client Registration
## MCP Registry Entry
The server will be listed as `io.github.coder/coder` with:
- **Transport**: `streamable-http`
- **Endpoint**: `{coder_url}/api/experimental/mcp/http`
- **Auth**: OAuth2 (automatic via
`/.well-known/oauth-authorization-server`)
## Testing
After merge and next release, verify at:
```bash
curl "https://registry.modelcontextprotocol.io/v0.1/servers?q=io.github.coder"
```
Closes #21275
---
_Generated with `mux` • Model: `anthropic:claude-opus-4-5` • Thinking:
`medium`_
---------
Co-authored-by: Ben Potter <me@bpmct.net>
48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
"name": "io.github.coder/coder",
|
|
"title": "Coder",
|
|
"description": "Manage Coder workspaces, templates, and cloud development environments",
|
|
"repository": {
|
|
"url": "https://github.com/coder/coder",
|
|
"source": "github"
|
|
},
|
|
"version": "0.0.0-dev",
|
|
"websiteUrl": "https://coder.com/docs",
|
|
"icons": [
|
|
{
|
|
"src": "https://raw.githubusercontent.com/coder/coder/main/docs/images/logo-black.png",
|
|
"mimeType": "image/png"
|
|
}
|
|
],
|
|
"remotes": [
|
|
{
|
|
"type": "streamable-http",
|
|
"url": "{coder_url}/api/experimental/mcp/http",
|
|
"variables": {
|
|
"coder_url": {
|
|
"description": "URL of your Coder deployment (e.g., https://coder.example.com)",
|
|
"isRequired": true,
|
|
"format": "string",
|
|
"placeholder": "https://coder.example.com"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"_meta": {
|
|
"io.modelcontextprotocol.registry/publisher-provided": {
|
|
"documentation": "https://coder.com/docs/ai-coder/mcp-server",
|
|
"keywords": [
|
|
"workspaces",
|
|
"cloud-development",
|
|
"templates",
|
|
"devcontainers",
|
|
"terraform",
|
|
"self-hosted"
|
|
],
|
|
"license": "AGPL-3.0",
|
|
"publisher": "Coder"
|
|
}
|
|
}
|
|
}
|