# Connect an agent (https://notert.io/docs/mcp/connect-an-agent)

Last updated 2026-11-27

Notert runs a remote [Model Context Protocol](https://modelcontextprotocol.io) server, so an AI agent or a coding tool can search, read and update a workspace's requests, conversations, changelog and help center. Each connection acts as the person who signed in, in the one workspace they picked. Connecting from Claude, ChatGPT and the other apps, and what the team sees, is in [connect an AI client](/support/workspace/connect-an-ai-client). This page is for setting it up from your editor, your terminal or your own agent.

Connecting is included on every plan, Free too. See the [plans](/#pricing).

## The server [#the-server]

| What        | Value                                                    |
| ----------- | -------------------------------------------------------- |
| Address     | `https://app.notert.io/api/mcp`                          |
| Transport   | Streamable HTTP, stateless: any request may go anywhere  |
| Sign-in     | OAuth 2.1 with PKCE, through the person's Notert account |
| One request | One JSON-RPC message. A batch is refused with `400`      |
| Methods     | `POST` only. `GET` and `DELETE` answer `405`             |

Each client's steps on <Key to="settings/api">MCP & API</Key> show the address too, and <Key>Copy server URL</Key> beside Connect an AI client copies it. There is no API key to paste: the client signs the person in, and they pick the workspace and allow it.

<Screenshot name="mcp-sign-in" alt="Notert's sign-in page for Claude, marked Verified, with Brightline picked as the workspace and the parts of it Claude may see and change, over Cancel and Allow" />

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

### Claude Code [#claude-code]

```sh
claude mcp add --transport http --scope user notert https://app.notert.io/api/mcp
```

Then run `/mcp` in Claude Code and sign in. `--scope user` makes Notert available in every project; leave it out to add it to the current project alone.

### Codex [#codex]

```sh
codex mcp add notert --url https://app.notert.io/api/mcp
```

Codex opens Notert in your browser to sign in. If it doesn't, run `codex mcp login notert`. The server then works in the Codex CLI and its IDE extension.

### Cursor [#cursor]

In `.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "notert": { "url": "https://app.notert.io/api/mcp" }
  }
}
```

Then open Cursor's Settings, then MCP, and press Connect next to Notert.

### VS Code [#vs-code]

In `.vscode/mcp.json`, for GitHub Copilot's agent:

```json
{
  "servers": {
    "notert": { "type": "http", "url": "https://app.notert.io/api/mcp" }
  }
}
```

Then press Start above the Notert entry and allow the sign-in.

### Windsurf [#windsurf]

In `mcp_config.json`:

```json
{
  "mcpServers": {
    "notert": { "serverUrl": "https://app.notert.io/api/mcp" }
  }
}
```

### Any other client [#any-other-client]

A client that supports remote MCP servers over HTTP with OAuth connects with the address alone. Where it takes a file:

```json
{
  "mcpServers": {
    "notert": { "type": "http", "url": "https://app.notert.io/api/mcp" }
  }
}
```

## How a client signs in [#how-a-client-signs-in]

Your client does this for you. It matters if you're building your own.

<Steps>
1. A call without a token is answered `401`, with a `WWW-Authenticate` header naming the server's protected-resource metadata, at `https://app.notert.io/.well-known/oauth-protected-resource/api/mcp`.
2. That document names the authorization server, `https://app.notert.io/api/auth`, whose metadata is at `https://app.notert.io/.well-known/oauth-authorization-server/api/auth`, and the scopes the server uses.
3. The client identifies itself by a Client ID Metadata Document at an `https` address of its own, or registers as a public client at the registration endpoint the metadata names. Either way it proves its code with PKCE (S256).
4. The person signs in to Notert, picks the workspace and allows the client. The client gets an access token for the resource `https://app.notert.io/api/mcp`, and a refresh token when it asks for `offline_access`.
</Steps>

Ask for the scopes the tools you call need: [Tools and scopes](/docs/mcp/tools-and-scopes) lists them. A client that later calls a tool its token doesn't cover is answered `403` with `insufficient_scope` and the scope it needs, so it can ask the person again without a new connection.

<Note>
Notert shows a client as Verified when it signs in through its maker's own website, such as Claude
or ChatGPT on the web. An editor or a command-line tool that signs in through a local address, as
Claude Code, Cursor and VS Code can, shows as Unverified under the name it gives itself. That's
expected: allow it if you started the connection from it.
</Note>

## Call it by hand [#call-it-by-hand]

Once your client holds an access token, each call is one `POST` of one JSON-RPC message, with the token as a Bearer token. Ask for both JSON and an event stream, as the MCP specification says, and read whichever comes back: either way it carries one result. No session is kept, so there's no session id to send.

```sh
curl https://app.notert.io/api/mcp \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "search_requests",
      "arguments": { "query": "dark mode", "statuses": ["planned"] }
    }
  }'
```

`tools/list` answers every tool the person may call, leaving out those their role or a read-only workspace never allows, each with its `inputSchema` and `outputSchema`, and a tool's result carries its answer as `structuredContent`, shaped by that schema. A tool refused for a reason the model can act on answers a result with `isError: true` and a sentence, rather than an HTTP error, so hand the sentence to the model:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "This workspace's owners let AI clients only read, so nothing can be changed through one. The person can make the change in Notert."
      }
    ],
    "isError": true
  }
}
```

How each HTTP refusal and limit answers is in [Tools and scopes](/docs/mcp/tools-and-scopes#refusals-and-limits).

## If it doesn't connect [#if-it-doesnt-connect]

| What you see                                                | What to do                                                                                                                  |
| ----------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| The client keeps asking you to sign in                      | The connection was ended in Notert, or the person left the workspace. Remove the server from the client and add it again    |
| "This workspace's owners turned off connecting AI clients." | An owner turns AI clients back on under <Key to="settings/api">MCP & API</Key>                                              |
| "This workspace asks for a second factor."                  | Add a second factor to your Notert account, then connect again                                                              |
| A write answers that AI clients may only read               | The workspace's owners let AI clients only read. Make the change in Notert, or ask an owner                                 |
| Your workspace isn't offered on the sign-in page            | Sign in with the account that's a member of it                                                                              |
| A tool these docs list is missing, or reads as older        | Your client keeps the list of tools it read when it connected. Remove the server and add it again, then start a new session |
| `405` from a `GET`                                          | The server keeps no stream open. Send each message as a `POST`                                                              |

## Try it locally [#try-it-locally]

[MCP Inspector](https://github.com/modelcontextprotocol/inspector) connects and signs in from your browser:

```sh
npx @modelcontextprotocol/inspector
```

Choose Streamable HTTP, enter the server's address and press Connect. Then list the tools and call `list_boards` to see your workspace's boards.