portkey-admin-mcp 0.1.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +645 -0
- package/build/index.js +6223 -0
- package/build/server.js +7528 -0
- package/package.json +79 -0
package/package.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "module",
|
|
3
|
+
"bin": {
|
|
4
|
+
"portkey-admin-mcp": "./build/index.js",
|
|
5
|
+
"portkey-admin-mcp-http": "./build/server.js"
|
|
6
|
+
},
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "esbuild src/index.ts src/server.ts --bundle --platform=node --target=node24 --format=esm --outdir=build --packages=external && chmod 755 build/index.js build/server.js",
|
|
9
|
+
"typecheck": "tsc --noEmit",
|
|
10
|
+
"lint": "biome lint .",
|
|
11
|
+
"format": "biome format --write .",
|
|
12
|
+
"check": "biome check --write .",
|
|
13
|
+
"test": "tsx --test tests/config.test.ts tests/security.test.ts tests/contract.test.ts",
|
|
14
|
+
"dev": "tsx --watch src/index.ts",
|
|
15
|
+
"dev:http": "tsx --watch src/server.ts",
|
|
16
|
+
"smoke": "tsx tests/smoke.ts",
|
|
17
|
+
"test:http": "bash scripts/test-mcp-http.sh",
|
|
18
|
+
"test:e2e": "tsx --test tests/mcp-e2e.test.ts",
|
|
19
|
+
"test:contract": "tsx --test tests/contract.test.ts",
|
|
20
|
+
"record:fixtures": "tsx tests/fixtures/record.ts",
|
|
21
|
+
"verify:readme-tools": "node scripts/verify-readme-tools.mjs",
|
|
22
|
+
"ci": "npm run lint && npm run typecheck && npm run test && npm run build && npm run test:e2e && npm run verify:readme-tools",
|
|
23
|
+
"start:http": "node build/server.js",
|
|
24
|
+
"prepublishOnly": "npm run ci"
|
|
25
|
+
},
|
|
26
|
+
"engines": {
|
|
27
|
+
"node": ">=20"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"build"
|
|
31
|
+
],
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
34
|
+
"cors": "^2.8.5",
|
|
35
|
+
"dotenv": "^17.2.3",
|
|
36
|
+
"express": "^5.2.1",
|
|
37
|
+
"jose": "^6.1.3",
|
|
38
|
+
"redis": "^5.11.0",
|
|
39
|
+
"undici": "^7.16.0",
|
|
40
|
+
"zod": "^4.3.2"
|
|
41
|
+
},
|
|
42
|
+
"name": "portkey-admin-mcp",
|
|
43
|
+
"mcpName": "io.github.s-b-e-n-s-o-n/portkey-admin-mcp",
|
|
44
|
+
"version": "0.1.0-beta.3",
|
|
45
|
+
"main": "build/index.js",
|
|
46
|
+
"keywords": [
|
|
47
|
+
"mcp",
|
|
48
|
+
"model-context-protocol",
|
|
49
|
+
"portkey",
|
|
50
|
+
"llm",
|
|
51
|
+
"ai",
|
|
52
|
+
"claude",
|
|
53
|
+
"admin-api",
|
|
54
|
+
"prompts",
|
|
55
|
+
"observability",
|
|
56
|
+
"gateway",
|
|
57
|
+
"anthropic"
|
|
58
|
+
],
|
|
59
|
+
"author": "Scott Benson",
|
|
60
|
+
"license": "MIT",
|
|
61
|
+
"description": "Full Portkey Admin API MCP server",
|
|
62
|
+
"repository": {
|
|
63
|
+
"type": "git",
|
|
64
|
+
"url": "https://github.com/s-b-e-n-s-o-n/portkey-admin-mcp.git"
|
|
65
|
+
},
|
|
66
|
+
"homepage": "https://github.com/s-b-e-n-s-o-n/portkey-admin-mcp#readme",
|
|
67
|
+
"bugs": {
|
|
68
|
+
"url": "https://github.com/s-b-e-n-s-o-n/portkey-admin-mcp/issues"
|
|
69
|
+
},
|
|
70
|
+
"devDependencies": {
|
|
71
|
+
"@biomejs/biome": "^2.0.0",
|
|
72
|
+
"@types/cors": "^2.8.17",
|
|
73
|
+
"@types/express": "^5.0.6",
|
|
74
|
+
"@types/node": "^24.0.0",
|
|
75
|
+
"esbuild": "^0.27.2",
|
|
76
|
+
"tsx": "^4.21.0",
|
|
77
|
+
"typescript": "^5.9.3"
|
|
78
|
+
}
|
|
79
|
+
}
|