Docs/Reference6 min read

Agents and MCP

Give coding agents your team’s decisions, holds and sprint before they change code. Throughpoint hosts an MCP server for Cursor, Claude Code and other MCP clients, and gives the same answers over REST.

01

Create a key

An admin opens Settings → API, chooses Create key, names it after the person or agent that will use it, and ticks only context:read (Read context, for agents and MCP). A key with only that scope can read your team’s context and nothing else: it can’t send events, change rules or manage webhooks. The key is shown once.

Every answer is scoped to the key’s team. Give each person or agent its own key, so you can revoke one without breaking the others.

02

The server

Throughpoint hosts the MCP server, so there’s nothing to install. Point your client at this URL and send the key as a Bearer token. It speaks Streamable HTTP, without sessions.

Server URL
https://api.throughpoint.dev/mcp
03

Cursor

Add Throughpoint to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json to use it in every project.

.cursor/mcp.json
{
  "mcpServers": {
    "throughpoint": {
      "url": "https://api.throughpoint.dev/mcp",
      "headers": { "Authorization": "Bearer tp_live_…" }
    }
  }
}
NoteIf the project’s .cursor folder is in git, use the file in your home folder instead, so the key isn’t committed.
04

Claude Code

Add the server once from a terminal, then run /mcp in Claude Code to check it’s connected.

Terminal
claude mcp add --transport http throughpoint https://api.throughpoint.dev/mcp --header "Authorization: Bearer tp_live_…"
05

Other MCP clients

Any client that supports Streamable HTTP and custom headers works: give it the server URL and an Authorization: Bearer header with your key. Requests are POSTs that accept application/json and text/event-stream. Newer and older MCP clients are both supported, including the 2025 initialize handshake.

To check a key without a client, send an initialize request. A reply with serverInfo means the key, its scope and your plan are all in order.

Terminal
curl https://api.throughpoint.dev/mcp \
  -H "Authorization: Bearer $TP_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"0"}}}'
06

Tools

Every tool only reads. A ticket is its key, like TPS-1, or a pull request, like acme/api#7. Results are JSON. A ticket or person that isn’t found comes back as a tool error that says so.

get_ticket_contextticket_ref. The ticket’s status, assignee and sprint, the decisions in force on it, its holds (decisions that say to wait until a condition is met), what blocks it, and its pull requests with whether an agent wrote them. Call it before starting work on a ticket.
find_decisionsticket, query, status and limit, all optional. Decisions that name a ticket, the closest in meaning to query, or the most recent. status is active (the default), closed or all; limit is 1 to 25, 10 by default.
get_current_sprintNo input. The sprint running now and up to 200 of its tickets, with status and assignee.
resolve_referencephrase. What “the auth thing” or “Ada’s PR” refers to: a ticket, pull request, person or meeting, with a probability and a band. Act on high; confirm medium or low with a person. ref is null when nothing matches.
get_personlogin_or_email. A team member’s role, their logins in each connected tool, their open tickets in the current sprint and their open commitments, with due dates.
check_before_changeticket_ref and intended_change. Whether the change goes against a decision the team made. See below.
Notequery ranks decisions closest first rather than filtering them, so the last results may be unrelated. When search by meaning isn’t available, it returns decisions whose summary contains the text you give it.
07

Check before changing code

Describe the change in a sentence or two, up to 500 characters. Throughpoint compares it with the decisions in force on the ticket and the tickets linked to it, its holds, and up to 5 more decisions close in meaning, and returns a verdict:

conflictsThe change goes against a decision in force. Stop and ask a person.
relatedIt touches decisions without going against them.
clearNothing in force bears on it.
unknownThe check couldn’t run. Read the holds yourself.
A project rule, in .cursor/rules or CLAUDE.md
Before editing code for a ticket, call get_ticket_context and check_before_change.
If the verdict is conflicts, stop and ask me before changing anything.
If it's unknown, read the holds yourself.
NoteEvery result lists the ticket’s holds. The conflicts field lists each decision the change relates to, contradictions first, with the relationship, a one-line reason and a confidence from 0 to 1. Checks are limited to 20 calls a minute per API key; over that, the tool says how many seconds to wait.
08

REST equivalents

For scripts and agents that don’t speak MCP, every tool has an endpoint with the same answers, the same key and the same scope. The API reference has every field.

get_ticket_contextGET /v1/tickets/{ref}/context
find_decisionsGET /v1/decisions?ticket=&q=&status=&limit=
get_current_sprintGET /v1/sprint
resolve_referenceGET /v1/resolve?phrase=
get_personGET /v1/people/{login-or-email}
check_before_changePOST /v1/check
POST /v1/check
curl -X POST https://api.throughpoint.dev/v1/check \
  -H "Authorization: Bearer $TP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ticket_ref":"TPS-1","intended_change":"Ship the token refresh behind a feature flag today"}'
NoteThe search text is query in MCP and q in REST. URL-encode refs in the path: acme%2Fapi%237 for acme/api#7. POST /v1/check only reads, so it needs no Idempotency-Key. A ticket or person that isn’t found returns 404.
09

Plans and limits

MCP and the REST endpoints are on the Team and Enterprise plans, and during the trial. On Starter, every call returns 402 with the code plan_required. If a Team plan payment hasn’t gone through, they’re paused with the same code until it does.

Each key may make 60 requests a minute, across /mcp and /v1 together. Every MCP request counts, including the handshake and listing the tools, so a client uses about 3 requests before its first tool call. check_before_change and POST /v1/check share a further 20 calls a minute per key.

401 unauthorizedThe key is missing, invalid or revoked.
403 insufficient_scopeThe key doesn’t have context:read.
402 plan_requiredYour plan doesn’t include agent context, or payment is due.
429 rate_limitedToo many requests. Retry-After says how many seconds to wait.
NoteOn /mcp these come back as HTTP errors before any tool runs, not as tool results, with the same body as the rest of the API: an error with a code, a message and a request_id. A 401 also carries WWW-Authenticate: Bearer.
10

Troubleshooting

If your client reports an authorization or OAuth error, or asks you to sign in, check the key first. A wrong or revoked key gets 401 with WWW-Authenticate: Bearer, and some MCP clients show that as an OAuth problem rather than a bad key. Make sure the key is pasted in full after Bearer, hasn’t been revoked under Settings → API, and has context:read (Read context). Throughpoint doesn’t use OAuth for MCP; the key is all a client needs.

11

What’s never returned

Answers are built from Throughpoint’s own records: its one-line summaries of decisions and commitments, conditions in its own words, ticket and pull request titles, statuses, names and links.

Agents never get the text of captured messages, threads or comments, meeting transcripts, or the quotes kept with decisions and commitments. A decision links back to where it was made, so a person with access can read it there.

NoteAnswers draw on decisions Throughpoint has already captured. People who opt out, on the Privacy page or with /throughpoint ignore-me, aren’t read in Slack or tool comments from then on; it doesn’t remove what was captured before, or what they said in meetings.
← PreviousWebhooksNext →Approval rules
Was this page helpful? · Updated Oct 2, 2026