> Markdown version of [Junie](https://vaadin.com/docs/next/building-apps/agentic-development/mcp/supported-tools/junie). Section index: [llms.txt](https://vaadin.com/docs/next/building-apps/llms.txt)

# Junie

Junie is JetBrains AI assistant for IntelliJ-based IDEs. It uses stdio transport and requires an adapter to connect to HTTP-based MCP servers like the Vaadin MCP server.

**Requirements:**

- Node.js 18 or later

- Junie plugin for IntelliJ-based IDEs

## <a id="configuration"></a>Configuration

Add the following to your Junie MCP configuration file (location varies by IDE):

```json
{
  "mcpServers": {
    "vaadin": {
      "command": "npx",
      "args": ["@pyroprompts/mcp-stdio-to-streamable-http-adapter"],
      "env": {
        "URI": "https://mcp.vaadin.com/docs",
        "MCP_NAME": "vaadin"
      }
    }
  }
}
```

The adapter bridges stdio transport to HTTP, allowing Junie to communicate with the Vaadin MCP server.

> **Note:** Configuration file locations:
>
> - **IntelliJ IDEA:** Check Junie plugin settings for the configuration file path
>
> - **Other JetBrains IDEs:** Similar to IntelliJ IDEA, access through Junie settings
>
> The exact location may vary depending on your IDE and operating system.

## <a id="how-the-adapter-works"></a>How the Adapter Works

The `@pyroprompts/mcp-stdio-to-streamable-http-adapter` package:

1. Receives stdio commands from Junie

2. Translates them to HTTP requests

3. Forwards requests to the Vaadin MCP server

4. Returns responses back through stdio

This allows stdio-only tools to work with HTTP-based MCP servers.

## <a id="verify-the-setup"></a>Verify the Setup

After configuration:

1. Restart your JetBrains IDE

2. Open the Junie assistant panel

3. Ask a question about Vaadin development (e.g., "What are Vaadin components?")

4. Junie queries the Vaadin MCP server through the adapter

## <a id="resources"></a>Resources

- [Junie Documentation](https://junie.jetbrains.com/docs/)

- [HTTP to stdio Adapter](https://github.com/pyroprompts/mcp-stdio-to-streamable-http-adapter)
