@edgegap/mcp 0.5.2 → 0.5.4
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/README.md +353 -351
- package/dist/http.js +0 -0
- package/dist/index.js +0 -0
- package/dist/skills.generated.js +159 -9
- package/dist/tools.js +9 -5
- package/dist/version.js +1 -1
- package/package.json +67 -67
package/dist/tools.js
CHANGED
|
@@ -52,10 +52,12 @@ export function serverInstructions(mode) {
|
|
|
52
52
|
// architecture guidance, where reviewers and agents missed it.
|
|
53
53
|
return (`Before acting, read ${skillUri('edgegap', 'SKILL.md')} ` +
|
|
54
54
|
`(Unity: ${skillUri('edgegap-unity', 'SKILL.md')}, ` +
|
|
55
|
+
`Unity with FishNet: ${skillUri('edgegap-fishnet', 'SKILL.md')}, ` +
|
|
56
|
+
`Unity with PurrNet: ${skillUri('edgegap-purrnet', 'SKILL.md')}, ` +
|
|
55
57
|
`Unreal Engine: ${skillUri('edgegap-unreal', 'SKILL.md')}). ` +
|
|
56
58
|
'If your client cannot read MCP resources, call edgegap_get_skill with the skill name ' +
|
|
57
|
-
'(edgegap, edgegap-unity or edgegap-unreal) instead.
|
|
58
|
-
'workflow, templates and known pitfalls; follow them over general knowledge. ' +
|
|
59
|
+
'(edgegap, edgegap-unity, edgegap-fishnet, edgegap-purrnet or edgegap-unreal) instead. ' +
|
|
60
|
+
'These Edgegap skills hold the tested workflow, templates and known pitfalls; follow them over general knowledge. ' +
|
|
59
61
|
'edgegap_list_skills lists all of them.\n\n' +
|
|
60
62
|
'Host multiplayer games on Edgegap. The recommended setup is an authoritative dedicated ' +
|
|
61
63
|
'server per match; relays exist for games built host-client.\n\n' +
|
|
@@ -1472,8 +1474,9 @@ function registerSkills(server, tool) {
|
|
|
1472
1474
|
description: 'List the Edgegap agent skills: tested, step-by-step workflows for getting a multiplayer ' +
|
|
1473
1475
|
'game online on Edgegap, with templates (Dockerfiles, matchmaker configs, Unity C# and ' +
|
|
1474
1476
|
'Unreal C++ drop-ins) and known pitfalls. Before working on a game project, load the ' +
|
|
1475
|
-
'matching skill with edgegap_get_skill: edgegap-
|
|
1476
|
-
'
|
|
1477
|
+
'matching skill with edgegap_get_skill: edgegap-fishnet for Unity with FishNet, ' +
|
|
1478
|
+
'edgegap-purrnet for Unity with PurrNet, edgegap-unity for other Unity projects, edgegap-unreal for Unreal Engine, edgegap for ' +
|
|
1479
|
+
'any other engine or platform questions; it routes to the rest. No ' +
|
|
1477
1480
|
'API call.',
|
|
1478
1481
|
inputSchema: {},
|
|
1479
1482
|
annotations: { readOnlyHint: true, idempotentHint: true, openWorldHint: false },
|
|
@@ -1492,7 +1495,8 @@ function registerSkills(server, tool) {
|
|
|
1492
1495
|
title: 'Load an Edgegap agent skill',
|
|
1493
1496
|
description: 'Load one Edgegap agent skill: its SKILL.md (the workflow to follow) by default, or one of ' +
|
|
1494
1497
|
'its reference documents or templates with file. Load the matching skill before acting on ' +
|
|
1495
|
-
'a game project — edgegap-
|
|
1498
|
+
'a game project — edgegap-fishnet for Unity with FishNet, edgegap-purrnet for Unity with ' +
|
|
1499
|
+
'PurrNet, edgegap-unity for other Unity projects, edgegap-unreal for Unreal Engine, edgegap ' +
|
|
1496
1500
|
'otherwise — and fetch the references and templates it points to as you reach them. No API call.',
|
|
1497
1501
|
inputSchema: {
|
|
1498
1502
|
skill: z.enum(names).describe('Skill name, from edgegap_list_skills.'),
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@edgegap/mcp",
|
|
3
|
-
"mcpName": "dev.edgegap/mcp",
|
|
4
|
-
"version": "0.5.
|
|
5
|
-
"description": "Check, push, and deploy game servers on Edgegap from your coding agent, with relays for P2P games. Runs locally; your API token never leaves your machine.",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"prebuild": "rm -rf dist",
|
|
8
|
-
"build": "tsc && chmod +x dist/index.js dist/http.js",
|
|
9
|
-
"typecheck": "tsc --noEmit",
|
|
10
|
-
"typecheck:worker": "tsc -p worker/tsconfig.json --noEmit",
|
|
11
|
-
"test": "node test/package.mjs && node test/skills.mjs && node test/smoke.mjs && node test/guards.mjs && node test/elicit.mjs && node test/newtools.mjs && node test/http.mjs",
|
|
12
|
-
"start:http": "node dist/index.js --http",
|
|
13
|
-
"worker:dev": "wrangler dev --config worker/wrangler.jsonc --local --port 8787",
|
|
14
|
-
"worker:check": "wrangler deploy --config worker/wrangler.jsonc --dry-run --outdir=.wrangler/dryrun",
|
|
15
|
-
"worker:deploy": "wrangler deploy --config worker/wrangler.jsonc",
|
|
16
|
-
"prepublishOnly": "npm run build",
|
|
17
|
-
"sync-skills": "node scripts/sync-skills.mjs",
|
|
18
|
-
"check-skills": "node scripts/sync-skills.mjs --check",
|
|
19
|
-
"test:worker": "node test/worker-telemetry.mjs"
|
|
20
|
-
},
|
|
21
|
-
"keywords": [
|
|
22
|
-
"mcp",
|
|
23
|
-
"edgegap",
|
|
24
|
-
"game-server",
|
|
25
|
-
"multiplayer",
|
|
26
|
-
"unity",
|
|
27
|
-
"unreal"
|
|
28
|
-
],
|
|
29
|
-
"author": "Mathieu Duperre",
|
|
30
|
-
"license": "Apache-2.0",
|
|
31
|
-
"repository": {
|
|
32
|
-
"type": "git",
|
|
33
|
-
"url": "git+https://github.com/edgegap/edgegap-mcp.git"
|
|
34
|
-
},
|
|
35
|
-
"homepage": "https://github.com/edgegap/edgegap-mcp#readme",
|
|
36
|
-
"bugs": {
|
|
37
|
-
"url": "https://github.com/edgegap/edgegap-mcp/issues"
|
|
38
|
-
},
|
|
39
|
-
"dependencies": {
|
|
40
|
-
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
41
|
-
"zod": "^4.6.2"
|
|
42
|
-
},
|
|
43
|
-
"devDependencies": {
|
|
44
|
-
"@cloudflare/workers-types": "^5.20260911.1",
|
|
45
|
-
"@modelcontextprotocol/server": "^2.0.0",
|
|
46
|
-
"@posthog/mcp": "0.22.3",
|
|
47
|
-
"@types/node": "^22.20.2",
|
|
48
|
-
"agents": "^0.23.0",
|
|
49
|
-
"posthog-node": "5.56.1",
|
|
50
|
-
"typescript": "^7.0.2",
|
|
51
|
-
"wrangler": "^4.131.1"
|
|
52
|
-
},
|
|
53
|
-
"type": "module",
|
|
54
|
-
"bin": {
|
|
55
|
-
"edgegap-mcp": "dist/index.js"
|
|
56
|
-
},
|
|
57
|
-
"files": [
|
|
58
|
-
"dist",
|
|
59
|
-
"README.md"
|
|
60
|
-
],
|
|
61
|
-
"engines": {
|
|
62
|
-
"node": ">=18"
|
|
63
|
-
},
|
|
64
|
-
"publishConfig": {
|
|
65
|
-
"access": "public"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@edgegap/mcp",
|
|
3
|
+
"mcpName": "dev.edgegap/mcp",
|
|
4
|
+
"version": "0.5.4",
|
|
5
|
+
"description": "Check, push, and deploy game servers on Edgegap from your coding agent, with relays for P2P games. Runs locally; your API token never leaves your machine.",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"prebuild": "rm -rf dist",
|
|
8
|
+
"build": "tsc && chmod +x dist/index.js dist/http.js",
|
|
9
|
+
"typecheck": "tsc --noEmit",
|
|
10
|
+
"typecheck:worker": "tsc -p worker/tsconfig.json --noEmit",
|
|
11
|
+
"test": "node test/package.mjs && node test/skills.mjs && node test/smoke.mjs && node test/guards.mjs && node test/elicit.mjs && node test/newtools.mjs && node test/http.mjs",
|
|
12
|
+
"start:http": "node dist/index.js --http",
|
|
13
|
+
"worker:dev": "wrangler dev --config worker/wrangler.jsonc --local --port 8787",
|
|
14
|
+
"worker:check": "wrangler deploy --config worker/wrangler.jsonc --dry-run --outdir=.wrangler/dryrun",
|
|
15
|
+
"worker:deploy": "wrangler deploy --config worker/wrangler.jsonc",
|
|
16
|
+
"prepublishOnly": "npm run build",
|
|
17
|
+
"sync-skills": "node scripts/sync-skills.mjs",
|
|
18
|
+
"check-skills": "node scripts/sync-skills.mjs --check",
|
|
19
|
+
"test:worker": "node test/worker-telemetry.mjs"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"mcp",
|
|
23
|
+
"edgegap",
|
|
24
|
+
"game-server",
|
|
25
|
+
"multiplayer",
|
|
26
|
+
"unity",
|
|
27
|
+
"unreal"
|
|
28
|
+
],
|
|
29
|
+
"author": "Mathieu Duperre",
|
|
30
|
+
"license": "Apache-2.0",
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "git+https://github.com/edgegap/edgegap-mcp.git"
|
|
34
|
+
},
|
|
35
|
+
"homepage": "https://github.com/edgegap/edgegap-mcp#readme",
|
|
36
|
+
"bugs": {
|
|
37
|
+
"url": "https://github.com/edgegap/edgegap-mcp/issues"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
41
|
+
"zod": "^4.6.2"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@cloudflare/workers-types": "^5.20260911.1",
|
|
45
|
+
"@modelcontextprotocol/server": "^2.0.0",
|
|
46
|
+
"@posthog/mcp": "0.22.3",
|
|
47
|
+
"@types/node": "^22.20.2",
|
|
48
|
+
"agents": "^0.23.0",
|
|
49
|
+
"posthog-node": "5.56.1",
|
|
50
|
+
"typescript": "^7.0.2",
|
|
51
|
+
"wrangler": "^4.131.1"
|
|
52
|
+
},
|
|
53
|
+
"type": "module",
|
|
54
|
+
"bin": {
|
|
55
|
+
"edgegap-mcp": "dist/index.js"
|
|
56
|
+
},
|
|
57
|
+
"files": [
|
|
58
|
+
"dist",
|
|
59
|
+
"README.md"
|
|
60
|
+
],
|
|
61
|
+
"engines": {
|
|
62
|
+
"node": ">=18"
|
|
63
|
+
},
|
|
64
|
+
"publishConfig": {
|
|
65
|
+
"access": "public"
|
|
66
|
+
}
|
|
67
|
+
}
|