Skip to content
gist.link ↗

MCP overview

GistLink MCP is a hosted Model Context Protocol server that lets AI assistants and agents read and change data across the GistLink suite — CRM, Support, Pay, Mail, Calendar and the rest — using the same GraphQL APIs and the same permissions as everything else on this site.

https://mcp.gist.link/mcp

Point any MCP client that supports remote Streamable HTTP servers at that URL. Interactive clients (Claude, ChatGPT, Cursor, VS Code, Claude Code) sign you in with a one-click OAuth flow; programmatic agents send an IAM token. There is nothing to install.

Connect a client

Setup for Claude, ChatGPT, Cursor, VS Code, Claude Code and the OpenAI / Anthropic APIs. Connect →

Authentication

One-click OAuth for people, IAM tokens for agents, and how per-app tokens are derived. Authentication →

Tools

Discovery tools, per-operation tools, ?apps= and ?readonly=1. Tools →

Security

Least privilege, prompt injection, approvals and revocation. Security →

Thing Production Local development
MCP endpoint (Streamable HTTP) https://mcp.gist.link/mcp http://localhost:8028/mcp
Protected-resource metadata https://mcp.gist.link/.well-known/oauth-protected-resource http://localhost:8028/.well-known/oauth-protected-resource
Authorization server (issuer) https://auth.api.gist.link http://localhost:8001
Sign-in & consent screens https://auth.gist.link http://localhost:3001

The server speaks MCP protocol version 2025-06-18 (and accepts 2025-03-26). It is stateless: every POST /mcp carries a self-contained JSON-RPC 2.0 message (or batch) and is answered with application/json. GET and DELETE on /mcp return 405 — there is no server-initiated event stream.

The MCP server is a thin, stateless gateway. It holds no data of its own and no long-lived credentials; every tool call becomes an ordinary GraphQL request to the product API that owns the data.

┌───────────────────────────────┐
│ AI client │ Claude · ChatGPT · Cursor · VS Code
│ (or your agent) │ Claude Code · OpenAI / Anthropic APIs
└──────────────┬────────────────┘
│ JSON-RPC 2.0 over HTTPS
│ Authorization: Bearer <token, aud=mcp>
▼
┌───────────────────────────────┐ token exchange (RFC 8693) ┌──────────────────────┐
│ mcp.gist.link/mcp │ ──────────────────────────▶ │ auth.api.gist.link │
│ · lists tools │ ◀────────────────────────── │ /oauth/token │
│ · maps tool → GraphQL op │ short-lived token, aud=crm └──────────────────────┘
└──────────────┬────────────────┘
│ POST /graphql
│ Authorization: Bearer <token, aud=crm>
▼
┌───────────────────────────────┐
│ crm.api.gist.link/graphql │ support · pay · mail · calendar · …
│ (the product API decides) │
└───────────────────────────────┘
  1. Your client connects with an access token whose audience is mcp — obtained either through the OAuth flow (a person) or by exchanging an IAM key (a machine).
  2. When a tool needs, say, CRM data, the MCP server exchanges that token at the auth service for a short-lived token with aud=crm. The exchange re-checks your account, organization membership, blocked apps and IAM grants at that moment, and can only ever narrow access — never widen it.
  3. The MCP server calls the CRM GraphQL API with the derived token and returns the result to the model as a tool result.

An aud=mcp token is a gateway credential: it is accepted only by the MCP server, never by a product API directly. Everything the assistant does runs as you (OAuth) or as the IAM user (agents), inside exactly one organization, and every request is authorized again by the product API that serves it — so the assistant can never do more than the identity behind it could do in the GistLink apps. The MCP server never persists raw tokens and never logs tool argument values. See Security for the full model and operational guidance.