MCP Setup
Connect Chronary to your MCP client. In Claude you can sign in with your Chronary account and skip the API key, and so can Hermes Agent. Every other client needs an API key from the Chronary console for the hosted endpoint, or can start the stdio server without one.
Connect from Claude (sign in)
Section titled “Connect from Claude (sign in)”Claude can connect to the hosted endpoint by signing in to your Chronary account, so there is no API key to copy. If you don’t have an account yet, you create one during sign-in. The Claude connector page has example prompts, what Claude can do, and troubleshooting.
- In Claude, open Settings → Connectors and choose Add custom connector.
- Enter the name
Chronaryand the URLhttps://api.chronary.ai/mcp. - For sign-in, choose Sign in when needed. Claude lists Chronary’s tools straight away and asks you to sign in the first time it uses one.
- Chronary opens in your browser. Sign in, or create an account, then check the request and choose Allow. Claude goes back to the tool call it was making.
Add the server:
claude mcp add --transport http chronary https://api.chronary.ai/mcpThen run /mcp in Claude Code, select chronary and choose to authenticate. Chronary opens in your browser: sign in or create an account, then choose Allow.
What a signed-in connection can do:
- It acts for your whole organization, like an Organization key: it can read and change agents, calendars, events and Webhooks.
- It gets 63 of the 65 tools.
create_scoped_keyandaccept_termsneed an API key; you accept the Terms of Service on the sign-in page instead. - It works on the MCP endpoint only, not on the REST API.
- Your plan’s limits and monthly quotas apply exactly as they do to your API keys. When one is reached, the tool returns an error that says which limit.
- A new account that signs up with an email address works at once. Verify your email from the message we send to lift the limits of an unverified account.
Connected apps and revoking access
Section titled “Connected apps and revoking access”To see or remove a connection, open the console and go to Settings → Security → Connected apps. Choose Revoke to disconnect an app. It stops working within about a minute, and Claude asks you to sign in again the next time it uses a tool.
These actions also disconnect every connected app:
- changing or resetting your password;
- changing your account email;
- scheduling your account for deletion.
If you cancel a scheduled deletion, your API keys work again, but connected apps stay disconnected. Connect Claude again with the steps above.
API keys still work
Section titled “API keys still work”Signing in is optional. Every client, Claude included, can still use an API key in the Authorization header (see the configurations below), and a connection with an Organization key gets all 65 tools.
Official MCP Registry
Section titled “Official MCP Registry”Chronary is published to the Official MCP Registry as ai.chronary/mcp. The entry declares both the hosted endpoint (https://api.chronary.ai/mcp) and the @chronary/mcp stdio package, so MCP clients and directories that install from the registry find Chronary under that name. Both take your Chronary API key as a secret: the hosted endpoint requires it (unless Claude or Hermes Agent signs in instead, see above), and the stdio package can start without one (see below).
To wire it up yourself, use the per-client config below.
No key yet: start the stdio server without one
Section titled “No key yet: start the stdio server without one”@chronary/mcp 1.8.0 and later can start without CHRONARY_API_KEY. It then offers one tool, sign_up_anonymous. Calling it:
- signs the agent up with no email: a claimable calendar whose key works at once, at Sandbox limits;
- loads every calendar tool with the new key in the same session;
- returns
api_key, a one-timeclaim_urlfor the person who should own the calendar, andexpires_at.
{ "mcpServers": { "chronary": { "command": "npx", "args": ["-y", "@chronary/mcp@latest"] } }}The key lives only in the running server. To keep it, put it in the config as CHRONARY_API_KEY. If nobody claims the calendar within 72 hours, the key stops working and the calendar and its events are deleted.
Calling the tool accepts the Terms of Service for the person or organization the agent acts for. Where the no-email sign-up is off, the tool returns anonymous_signup_disabled.
The hosted endpoint has no such tool: it needs a key, or a signed-in connection from Claude or Hermes Agent, which can create an account during sign-in.
Client setup
Section titled “Client setup”One-click install (Cursor, VS Code)
Section titled “One-click install (Cursor, VS Code)”Both add the stdio server as npx -y @chronary/mcp with no key, so it starts with the sign_up_anonymous tool. To use an existing account, add CHRONARY_API_KEY to the installed entry. On Windows, change the installed command to cmd with the arguments /c npx -y @chronary/mcp.
Configure by hand
Section titled “Configure by hand”Add Chronary to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{ "mcpServers": { "chronary": { "url": "https://api.chronary.ai/mcp", "headers": { "Authorization": "Bearer chr_sk_your_key_here" } } }}Restart Claude Desktop after saving. You should see a hammer icon indicating MCP tools are available.
Open Cursor Settings and navigate to the MCP section. Add a new server with these settings:
- Name:
chronary - Transport: Streamable HTTP
- URL:
https://api.chronary.ai/mcp
In your Cursor MCP configuration file (.cursor/mcp.json in your project root or global config):
{ "mcpServers": { "chronary": { "url": "https://api.chronary.ai/mcp", "headers": { "Authorization": "Bearer chr_sk_your_key_here" } } }}Restart Cursor after saving. Chronary tools will appear in the agent tool list.
Install the MCP SDK:
npm install @modelcontextprotocol/sdkConnect to Chronary:
import { Client } from '@modelcontextprotocol/sdk/client/index.js';import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
const client = new Client({ name: 'my-agent', version: '1.0.0',});
const transport = new StreamableHTTPClientTransport( new URL('https://api.chronary.ai/mcp'), { requestInit: { headers: { Authorization: 'Bearer chr_sk_your_key_here', }, }, });
await client.connect(transport);
// List available toolsconst { tools } = await client.listTools();console.log(`Connected — ${tools.length} tools available`);
// Call a toolconst result = await client.callTool({ name: 'list_agents', arguments: {},});console.log(result);Install the MCP package:
pip install mcpConnect to Chronary:
from mcp.client.streamable_http import streamablehttp_clientfrom mcp import ClientSession
async def main(): async with streamablehttp_client( url="https://api.chronary.ai/mcp", headers={"Authorization": "Bearer chr_sk_your_key_here"}, ) as (read_stream, write_stream, _): async with ClientSession(read_stream, write_stream) as session: await session.initialize()
# List available tools tools = await session.list_tools() print(f"Connected — {len(tools.tools)} tools available")
# Call a tool result = await session.call_tool("list_agents", arguments={}) print(result)
import asyncioasyncio.run(main())Verify your connection
Section titled “Verify your connection”After setup, test that everything is working. Ask your AI client:
“List my agents”
The AI should call the list_agents tool and return results. If you haven’t registered any agents yet, you’ll see an empty list — that’s expected.
Confirm tools are visible
Section titled “Confirm tools are visible”In Claude Desktop, click the hammer icon to see all available tools. You should see 65 Chronary tools listed (63 on a connection that signed in instead of using an API key).
In Cursor, check the agent tool list in the MCP settings panel.
For custom agents, call client.listTools() (TypeScript) or session.list_tools() (Python) and verify 65 tools are returned.
Use your agent
Section titled “Use your agent”An account that signed up as an agent already has its agent (and, with npx @chronary/agent-init, a first calendar). Use that one: the list_agents call above returns it with an agt_ prefixed ID. Free includes 1 agent, so don’t register another.
If the list is empty (a console sign-up registers none), ask: “Register an AI agent called Test Agent”. The AI should call create_agent and return an agent with an agt_ prefixed ID.
Add an event
Section titled “Add an event”Free includes 1 calendar. Ask: “List my calendars” and use the one that exists. If there is none, ask: “Create a calendar called ‘Demo Calendar’ in UTC for that agent” (the AI calls create_calendar).
Then ask: “Add a meeting tomorrow at 2pm”. The AI should call create_event.
Verify via REST (optional)
Section titled “Verify via REST (optional)”Confirm the data is shared by querying the REST API:
curl https://api.chronary.ai/v1/agents \ -H "Authorization: Bearer chr_sk_your_key_here"You should see the same agent (and the calendar, if you created one) via REST.
Troubleshooting
Section titled “Troubleshooting”| Problem | Solution |
|---|---|
| Tools not appearing | Restart your client after editing the config file. Check for JSON syntax errors. |
401 Unauthorized | Verify your API key is correct and includes the Bearer prefix. |
| Claude keeps asking you to sign in | The connection was revoked, or a password change, email change or scheduled deletion disconnected it. Sign in again from Claude. Check Settings → Security → Connected apps in the console. |
| The sign-in page says the request expired | A connection request lasts 10 minutes and works only in the browser that opened it. Start again from Claude. |
403 Forbidden | The key is valid but the request is not allowed: the Agent key’s agent was deleted, or the organization is suspended or restricted. The error type says which; see Error Codes. A revoked or expired key gets 401, not 403. |
| Connection timeout | Ensure you can reach api.chronary.ai from your network. Check firewall/proxy settings. |
| Tool call returns error | Check the error message — it follows the same error format as the REST API. |