Connecting MCP Hosts
This page shows practical connection patterns for PrimeCal MCP with the Alex Example demo user, using a manually-generated static agent API key (ag_sk_...).
If your AI assistant instead offers a Connect or Add connector button and supports OAuth, use Connecting via OAuth instead — it reaches the same MCP server without copying a key by hand.
All sample outputs on this page come from the fictional example user Alex Example; your output will show your own data.
Connection Modes
PrimeCal's MCP server uses Streamable HTTP at https://api.primecal.eu/api/mcp. Use one
agent API key per host instance.
Do not point MCP hosts at https://app.primecal.eu/api/mcp — that host serves the web app, not
the API.
Chrome MCP (HTTP)
Use this when your Chrome MCP extension/bridge supports remote HTTP MCP servers.
Before generating the host config in PrimeCal, choose the narrowest permission group that fits the host:
Minimalfor smoke tests and context-only assistantsAll read-onlyfor browsing calendars, tasks, reservations, and automation state safelyOperational read/writeonly when the host must create or update planning data
- Open your Chrome MCP host settings.
- Add a server named
primecal. - Set endpoint URL to
https://api.primecal.eu/api/mcp. - Add header
Authorization: Agent ag_sk_<token>. - Save and reconnect.
- Run
tools/list, then callprimecal_calendars_list.
Example JSON block used by many Chrome MCP tools:
{
"name": "primecal",
"transport": "http",
"url": "https://api.primecal.eu/api/mcp",
"headers": {
"Authorization": "Agent ag_sk_your_token_here"
}
}
If your extension uses a different field name (endpoint, serverUrl, authHeaders), keep the same values but map them to that UI.
PrimeCal may also emit a non-sensitive permissionGroup annotation in its generated config. Treat that as operator-facing metadata only. The host should still rely on the explicit scoped MCP capabilities returned by PrimeCal.
Claude Desktop, VS Code, or Cursor
These hosts connect the same way as Chrome MCP: as a remote HTTP MCP server, using your agent
API key. There is no local install step — PrimeCal's MCP server is the hosted one at
api.primecal.eu, the same server every other host connects to.
Use the same values as Chrome:
- URL:
https://api.primecal.eu/api/mcp - Auth header:
Authorization: Agent ag_sk_<token>
Claude Code uses the same remote HTTP transport shape:
{
"primecal": {
"type": "http",
"url": "https://api.primecal.eu/api/mcp",
"headers": {
"Authorization": "Agent ag_sk_your_token_here"
}
}
}
Start validation with:
tools/listprimecal_profile_getprimecal_context_snapshot
Validation Checklist (Alex Example)
After connecting, verify:
primecal_profile_getreturnstimezone: Europe/Budapest.primecal_calendars_listincludesWork,Personal,Side projects.primecal_tasks_listreturns seeded tasks.tools/listmatches the permission group you selected. For example, anAll read-onlyhost should not see create, update, delete, or trigger-only tools.