Skip to content
Draft
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
296 changes: 294 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vantasdk/vanta-mcp-server",
"version": "1.1.0",
"version": "2.0.0",
"main": "index.js",
"type": "module",
"bin": "build/index.js",
Expand Down Expand Up @@ -43,6 +43,8 @@
},
"devDependencies": {
"@eslint/js": "^8.57.0",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/node": "^22.13.17",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
Expand All @@ -53,8 +55,12 @@
"typescript": "^5.8.2"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.6.0",
"zod": ">= 3"
"@anthropic-ai/claude-code": "^2.1.7",
"@modelcontextprotocol/sdk": "^1.25.2",
"cors": "^2.8.5",
"express": "^5.0.1",
"zod": "^3.25",
"zod-to-json-schema": "^3.25.1"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
7 changes: 4 additions & 3 deletions src/api.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
type BaseApiUrl =
| "https://api.vanta.com"
| "https://api.eu.vanta.com"
| "https://api.aus.vanta.com";
| "https://api.aus.vanta.com"
| "http://127.0.0.1:10290";

export function baseApiUrl(): BaseApiUrl {
if (process.env.REGION) {
Expand All @@ -10,9 +11,9 @@ export function baseApiUrl(): BaseApiUrl {
} else if (process.env.REGION === "aus") {
return "https://api.aus.vanta.com";
} else if (process.env.REGION === "us") {
return "https://api.vanta.com";
return "http://127.0.0.1:10290";
}
throw new Error(`Invalid region: ${process.env.REGION}`);
}
return "https://api.vanta.com";
return "http://127.0.0.1:10290";
}
Loading
Loading