Skip to content

JetBrains (AI Assistant, Junie)

JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm and the rest) can use Chronary’s MCP server from AI Assistant and from Junie: agents, calendars, events, availability, booking pages and scheduling between agents. Both connect with a Chronary API key.

  • A JetBrains IDE with AI Assistant, or Junie (the IDE plugin or Junie CLI).
  • A Chronary API key. 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.
  • Node.js 18 or later, for the AI Assistant setup below.
  1. Go to Settings → Tools → AI Assistant → Model Context Protocol (MCP) and click Add.

  2. Paste this JSON configuration. It runs the Chronary stdio server, which reads the key from CHRONARY_API_KEY:

    {
    "mcpServers": {
    "chronary": {
    "command": "npx",
    "args": ["-y", "@chronary/mcp"],
    "env": {
    "CHRONARY_API_KEY": "chr_sk_your_key_here"
    }
    }
    }
    }
  3. Choose whether the server is available globally or only in this project, click OK, then Apply.

On Windows, if the server doesn’t start, use "command": "cmd" with "args": ["/c", "npx", "-y", "@chronary/mcp"].

If you already have Chronary in Claude Desktop, Import from Claude copies it over.

  • AI Assistant: the Status column on the MCP settings page shows the connection. Click its icon to see Chronary’s tools.
  • Junie: run /mcp. chronary should show as Active.

Then ask: “Use the Chronary tools to list my agents.” It should call list_agents and return your agents (an empty list is fine for a new account).

The connection uses your organization’s 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.

ProblemWhat to do
Tool calls fail with 401The key is wrong or revoked. With Junie, check that the value starts with Bearer .
Junie shows Authorization requiredThe Authorization header is missing. Signing in isn’t available for Junie yet: add the header as shown above.
The AI Assistant server fails to startCheck that Node.js 18 or later is installed. On Windows, use the cmd /c form above.
A tool returns plan_required or quota_exceededThe feature isn’t in your plan, or a limit is reached. The error names it. See Billing & Plans.

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.