Skip to the page
Docs articles

Connect an agent

The MCP server's address, how a client signs in to it, and the setup for Claude Code, Codex, Cursor, VS Code, Windsurf and any other client.

Last updated

View as Markdown
On this page

Notert runs a remote Model Context Protocol 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. 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.

The server

WhatValue
Addresshttps://app.notert.io/api/mcp
TransportStreamable HTTP, stateless: any request may go anywhere
Sign-inOAuth 2.1 with PKCE, through the person's Notert account
One requestOne JSON-RPC message. A batch is refused with 400
MethodsPOST only. GET and DELETE answer 405

Each client's steps on MCP & API (opens Notert in a new tab) show the address too, and Copy server URL 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.

Add it to your client

Claude Code

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 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

In .cursor/mcp.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

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

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

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

Windsurf

In mcp_config.json:

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

Any other client

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

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

How a client signs in

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

  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.

Ask for the scopes the tools you call need: 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.

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.

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:

{
  "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.

If it doesn't connect

What you seeWhat to do
The client keeps asking you to sign inThe 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 MCP & API (opens Notert in a new tab)
"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 readThe 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 pageSign in with the account that's a member of it
A tool these docs list is missing, or reads as olderYour 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 GETThe server keeps no stream open. Send each message as a POST

Try it locally

MCP Inspector connects and signs in from your browser:

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.

Start here

Up and down arrowsto moveEnterto openEscto close