# Claude, Cursor and VS Code

Source: https://docs.coderhelm.com/mcp

Add CoderHelm to Claude, Cursor, VS Code or any other MCP app, sign in once, and see runs, start and retry them, read or ask for reviews, and search your team's knowledge from where you already work.

CoderHelm is an MCP server. Add it to an AI app that supports remote MCP servers, sign in with your CoderHelm account, and the app can see your team's runs and reviews, start work from a ticket, retry a run that stopped, ask the reviewer to look at a pull request, and look up what your team knows the way Chat does: code, tickets, pull requests, runs, findings, AWS resources and your knowledge bases.

The app acts as you. It can do only what your role in CoderHelm allows, in the team you choose when you sign in.

## The address to add [#the-address-to-add]

| Where CoderHelm runs | Address |
| --- | --- |
| CoderHelm cloud | `https://api.coderhelm.com/mcp` |
| Your own AWS account | `https://<your CoderHelm address>/mcp`, for example `https://coderhelm.example.com/mcp` |

The same address is on the **AI tools** page in CoderHelm (beside **Knowledge**), with a copy button, a one step setup for each tool, example questions, the scopes the server offers and the tools you connected.

## Add it to your app [#add-it-to-your-app]

### Claude [#claude]

1. In Claude, open **Settings**, then **Connectors**, and choose **Add custom connector**.
2. Name it CoderHelm and paste the address.
3. Choose **Connect**. A CoderHelm page opens in your browser.

### Claude Code [#claude-code]

```bash
claude mcp add --transport http coderhelm https://api.coderhelm.com/mcp
```

Then run `/mcp` in Claude Code and choose CoderHelm to sign in.

### Cursor [#cursor]

Add CoderHelm to `~/.cursor/mcp.json` (or `.cursor/mcp.json` in a project):

```json
{
  "mcpServers": {
    "coderhelm": { "url": "https://api.coderhelm.com/mcp" }
  }
}
```

Cursor shows CoderHelm under **Settings**, **MCP**. Choose **Connect** to sign in.

### VS Code [#vs-code]

Add CoderHelm to `.vscode/mcp.json`, or run **MCP: Add Server** from the command palette and choose HTTP:

```json
{
  "servers": {
    "coderhelm": { "type": "http", "url": "https://api.coderhelm.com/mcp" }
  }
}
```

VS Code asks you to sign in the first time a chat uses CoderHelm.

### Other apps [#other-apps]

Any app that supports remote MCP servers over Streamable HTTP with OAuth sign-in works. It finds how to sign in by itself: there is no key or client ID to copy.

On a self-hosted install, use your own address in each of these instead of `https://api.coderhelm.com/mcp`.

## Signing in [#signing-in]

When you connect, the app opens a CoderHelm page in your browser. Sign in if you aren't already, then check:

- **Which app is asking.** The app chooses its own name, so check the address it will send you back to (for Claude, `claude.ai`). If you didn't just add CoderHelm to an app, choose **Don't allow**.
- **What it may do.** Seeing runs and reviews is always included. Starting and retrying runs and asking for reviews is a separate choice: leave it off and the app can only read. Each of the team's bases is a choice in plain words: Code and Work are ticked, Infrastructure, Logs and Security only when you tick them, and Knowledge when the app asks for it.

The app gets access for the team you are signed in to. To connect it to another team, switch teams in CoderHelm first.

### Readers without an account [#readers-without-an-account]

An admin can turn on **Let people connect AI tools as readers** on the **Knowledge** page. Then someone in the team's GitHub organization who has no CoderHelm account chooses **Continue with GitHub** on the consent page and connects as a reader: they read only the bases open to readers, change nothing, and take no seat. Code follows each person's own GitHub access: a reader sees code only from the repositories their GitHub account can read.

## The team's bases [#the-teams-bases]

Every team has six knowledge bases with nothing to set up. Each has its own readers, chosen on the **Knowledge** page, and its own scope:

| Base | What it holds | Scope | Ticked at first |
| --- | --- | --- | --- |
| Code | The team's repositories: files, code search, the code graph and history | `code:read` | Yes |
| Work | Tickets, pull requests, runs, reviews and plans | `work:read` | Yes |
| Infrastructure | AWS accounts and resources, where each is defined in Terraform, CDK or CloudFormation, and pending updates | `infra:read` | No |
| Logs | Log findings and alerts, and the repository and service each belongs to | `logs:read` | No |
| Security | Dependency advisories and CVEs, infrastructure findings and quarantined tests | `security:read` | No |
| Knowledge | The knowledge bases your team made: Confluence, Notion, Google Drive, uploads and more | `knowledge:read` | When asked |

An app reads a base only when three things agree: your CoderHelm role opens what the base holds, the base is open to you, and the connection holds its scope. Results that aren't open to you are counted, never shown.

## What the app can do [#what-the-app-can-do]

