VS Code
GitHub Copilot in VS Code can use Chronary’s hosted MCP server: agents, calendars, events, availability, booking pages and scheduling between agents. Connect by signing in to Chronary in your browser, or with an API key.
Before you start
Section titled “Before you start”- VS Code with GitHub Copilot, and Copilot selected as the session target. Keep VS Code up to date: signing in uses its built-in support for MCP sign-in.
- A Chronary account. If you sign in and don’t have one, you create it during sign-in. It is free to start.
Connect
Section titled “Connect”- Install with the button, or run Chat: Open Customizations, select MCP Servers, then Add Server, choose HTTP and enter
https://api.chronary.ai/mcp. Add no headers. - The first time Copilot uses a Chronary tool, VS Code asks whether Chronary may sign in. Choose Allow.
- Chronary opens in your browser. Sign in, or create an account, then check that the request names Visual Studio Code and choose Allow. If the page notes that the app runs on your computer, allow it only if you started the sign-in yourself.
- Go back to VS Code. The tool call continues.
To add it by hand instead, put this in your personal Copilot configuration, ~/.copilot/mcp-config.json (or $COPILOT_HOME/mcp-config.json if you set COPILOT_HOME):
{ "mcpServers": { "chronary": { "type": "http", "url": "https://api.chronary.ai/mcp", "tools": ["*"] } }}- In the console, open API keys and create an Organization key (
chr_sk_...). An Organization key gets every tool. An Agent key (chr_ak_...) acts for one agent only. - Put the key in your environment as
CHRONARY_API_KEY, set where VS Code starts (for example in your shell profile, then start VS Code from that shell). The configuration below refers to the variable, so the key itself is not written to a file.
VS Code opens the server details so you can review them before you install. The entry sends Authorization: Bearer ${CHRONARY_API_KEY}.
To configure it by hand, add Chronary to your personal Copilot configuration, ~/.copilot/mcp-config.json (or $COPILOT_HOME/mcp-config.json if you set COPILOT_HOME):
{ "mcpServers": { "chronary": { "type": "http", "url": "https://api.chronary.ai/mcp", "headers": { "Authorization": "Bearer ${CHRONARY_API_KEY}" }, "tools": ["*"] } }}To share the server with a team, put the same entry in .mcp.json at the workspace root. Keep the ${CHRONARY_API_KEY} reference: never commit a key.
Check it works
Section titled “Check it works”Ask Copilot: “Use the Chronary tools to list my agents.” Expand the tool call in the chat: it should call list_agents and return your agents (an empty list is fine for a new account).
What the connection can do
Section titled “What the connection can do”A signed-in connection acts for your whole organization, like an Organization key, and uses your organization’s plan and limits. It gets the same tools as the Claude connector, except create_scoped_key and accept_terms, which need an API key. An API key connection uses your plan and limits exactly as the key does anywhere else. Every tool is marked read-only or as one that changes data. See the Tools Reference for each tool.
Disconnect
Section titled “Disconnect”Open the console and go to Settings → Security → Connected apps. Choose Revoke next to Visual Studio Code. The connection stops working within about a minute. To stop VS Code using Chronary, also remove the chronary server from your MCP configuration.
Changing or resetting your password, changing your account email, or scheduling your account for deletion also disconnects every connected app. VS Code asks you to sign in again the next time it uses a Chronary tool.
Troubleshooting
Section titled “Troubleshooting”| Problem | What to do |
|---|---|
| The sign-in page says the request expired | A connection request lasts 10 minutes and works only in the browser that opened it. Run the tool again in VS Code to start a new sign-in. |
| VS Code asks for a client ID, or says it can’t register with Chronary | Update VS Code, then try again. Or connect with an API key. |
| The sign-in page says this app can’t connect | Update VS Code, then sign in again. Or connect with an API key. |
| Tool calls fail with 401 with an API key | The key is wrong, revoked, or CHRONARY_API_KEY isn’t set where VS Code runs. Start VS Code from a shell where the variable is set. |
A tool returns plan_required or quota_exceeded | The feature isn’t in your plan, or a limit is reached. The error names it. See Billing & Plans. |
Support
Section titled “Support”Look up an error in Error Codes first. If that doesn’t settle it, email [email protected] and include the request_id from the error if there is one.