Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
# Use a Node.js image with pnpm installed
FROM node:18-alpine

# Install pnpm globally
RUN npm install -g pnpm

# Set the working directory
WORKDIR /app

# Copy the project files to the container
COPY . .

# Install dependencies and build the project
RUN pnpm install && pnpm build

# Expose any necessary ports (if applicable)
# ENV IDE_PORT=8000
# ENV HOST=0.0.0.0

# Define the command to run the application
ENTRYPOINT ["node", "dist/src/index.js"]
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
[![smithery badge](https://smithery.ai/badge/@jetbrains/mcp-proxy)](https://smithery.ai/server/@jetbrains/mcp-proxy)
[![official JetBrains project](http://jb.gg/badges/incubator-flat-square.svg)](https://github.com/JetBrains#jetbrains-on-github)
# JetBrains MCP Proxy Server

The server proxies requests from client to JetBrains IDE.

## Install MCP Server plugin
## Installation

### Installing via Smithery

To install JetBrains MCP Proxy Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@jetbrains/mcp-proxy):

```bash
npx -y @smithery/cli install @jetbrains/mcp-proxy --client claude
```

### Install MCP Server plugin

https://plugins.jetbrains.com/plugin/26071-mcp-server

Expand Down Expand Up @@ -50,4 +61,3 @@ To enable logging add:
1. Tested on macOS
2. `brew install node pnpm`
3. Run `pnpm build` to build the project

23 changes: 23 additions & 0 deletions smithery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml

startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
properties:
idePort:
type: string
description: Port of the IDE's built-in web server. Optional.
host:
type: string
default: 127.0.0.1
description: Host address of the IDE's built-in web server. Defaults to 127.0.0.1.
logEnabled:
type: string
default: "false"
description: Enable logging by setting this to 'true'.
commandFunction:
# A function that produces the CLI command to start the MCP on stdio.
|-
(config) => ({ command: 'node', args: ['dist/src/index.js'], env: { IDE_PORT: config.idePort, HOST: config.host, LOG_ENABLED: config.logEnabled } })