-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.21 KB
/
package.json
File metadata and controls
80 lines (80 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "mcp-openapi-server",
"version": "1.0.0",
"description": "A generic, configurable MCP server that automatically generates tools, resources, and prompts from OpenAPI specifications",
"main": "dist/index.js",
"bin": {
"mcp-openapi-server": "dist/cli.js"
},
"type": "module",
"scripts": {
"dev": "BANKING_API_TOKEN=mcp-service-token-demo-123 tsx src/cli.ts --specs ./examples/specs --config ./examples/mcp-config.json --prompts ./examples/prompts --verbose --http",
"dev:stdio": "tsx src/cli.ts",
"build": "tsc",
"start": "node dist/cli.js --http --port 4000",
"start:stdio": "node dist/cli.js",
"start:http": "node dist/cli.js --http --port 4000",
"cli": "tsx src/cli.ts",
"test": "jest",
"test:unit": "jest tests/basic.test.ts",
"test:integration": "jest tests/integration.test.ts",
"test:msw": "jest tests/msw-integration.test.ts",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"prepublishOnly": "npm run build",
"sast": "semgrep scan"
},
"keywords": [
"mcp",
"model-context-protocol",
"openapi",
"swagger",
"ai",
"llm",
"tools",
"server"
],
"author": "Your Name",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/yourusername/mcp-openapi-server.git"
},
"bugs": {
"url": "https://github.com/yourusername/mcp-openapi-server/issues"
},
"homepage": "https://github.com/yourusername/mcp-openapi-server#readme",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.0.0",
"commander": "^11.1.0",
"cors": "^2.8.5",
"express": "^4.18.2",
"js-yaml": "^4.1.0"
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.10.0",
"@types/node-fetch": "^2.6.11",
"@types/supertest": "^6.0.2",
"jest": "^29.7.0",
"msw": "^2.10.4",
"nock": "^13.5.1",
"node-fetch": "^3.3.2",
"supertest": "^6.3.4",
"ts-jest": "^29.1.2",
"tsx": "^4.6.0",
"typescript": "^5.3.0"
},
"engines": {
"node": ">=18.0.0"
},
"files": [
"dist/**/*",
"README.md",
"LICENSE",
"examples/**/*"
]
}