Connect an agent
Pannier works with any agent app that can use an MCP server or make HTTP requests. Each agent gets its own key and only the context you share with it.
Pannier works with any agent app that can use an MCP server or make HTTP requests. Each agent gets its own key and only the context you share with it.
The MCP server address is https://pannier-3b6696.cofounder.company/api/mcp. Replace pnr_your_agent_key with the key Pannier shows when you connect the agent.
Claude Code
claude mcp add --transport http --scope user pannier https://pannier-3b6696.cofounder.company/api/mcp \ --header "Authorization: Bearer pnr_your_agent_key"
Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"pannier": {
"url": "https://pannier-3b6696.cofounder.company/api/mcp",
"headers": {
"Authorization": "Bearer pnr_your_agent_key"
}
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"pannier": {
"type": "http",
"url": "https://pannier-3b6696.cofounder.company/api/mcp",
"headers": {
"Authorization": "Bearer pnr_your_agent_key"
}
}
}
}Codex (~/.codex/config.toml)
[mcp_servers.pannier]
url = "https://pannier-3b6696.cofounder.company/api/mcp"
http_headers = { "Authorization" = "Bearer pnr_your_agent_key" }Claude on the web, desktop and phone (Settings → Connectors → Add custom connector)
https://pannier-3b6696.cofounder.company/api/mcp?key=pnr_your_agent_key
Apps that only accept a URL can pass the key as ?key=. Connectors added on claude.ai are available in the Claude mobile app too. Treat that URL like a password.
ChatGPT (Settings → Apps & Connectors → Advanced → Developer mode → Create)
https://pannier-3b6696.cofounder.company/api/mcp?key=pnr_your_agent_key
Choose “No authentication”; the key in the URL identifies the agent.
Once connected, try this in the agent:
Load my Pannier context for the project "<project name>". I want you to use my research skill and keep sentences short — save that to Pannier.
To have the agent read and save without being asked, add this to its custom instructions, project rules or system prompt:
Use Pannier for shared context. At the start of each task, call get_context with the project and my request, and follow the saved goal, instructions, preferences and skills. When something meaningful changes (a decision, progress, next steps, files, a skill I ask you to use), call save_context with short distilled records. Update items by id with base_version; set replaces when a decision replaces an older one.
base_version when updating: if another agent changed the item since, your update is kept as a conflict for the user to resolve rather than overwriting it. Pass replaces when a new decision replaces an old one.Item kinds: goal (goal), instruction (instruction), preference (preference), skill (skill), decision (decision), file (file), progress (progress), next_step (next step), task (task), note (note).
For scripts and agents without MCP support. Authenticate with Authorization: Bearer pnr_your_agent_key.
Read relevant context
curl -s "https://pannier-3b6696.cofounder.company/api/v1/context?project=Halden%20report&request=draft%20section%204&format=markdown" \ -H "Authorization: Bearer pnr_your_agent_key"
Save changes
curl -s -X POST "https://pannier-3b6696.cofounder.company/api/v1/context" \
-H "Authorization: Bearer pnr_your_agent_key" -H "Content-Type: application/json" \
-d '{"project":"Halden report","items":[
{"kind":"progress","title":"Section 4 drafted"},
{"kind":"next_step","title":"Review section 4 sources"}
]}'List projects
curl -s "https://pannier-3b6696.cofounder.company/api/v1/projects" -H "Authorization: Bearer pnr_your_agent_key"
Errors return JSON with error and a readable message: 401 for a missing or disconnected key, 403 when the agent lacks access, 404 for an unknown project, 402 when a Free plan limit is reached.