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.
Before you start
Section titled “Before you start”- 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.
Connect
Section titled “Connect”-
Go to Settings → Tools → AI Assistant → Model Context Protocol (MCP) and click Add.
-
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"}}}} -
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.
Add Chronary to ~/.junie/mcp/mcp.json (every project) or .junie/mcp/mcp.json in a project. Junie CLI and the Junie IDE plugin use the same file:
{ "mcpServers": { "chronary": { "url": "https://api.chronary.ai/mcp", "headers": { "Authorization": "Bearer chr_sk_your_key_here" } } }}The key is stored in the file. Use the user-level file for it, and don’t commit a project file that holds a key.
Check it works
Section titled “Check it works”- AI Assistant: the Status column on the MCP settings page shows the connection. Click its icon to see Chronary’s tools.
- Junie: run
/mcp.chronaryshould 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).
What the connection can do
Section titled “What the connection can do”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.
Troubleshooting
Section titled “Troubleshooting”| Problem | What to do |
|---|---|
| Tool calls fail with 401 | The key is wrong or revoked. With Junie, check that the value starts with Bearer . |
| Junie shows Authorization required | The Authorization header is missing. Signing in isn’t available for Junie yet: add the header as shown above. |
| The AI Assistant server fails to start | Check that Node.js 18 or later is installed. On Windows, use the cmd /c form above. |
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.