Skip to content

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

Merged
merged 4 commits into from
Apr 2, 2025
Merged

docs: clarify details around MCP #17220

merged 4 commits into from
Apr 2, 2025

Conversation

bpmct
Copy link
Member

@bpmct bpmct commented Apr 2, 2025

No description provided.

@bpmct bpmct added the hotfix PRs only. Harmless small change. Only humans may set this. label Apr 2, 2025
@bpmct bpmct requested a review from stirby April 2, 2025 12:29
@bpmct bpmct enabled auto-merge (squash) April 2, 2025 12:39
Copy link

@cdr-bot cdr-bot bot left a 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

Comment on lines +26 to +40
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.
Copy link
Member

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops! Will clarify

@bpmct bpmct merged commit 13997ca into main Apr 2, 2025
32 of 33 checks passed
@bpmct bpmct deleted the ai-docs-update branch April 2, 2025 12:48
@github-actions github-actions bot locked and limited conversation to collaborators Apr 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
hotfix PRs only. Harmless small change. Only humans may set this.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants