refactor, improve docs
This commit is contained in:
parent
dc6c2a00e9
commit
112997d352
1 changed files with 30079 additions and 1640 deletions
82
package.json
82
package.json
|
|
@ -1,52 +1,44 @@
|
|||
{
|
||||
"name": "mcp-server-everything",
|
||||
"name": "mcp-server-feature-reference",
|
||||
"version": "0.1.0",
|
||||
"description": "Example MCP Server",
|
||||
"type": "module",
|
||||
"main": "dist/src/index.js",
|
||||
"description": "Feature Reference MCP Server - Examples for Embedded and External OAuth",
|
||||
"private": true,
|
||||
"workspaces": [
|
||||
"embedded-oauth",
|
||||
"external-oauth/auth-server",
|
||||
"external-oauth/mcp-server"
|
||||
],
|
||||
"scripts": {
|
||||
"start": "node dist/src/index.js",
|
||||
"start:auth-server": "node dist/auth-server/index.js",
|
||||
"dev": "tsx watch --inspect src/index.ts",
|
||||
"dev:break": "tsx --inspect-brk watch src/index.ts",
|
||||
"dev:integrated": "AUTH_MODE=integrated npm run dev",
|
||||
"dev:separate": "AUTH_MODE=separate AUTH_SERVER_URL=http://localhost:3001 npm run dev",
|
||||
"dev:auth-server": "AUTH_SERVER_PORT=3001 tsx watch --inspect auth-server/index.ts",
|
||||
"dev:with-separate-auth": "concurrently -n \"AUTH,MCP\" -c \"yellow,cyan\" \"npm run dev:auth-server\" \"npm run dev:separate\"",
|
||||
"build": "tsc && npm run copy-static",
|
||||
"copy-static": "mkdir -p dist/src/static && cp -r src/static/* dist/src/static/",
|
||||
"lint": "eslint src/ auth-server/ shared/",
|
||||
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
|
||||
"test:integrated": "AUTH_MODE=integrated npm test",
|
||||
"test:separate": "AUTH_MODE=separate npm test",
|
||||
"test:e2e:integrated": "./scripts/test-integrated-e2e.sh",
|
||||
"test:e2e:separate": "./scripts/test-separate-e2e.sh"
|
||||
"dev:embedded": "npm run dev --workspace=embedded-oauth",
|
||||
"dev:auth-server": "npm run dev --workspace=external-oauth/auth-server",
|
||||
"dev:mcp-server": "npm run dev --workspace=external-oauth/mcp-server",
|
||||
"dev:external": "concurrently -n \"AUTH,MCP\" -c \"yellow,cyan\" \"npm run dev:auth-server\" \"npm run dev:mcp-server\"",
|
||||
|
||||
"build": "npm run build --workspaces --if-present",
|
||||
"build:embedded": "npm run build --workspace=embedded-oauth",
|
||||
"build:external": "npm run build --workspace=external-oauth/auth-server && npm run build --workspace=external-oauth/mcp-server",
|
||||
|
||||
"start:embedded": "npm run start --workspace=embedded-oauth",
|
||||
"start:auth-server": "npm run start --workspace=external-oauth/auth-server",
|
||||
"start:mcp-server": "npm run start --workspace=external-oauth/mcp-server",
|
||||
"start:external": "concurrently -n \"AUTH,MCP\" -c \"yellow,cyan\" \"npm run start:auth-server\" \"npm run start:mcp-server\"",
|
||||
|
||||
"test": "npm run test --workspaces --if-present",
|
||||
"test:embedded": "npm run test --workspace=embedded-oauth",
|
||||
"test:external": "npm run test --workspace=external-oauth/auth-server && npm run test --workspace=external-oauth/mcp-server",
|
||||
"test:e2e:embedded": "./scripts/test-embedded-e2e.sh",
|
||||
"test:e2e:external": "./scripts/test-external-e2e.sh",
|
||||
"test:e2e": "npm run test:e2e:embedded && npm run test:e2e:external",
|
||||
|
||||
"lint": "npm run lint --workspaces --if-present",
|
||||
"lint:embedded": "npm run lint --workspace=embedded-oauth",
|
||||
"lint:external": "npm run lint --workspace=external-oauth/auth-server && npm run lint --workspace=external-oauth/mcp-server",
|
||||
|
||||
"typecheck": "npm run typecheck --workspaces --if-present",
|
||||
"typecheck:embedded": "npm run typecheck --workspace=embedded-oauth",
|
||||
"typecheck:external": "npm run typecheck --workspace=external-oauth/auth-server && npm run typecheck --workspace=external-oauth/mcp-server"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.15.0",
|
||||
"@types/content-type": "^1.1.8",
|
||||
"@types/cors": "^2.8.17",
|
||||
"@types/express": "^5.0.0",
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/node": "^22.10.0",
|
||||
"concurrently": "^8.2.0",
|
||||
"jest": "^29.7.0",
|
||||
"ts-jest": "^29.2.5",
|
||||
"tsx": "^4.19.2",
|
||||
"typescript": "^5.7.2",
|
||||
"typescript-eslint": "^8.18.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@modelcontextprotocol/sdk": "^1.15.1",
|
||||
"@redis/client": "^1.6.0",
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "^16.4.7",
|
||||
"express": "^4.21.2",
|
||||
"express-rate-limit": "^8.0.1",
|
||||
"raw-body": "^3.0.0"
|
||||
},
|
||||
"overrides": {
|
||||
"@types/express": "^5.0.0",
|
||||
"@types/express-serve-static-core": "^5.0.2"
|
||||
"concurrently": "^8.2.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue