Skip to content

Commit 31565c4

Browse files
authored
Merge pull request #18 from VantaInc/showzeb/AI-725-2
Fixing package name for publishing
2 parents 52d30ac + 262e14e commit 31565c4

File tree

6 files changed

+33
-24
lines changed

6 files changed

+33
-24
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Publish to NPM
22

33
on:
4-
release:
5-
types: [published]
64
workflow_dispatch:
75
inputs:
86
version:
@@ -40,6 +38,6 @@ jobs:
4038
run: npm version ${{ github.event.inputs.version }} --no-git-tag-version
4139

4240
- name: Publish to NPM
43-
run: npm publish
41+
run: npm publish --access public
4442
env:
4543
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Add the server to your `claude_desktop_config.json`:
6666
"mcpServers": {
6767
"vanta": {
6868
"command": "npx",
69-
"args": ["-y", "@vanta-inc/vanta-mcp-server"],
69+
"args": ["-y", "@vantasdk/vanta-mcp-server"],
7070
"env": {
7171
"VANTA_ENV_FILE": "/absolute/path/to/your/vanta-credentials.env"
7272
}
@@ -84,7 +84,7 @@ Add the server to your Cursor MCP settings:
8484
"mcpServers": {
8585
"Vanta": {
8686
"command": "npx",
87-
"args": ["-y", "@vanta-inc/vanta-mcp-server"],
87+
"args": ["-y", "@vantasdk/vanta-mcp-server"],
8888
"env": {
8989
"VANTA_ENV_FILE": "/absolute/path/to/your/vanta-credentials.env"
9090
}
@@ -103,13 +103,13 @@ Add the server to your Cursor MCP settings:
103103
### NPX (Recommended)
104104

105105
```bash
106-
npx vanta-mcp-server
106+
npx @vantasdk/vanta-mcp-server
107107
```
108108

109109
### Global Installation
110110

111111
```bash
112-
npm install -g vanta-mcp-server
112+
npm install -g @vantasdk/vanta-mcp-server
113113
vanta-mcp-server
114114
```
115115

@@ -142,7 +142,7 @@ This will:
142142
You can use the MCP Inspector to debug the server:
143143

144144
```bash
145-
npx @modelcontextprotocol/inspector npx vanta-mcp-server
145+
npx @modelcontextprotocol/inspector npx @vantasdk/vanta-mcp-server
146146
```
147147

148148
The inspector will open in your browser, allowing you to test tool calls and inspect the server's behavior.

package-lock.json

Lines changed: 10 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
{
2-
"name": "@vanta-inc/vanta-mcp-server",
3-
"version": "0.1.0",
2+
"name": "@vantasdk/vanta-mcp-server",
3+
"version": "1.0.0",
44
"main": "index.js",
55
"type": "module",
6-
"bin": {
7-
"vanta-mcp-server": "build/index.js"
8-
},
6+
"bin": "build/index.js",
7+
"files": [
8+
"build/*",
9+
"LICENSE",
10+
"README.md",
11+
"package.json"
12+
],
913
"scripts": {
1014
"build": "tsc && node -e \"require('fs').chmodSync('build/index.js', '755')\"",
1115
"start": "yarn build && node build/index.js",
@@ -16,9 +20,6 @@
1620
"format:check": "prettier --check \"**/*.{ts,json,md}\"",
1721
"fix": "npm run format && npm run lint:fix"
1822
},
19-
"files": [
20-
"build"
21-
],
2223
"keywords": [
2324
"mcp",
2425
"model-context-protocol",
@@ -37,6 +38,9 @@
3738
"bugs": {
3839
"url": "https://github.com/VantaInc/vanta-mcp-server/blob/main/SECURITY.md"
3940
},
41+
"engines": {
42+
"node": ">=18"
43+
},
4044
"devDependencies": {
4145
"@eslint/js": "^8.57.0",
4246
"@types/node": "^22.13.17",
@@ -49,7 +53,8 @@
4953
"typescript": "^5.8.2"
5054
},
5155
"dependencies": {
52-
"@modelcontextprotocol/sdk": "^1.6.0"
56+
"@modelcontextprotocol/sdk": "^1.6.0",
57+
"zod": ">= 3"
5358
},
5459
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
5560
}

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env node
2+
13
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
24
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
35
import {

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1577,7 +1577,7 @@ zod-to-json-schema@^3.24.1:
15771577
resolved "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.24.5.tgz"
15781578
integrity sha512-/AuWwMP+YqiPbsJx5D6TfgRTc4kTLjsh5SOcd4bLsfUg2RcEXrFMJl1DGgdHy2aCfsIA/cr/1JM0xcB2GZji8g==
15791579

1580-
zod@^3.23.8, zod@^3.24.1:
1580+
zod@^3.23.8, zod@^3.24.1, "zod@>= 3":
15811581
version "3.24.2"
15821582
resolved "https://registry.npmjs.org/zod/-/zod-3.24.2.tgz"
15831583
integrity sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ==

0 commit comments

Comments
 (0)