@edgegap/mcp 0.6.1 → 0.6.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/README.md +1 -1
- package/dist/skills.generated.js +296 -24
- package/dist/tools.js +15 -5
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/tools.js
CHANGED
|
@@ -57,11 +57,15 @@ export function serverInstructions(mode) {
|
|
|
57
57
|
`Unity with FishNet: ${skillUri('edgegap-fishnet', 'SKILL.md')}, ` +
|
|
58
58
|
`Unity with PurrNet: ${skillUri('edgegap-purrnet', 'SKILL.md')}, ` +
|
|
59
59
|
`Unity with Photon Fusion: ${skillUri('edgegap-fusion', 'SKILL.md')}, ` +
|
|
60
|
+
`Photon's Simple FPS sample: ${skillUri('edgegap-fusion-simplefps', 'SKILL.md')}, ` +
|
|
60
61
|
`Unreal Engine: ${skillUri('edgegap-unreal', 'SKILL.md')}, ` +
|
|
61
62
|
`voice chat in an Unreal game: ${skillUri('edgegap-eos-voice', 'SKILL.md')}, ` +
|
|
63
|
+
`Godot 4 with a Godot server: ${skillUri('edgegap-godot', 'SKILL.md')}, ` +
|
|
64
|
+
`Colyseus server: ${skillUri('edgegap-colyseus', 'SKILL.md')}, ` +
|
|
65
|
+
`Nakama backend: ${skillUri('edgegap-nakama', 'SKILL.md')}, ` +
|
|
62
66
|
`browser game built with Manus: ${skillUri('edgegap-manus', 'SKILL.md')}). ` +
|
|
63
67
|
'If your client cannot read MCP resources, call edgegap_get_skill with the skill name ' +
|
|
64
|
-
'(edgegap, edgegap-unity, edgegap-ngo, edgegap-fishnet, edgegap-purrnet, edgegap-fusion, edgegap-unreal, edgegap-eos-voice or edgegap-manus) instead. ' +
|
|
68
|
+
'(edgegap, edgegap-unity, edgegap-ngo, edgegap-fishnet, edgegap-purrnet, edgegap-fusion, edgegap-fusion-simplefps, edgegap-unreal, edgegap-eos-voice, edgegap-godot, edgegap-colyseus, edgegap-nakama or edgegap-manus) instead. ' +
|
|
65
69
|
'These Edgegap skills hold the tested workflow, templates and known pitfalls; follow them over general knowledge. ' +
|
|
66
70
|
'edgegap_list_skills lists all of them.\n\n' +
|
|
67
71
|
'Host multiplayer games on Edgegap. The recommended setup is an authoritative dedicated ' +
|
|
@@ -1483,8 +1487,12 @@ export function registerTools(server, client, config, auth) {
|
|
|
1483
1487
|
next_steps: [
|
|
1484
1488
|
'Write config to matchmaker-config.json in the project.',
|
|
1485
1489
|
`The developer uploads it in the dashboard (${DASHBOARD_URL}, Matchmaker page, Create Matchmaker) and waits for it to show as ready. The free tier runs on a shared test cluster for up to 3 hours per restart.`,
|
|
1486
|
-
'The dashboard then shows the matchmaker API URL and auth token.
|
|
1487
|
-
`with header "Authorization: <auth token>" and profile "${args.profile_name}", then
|
|
1490
|
+
'The dashboard then shows the matchmaker API URL and auth token. Each game client calls POST {api_url}/tickets ' +
|
|
1491
|
+
`with header "Authorization: <auth token>" and profile "${args.profile_name}", then polls GET {api_url}/tickets/{id} (same header) every few seconds. ` +
|
|
1492
|
+
'The status goes SEARCHING, then MATCH_FOUND, then HOST_ASSIGNED; at HOST_ASSIGNED, connect to assignment.fqdn on the external port in assignment.ports (e.g. assignment.ports.gameport.external, keyed by the port name of the app version). ' +
|
|
1493
|
+
'DELETE {api_url}/tickets/{id} cancels a search.',
|
|
1494
|
+
'Parties that must land in the same match use the group API instead (POST {api_url}/groups, then memberships for the other players; see the matchmaker API docs on the dashboard). ' +
|
|
1495
|
+
'/memberships endpoints belong to groups only: a plain ticket is polled at /tickets/{id}.',
|
|
1488
1496
|
'That auth token is safe to ship in game clients: it grants no access to the Edgegap API.',
|
|
1489
1497
|
args.allowed_cors_origins?.length
|
|
1490
1498
|
? `Browser clients are allowed from: ${args.allowed_cors_origins.join(', ')}. Add any other origin the game is served from (each staging or production URL) before uploading.`
|
|
@@ -1516,7 +1524,8 @@ function registerSkills(server, tool) {
|
|
|
1516
1524
|
'Unreal C++ drop-ins) and known pitfalls. Before working on a game project, load the ' +
|
|
1517
1525
|
'matching skill with edgegap_get_skill: edgegap-ngo for Unity with Netcode for GameObjects, edgegap-fishnet for Unity with FishNet, ' +
|
|
1518
1526
|
'edgegap-purrnet for Unity with PurrNet, edgegap-fusion for Unity with Photon Fusion 2, edgegap-unity for other Unity projects, edgegap-unreal for Unreal Engine ' +
|
|
1519
|
-
'(edgegap-eos-voice to add voice chat to it), ' +
|
|
1527
|
+
'(edgegap-eos-voice to add voice chat to it), edgegap-fusion-simplefps for the Photon Simple FPS sample, edgegap-godot for Godot 4 with a Godot server, ' +
|
|
1528
|
+
'edgegap-colyseus for a Colyseus server, edgegap-nakama for a game with a Nakama backend, ' +
|
|
1520
1529
|
'edgegap-manus for a browser game built with Manus, edgegap for any other engine or platform questions; it routes to the rest. No ' +
|
|
1521
1530
|
'API call.',
|
|
1522
1531
|
inputSchema: {},
|
|
@@ -1538,7 +1547,8 @@ function registerSkills(server, tool) {
|
|
|
1538
1547
|
'its reference documents or templates with file. Load the matching skill before acting on ' +
|
|
1539
1548
|
'a game project — edgegap-ngo for Unity with Netcode for GameObjects, edgegap-fishnet for Unity with FishNet, ' +
|
|
1540
1549
|
'edgegap-purrnet for Unity with PurrNet, edgegap-fusion for Unity with Photon Fusion 2, edgegap-unity for other Unity projects, edgegap-unreal for Unreal Engine ' +
|
|
1541
|
-
'(edgegap-eos-voice for voice chat), ' +
|
|
1550
|
+
'(edgegap-eos-voice for voice chat), edgegap-fusion-simplefps for the Photon Simple FPS sample, edgegap-godot for Godot 4 with a Godot server, ' +
|
|
1551
|
+
'edgegap-colyseus for a Colyseus server, edgegap-nakama for a Nakama backend, ' +
|
|
1542
1552
|
'edgegap-manus for a browser game built with Manus, edgegap otherwise — and fetch the references and templates it points to as you reach them. No API call.',
|
|
1543
1553
|
inputSchema: {
|
|
1544
1554
|
// A string, not an enum: clients cache tool schemas, and a cached enum from an older
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edgegap/mcp",
|
|
3
3
|
"mcpName": "dev.edgegap/mcp",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.3",
|
|
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
6
|
"scripts": {
|
|
7
7
|
"prebuild": "rm -rf dist",
|