-
Notifications
You must be signed in to change notification settings - Fork 874
docs: clarify details around MCP #17220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is a hotfix and has been automatically approved.
- ✅ Base is main or release branch
- ✅ Has hotfix label
- ✅ Head is from coder/coder
- ✅ Less than 100 lines
From there, the agent can run the MCP server with the `coder exp mcp server` command. You will need to set the `CODER_MCP_APP_STATUS_SLUG` environment variable to match the slug in the coder_app resource. | ||
|
||
## Example | ||
|
||
Inside a Coder workspace, run the following commands: | ||
|
||
```sh | ||
coder login # be sure to be authenticated with the Coder CLI | ||
export CODER_MCP_APP_STATUS_SLUG=my-agent # needs to be the same as the slug in the coder_app resource | ||
|
||
# Use your own agent's logic and syntax here: | ||
any-custom-agent configure-mcp --name "coder" --command "coder exp mcp server" | ||
``` | ||
|
||
This will start the MCP server and report activity back to the Coder control plane on behalf of the coder_app resource. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we're mentioning the app status slug, we should also add a note about also needing to specify CODER_AGENT_TOKEN
for app status reporting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops! Will clarify
No description provided.