Skip to content

Commit 74bba20

Browse files
committed
🤖 Add MCP server package configuration
- Created Node.js package for Model Context Protocol server - Added dependencies for MCP SDK, Express, WebSocket, and security - Configured TypeScript build system and development tools - Included authentication, rate limiting, and API security packages
1 parent 8d79223 commit 74bba20

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

mcp-server/package.json

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"name": "js-chess-engine-mcp-server",
3+
"version": "2.0.0",
4+
"description": "Model Context Protocol server for JS Chess Engine - Agentic API for AI-to-AI chess interaction",
5+
"main": "dist/index.js",
6+
"type": "module",
7+
"scripts": {
8+
"build": "tsc",
9+
"start": "node dist/index.js",
10+
"dev": "tsx watch src/index.ts",
11+
"test": "jest",
12+
"lint": "eslint src/**/*.ts",
13+
"format": "prettier --write src/**/*.ts"
14+
},
15+
"keywords": [
16+
"chess",
17+
"mcp",
18+
"model-context-protocol",
19+
"ai",
20+
"agentic",
21+
"api",
22+
"webassembly",
23+
"nnue"
24+
],
25+
"author": "Jane Alesi <ja@satware.ai>",
26+
"license": "MIT",
27+
"repository": {
28+
"type": "git",
29+
"url": "https://github.com/jane-alesi/js-chess-engine.git",
30+
"directory": "mcp-server"
31+
},
32+
"dependencies": {
33+
"@modelcontextprotocol/sdk": "^1.0.0",
34+
"express": "^4.18.2",
35+
"ws": "^8.14.2",
36+
"cors": "^2.8.5",
37+
"helmet": "^7.1.0",
38+
"rate-limiter-flexible": "^3.0.8",
39+
"jsonwebtoken": "^9.0.2",
40+
"bcryptjs": "^2.4.3",
41+
"dotenv": "^16.3.1",
42+
"uuid": "^9.0.1",
43+
"zod": "^3.22.4"
44+
},
45+
"devDependencies": {
46+
"@types/node": "^20.10.0",
47+
"@types/express": "^4.17.21",
48+
"@types/ws": "^8.5.10",
49+
"@types/cors": "^2.8.17",
50+
"@types/jsonwebtoken": "^9.0.5",
51+
"@types/bcryptjs": "^2.4.6",
52+
"@types/uuid": "^9.0.7",
53+
"@types/jest": "^29.5.8",
54+
"typescript": "^5.3.2",
55+
"tsx": "^4.6.0",
56+
"jest": "^29.7.0",
57+
"ts-jest": "^29.1.1",
58+
"eslint": "^8.54.0",
59+
"@typescript-eslint/eslint-plugin": "^6.12.0",
60+
"@typescript-eslint/parser": "^6.12.0",
61+
"prettier": "^3.1.0"
62+
},
63+
"engines": {
64+
"node": ">=18.0.0"
65+
}
66+
}

0 commit comments

Comments
 (0)