| Tool | What it does | Needs |
| --- | --- | --- |
| `list_runs` | Lists runs, newest first. Filter by status, repository and start time. | Reading |
| `get_run` | One run in full: its steps, pull requests, what it's waiting on, its error and its latest notes. | Reading |
| `start_run` | Starts a run from a GitHub issue (its address, or `owner/name#42`), from a Jira key CoderHelm has seen, or from a task in words with its repository. | Starting runs |
| `retry_run` | Starts a stopped run again, the same as **Retry** on the run's page. | Starting runs |
| `list_reviews` | Lists the reviewer's reviews, newest first. | Reading |
| `get_review` | One review with its findings, by its id or by pull request address. | Reading |
| `request_review` | Asks the reviewer to review a pull request now, the same as **Re-review**. | Starting runs |
| `search` | Searches every base you and the connection can read, or one with `base` (`code`, `work`, `infra`, `logs`, `security`, `team`). Each result has an id, title, link and the base it came from. | A base's scope |
| `fetch` | Reads one search result in full by its id, checking access again and reading it again now. Takes `base` too. | The result's base |
| `list_bases` | The six bases, each with what it holds, counts, when it was last updated and whether you and this connection may read it. | Reading |
| `find_tickets`, `find_pull_requests`, `find_runs` | Tickets, pull requests and runs, with status, links and dates. | `work:read` |
| `find_findings` | Security and infrastructure findings, quarantined tests, reviews, alerts, log findings and plans. | The kind's base |
| `infra_resources` | AWS resources: name, type, account, region, where each is defined in code and what AWS has pending for it. | `infra:read` |
| `code_search`, `read_file`, `code_symbol`, `history` | Search code, read lines at a commit, ask the code graph, and read a repository's history. | `code:read` |
| `map_overview`, `map_find`, `map_part`, `map_screen`, `map_file`, `map_flow` | Read the team's [app map](/concepts/app-map): its parts, a search of it, one part with what it connects to, everything behind a screen, one file, and one journey step by step. Each result links to the App map page. | `code:read` |
| `map_impact` | What changing one file, endpoint (`POST /slips/:id/bookings`) or part reaches: its callers in other repositories, the screens and journeys that use it, the outside services and cloud resources behind it and the tables it touches, each with the file and line it rests on. The server's instructions tell connected agents to call it before changing shared code or an endpoint. | `code:read` |
| `knowledge_list` | Lists the knowledge bases you can read in Chat. | Searching knowledge |
| `knowledge_search` | Finds the best passages for a question in those knowledge bases (or one of them), each with its source's title, link, last updated time and score. | Searching knowledge |

The reading and knowledge tools are marked read only, so apps that ask before acting know they change nothing. The knowledge tools read exactly what Chat would show you: knowledge bases your role reaches and that are open to you by name, and search tools that sign each person in are searched as you.

A Jira ticket reaches CoderHelm from Jira, so `start_run` with a Jira key works for tickets CoderHelm has received before. For a new Jira ticket, start it from Jira the way your team does, or give `start_run` a task and a repository.

## What keeps it safe [#what-keeps-it-safe]

- **Your role decides.** Every call is checked exactly like the same click in the dashboard: your role, a custom role's choices, and your team's two-factor rule. A viewer's app can only read, whatever it was allowed.
- **Changes end access.** If you leave the team, your role changes or your two-factor sign-in is reset, the app stops working until you connect it again.
- **Short-lived access.** The app's access lasts an hour and is renewed while you use it. A renewal that is used twice ends the connection.
- **Every call is in the log.** Each call an app makes is written to your team's log of access changes before it runs, with the app's name.
- **Remove it any time.** **AI tools**, and **Settings**, **Connected AI apps**, list the apps you connected. **Remove** stops an app at once, everywhere it's signed in. Admins see and remove everyone's.

## For app builders [#for-app-builders]

CoderHelm follows the MCP authorization spec:

- Protected resource metadata: `/.well-known/oauth-protected-resource/mcp`
- Authorization server metadata: `/.well-known/oauth-authorization-server`
- Client ID Metadata Documents: an `https` address as `client_id` is read and checked (its `client_id` must be its own address, and the redirect must be one it lists). Dynamic client registration at `/oauth/register` still works. Clients are public: PKCE with `S256` is required and there is no client secret.
- Scopes: `runs:read`, `runs:write`, `knowledge:read`, `code:read`, `work:read`, `infra:read`, `logs:read` and `security:read`. A first sign-in is asked for `runs:read knowledge:read code:read work:read`; a tool that needs another scope answers `403` with `insufficient_scope`, so a client can ask again.
- Access tokens last an hour. Refresh tokens last 30 days from their last use and are replaced on every use.
- Tokens are revoked at `/oauth/revoke`.
- Programs that sign in without a person, such as Amazon Bedrock AgentCore Gateway, use a **knowledge key** made on **Knowledge**, **Use in Bedrock**. It holds only `knowledge:read`, and works as an API key (`Authorization: Bearer chkb_...` or `X-Api-Key`) or as OAuth client credentials (`grant_type=client_credentials` at `/oauth/token`, with `client_secret_basic` or `client_secret_post`). See [Connect CoderHelm knowledge to Amazon Bedrock](/bedrock).

The server is stateless: every message is a `POST /mcp` answered with JSON, and there is no event stream.
