AI agents & MCP
Snapi's Model Context Protocol (MCP) server is live at https://api.snapi.ca/mcp. Any MCP-compatible AI assistant — Claude, Cursor, Windsurf, n8n agents, and others — can read and write your workspace through natural language: forms, records, kanban boards, comments, and file attachments.
What is MCP?
The Model Context Protocol is an open standard that lets AI assistants call tools on external systems. Instead of building prompt engineering hacks, you configure an MCP server once and the AI gets structured, reliable access to your data.
Snapi's MCP server exposes your forms, records, and boards as tools the AI can invoke. The assistant can answer questions like "How many leads came in this week?" or "Move record X to the Approved column" without you writing a single line of code.
Connecting
The server speaks MCP's Streamable HTTP transport at https://api.snapi.ca/mcp and authenticates with a Snapi API key sent as a header — either Authorization: Bearer snapi_... or X-API-Key: snapi_.... Get a key from Settings → API Keys and give it an access level: what the key may do is what the agent may do.
Claude Code (CLI)
claude mcp add --transport http snapi https://api.snapi.ca/mcp \
--header "Authorization: Bearer snapi_your_key_here"
Claude Desktop
Claude Desktop connects to remote servers through a local bridge. Add to claude_desktop_config.json:
{
"mcpServers": {
"snapi": {
"command": "npx",
"args": [
"-y", "mcp-remote", "https://api.snapi.ca/mcp",
"--header", "Authorization: Bearer snapi_your_key_here"
]
}
}
}
Other MCP hosts (Cursor, Windsurf, n8n, custom)
Any host that supports HTTP-based MCP servers just needs the URL and the auth header:
URL: https://api.snapi.ca/mcp
Header: Authorization: Bearer snapi_your_key_here
whoami tool to see the effective level. See API keys.Available MCP tools
Connected assistants get 33 tools. The agent discovers them automatically — this list is for planning which access level a task needs.
Example conversations
Once connected, you talk to your data naturally:
You: How many new leads came in this week?
Claude: Let me check... You received 23 leads this week, up from 14 last week.
The most common source was the website contact form.
You: Move the lead from Alice Johnson to the "Qualified" column.
Claude: Done. Alice Johnson's lead is now in the Qualified column.
You: Create a new contact: Bob Smith, bob@example.com, interested in enterprise plan.
Claude: Created. Record ID rec_8f2c9a for Bob Smith has been added to Contacts.
n8n AI agent integration
If you use n8n for automation, you can expose Snapi to n8n's built-in AI agent node via the REST API. Add Snapi as an HTTP Request tool in your n8n AI agent workflow:
- In n8n, create an AI Agent node.
- Add an HTTP Request Tool with the base URL
https://api.snapi.ca/api/v1. - Set
Authorization: Bearer snapi_...as a fixed header. - Describe the tool to the agent: "Use this to read and write Snapi records. GET /entities/:id/records to list, POST /entities/:id/records to create."
Security considerations
- Use a dedicated API key for each AI agent or integration — makes it easy to revoke access without affecting other systems.
- Give each key the lowest access level that does the job: a reporting bot gets Viewer, a triage agent Editor, a workspace-builder Admin.
- The MCP server inherits your organization's plan limits, just like the REST API. A runaway agent that creates thousands of records will hit your quota and stop (returning 402 errors).
- Record changes made by AI agents are written to each record's audit log, so you can review what the AI did.