Skip to content

Commit 244319e

Browse files
committed
Provide DXT
1 parent 96442ca commit 244319e

File tree

6 files changed

+1105
-1395
lines changed

6 files changed

+1105
-1395
lines changed

.github/workflows/publish.yaml

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish to NPM
1+
name: Build and Publish DXT
22

33
on:
44
release:
@@ -14,25 +14,22 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: '20.x'
18-
registry-url: 'https://registry.npmjs.org'
17+
node-version: '22.x'
1918

20-
- name: Install pnpm
21-
uses: pnpm/action-setup@v3
22-
with:
23-
version: latest
19+
- name: Install yarn
20+
run: npm install -g yarn
2421

2522
- name: Install dependencies
26-
run: pnpm install --frozen-lockfile
23+
run: yarn install --frozen-lockfile
24+
25+
- name: Install DXT CLI
26+
run: npm install -g @anthropic-ai/dxt
2727

28-
- name: Publish to NPM
29-
run: |
30-
export NODE_AUTH_TOKEN=$(echo "${{ secrets.NPM_TOKEN }}" | tr -d '\n')
31-
pnpm publish --no-git-checks --access public --provenance
32-
continue-on-error: true
28+
- name: Pack DXT
29+
run: dxt pack
3330

34-
- name: Upload npm logs
31+
- name: Upload DXT package
3532
uses: actions/upload-artifact@v4
3633
with:
37-
name: npm-debug-logs
38-
path: /home/runner/.npm/_logs/*.log
34+
name: jetbrainsMcpProxy-dxt
35+
path: jetbrainsMcpProxy.dxt

manifest.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"dxt_version": "0.1",
3+
"name": "@jetbrains/mcp-proxy",
4+
"version": "1.0.0",
5+
"description": "A MCP proxy to redirect requests to JetBrains IDEs",
6+
"author": {
7+
"name": "JetBrains"
8+
},
9+
"homepage": "https://www.jetbrains.com/",
10+
"documentation": "https://github.com/JetBrains/mcp-server-plugin",
11+
"server": {
12+
"type": "node",
13+
"entry_point": "dist/src/index.js",
14+
"mcp_config": {
15+
"command": "node",
16+
"args": [
17+
"${__dirname}/dist/src/index.js"
18+
],
19+
"env": {
20+
"IDE_PORT": "${user_config.IDE_PORT}"
21+
}
22+
}
23+
},
24+
"tools": [
25+
],
26+
"tools_generated": true,
27+
"user_config": {
28+
"IDE_PORT": {
29+
"type": "number",
30+
"title": "Port of the IDE.",
31+
"description": "If you're running multiple IDEs with MCP server and want to connect to the specific one, specify the port.",
32+
"required": true,
33+
"sensitive": false,
34+
"min": 0,
35+
"max": 100000
36+
}
37+
},
38+
"keywords": [
39+
"jetbrains",
40+
"ide",
41+
"coding"
42+
],
43+
"license": "Apache-2.0",
44+
"repository": {
45+
"type": "git",
46+
"url": "https://github.com/JetBrains/mcp-jetbrains.git"
47+
}
48+
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"url": "https://github.com/JetBrains/mcp-jetbrains.git"
1010
},
1111
"bin": {
12-
"mcp-jetbrains-proxy": "dist/src/index.js"
12+
"mcp-jetbrains-proxy": "dist/src/inydex.js"
1313
},
1414
"files": [
1515
"dist"
@@ -20,8 +20,8 @@
2020
"watch": "tsc --watch"
2121
},
2222
"dependencies": {
23-
"@modelcontextprotocol/sdk": "1.9.0",
24-
"node-fetch": "^3.3.2"
23+
"@modelcontextprotocol/sdk": "^1.12.1",
24+
"mcp-proxy": "^5.1.1"
2525
},
2626
"devDependencies": {
2727
"@types/node": "^22.14.0",

0 commit comments

Comments
 (0)