Model Context Protocol (MCP)
MCP Overview
Weave workspace MCP over Streamable HTTP with Bearer tokens or OAuth 2.1.
Workspace MCP Overview
Weave exposes a native Model Context Protocol server so external assistants can read and mutate workspace data through tools.
Endpoint
https://<MCP_HOST>/v1/mcpTransport: Streamable HTTP (JSON-RPC 2.0). Clients should send:
Content-Type: application/json
Accept: application/json, text/event-stream
Authorization: Bearer <TOKEN>Auth modes
| Mode | Token | Typical clients |
|---|---|---|
| Personal Bearer | wn_… | Cursor, VS Code, Claude Code, Zed, Windsurf |
| OAuth 2.1 | wmo_… access token | Claude.ai, ChatGPT |
OAuth discovery and consent: MCP OAuth.
Minimal tools/list call
curl -X POST "https://<MCP_HOST>/v1/mcp" \
-H "Authorization: Bearer wn_live_..." \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list",
"params": {}
}'Call a tool
curl -X POST "https://<MCP_HOST>/v1/mcp" \
-H "Authorization: Bearer wn_live_..." \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "list_notes",
"arguments": { "limit": 10, "search": "sprint" }
}
}'Tool availability is gated by the token’s scopes (same catalog as API tokens).
Soft deletes
Prefer update_* tools with deleted: true / false for soft-delete and restore. Some packs also expose explicit delete tools (e.g. delete_notes) — see the tools catalog.
Next
- Connecting clients
- Tools catalog
- Public docs MCP (zero-auth, documentation only)