@edgegap/mcp 0.7.0 → 0.7.2
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 +3 -3
- package/dist/skills.generated.js +265 -63
- package/dist/skills.js +5 -1
- package/dist/tools.js +7 -3
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/skills.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The Edgegap agent skills, served by this MCP server.
|
|
3
3
|
*
|
|
4
|
-
* The skills (github.com/edgegap/
|
|
4
|
+
* The skills (github.com/edgegap/llm-agent-skills) are the workflows,
|
|
5
5
|
* templates and pitfalls an agent needs to take a game from "works on my
|
|
6
6
|
* machine" to matched players on a dedicated server. Serving them here means
|
|
7
7
|
* every agent connected to Edgegap MCP has them, whether or not it can install
|
|
@@ -43,6 +43,10 @@ export function mimeType(path) {
|
|
|
43
43
|
return 'application/xml';
|
|
44
44
|
if (/\.(ts|mjs)$/.test(path))
|
|
45
45
|
return 'text/javascript';
|
|
46
|
+
if (path.endsWith('.html'))
|
|
47
|
+
return 'text/html';
|
|
48
|
+
if (path.endsWith('.css'))
|
|
49
|
+
return 'text/css';
|
|
46
50
|
return 'text/plain';
|
|
47
51
|
}
|
|
48
52
|
/** The skill's other files, so an agent knows what it can fetch next. */
|
package/dist/tools.js
CHANGED
|
@@ -63,9 +63,11 @@ export function serverInstructions(mode) {
|
|
|
63
63
|
`Godot 4 with a Godot server: ${skillUri('edgegap-godot', 'SKILL.md')}, ` +
|
|
64
64
|
`Colyseus server: ${skillUri('edgegap-colyseus', 'SKILL.md')}, ` +
|
|
65
65
|
`Nakama backend: ${skillUri('edgegap-nakama', 'SKILL.md')}, ` +
|
|
66
|
+
`PlayFab Matchmaking: ${skillUri('edgegap-playfab', 'SKILL.md')}, ` +
|
|
67
|
+
`Three.js or other browser game with its own Node.js server: ${skillUri('edgegap-threejs', 'SKILL.md')}, ` +
|
|
66
68
|
`browser game built with Manus: ${skillUri('edgegap-manus', 'SKILL.md')}). ` +
|
|
67
69
|
'If your client cannot read MCP resources, call edgegap_get_skill with the skill name ' +
|
|
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. ' +
|
|
70
|
+
'(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, edgegap-playfab, edgegap-threejs or edgegap-manus) instead. ' +
|
|
69
71
|
'These Edgegap skills hold the tested workflow, templates and known pitfalls; follow them over general knowledge. ' +
|
|
70
72
|
'edgegap_list_skills lists all of them.\n\n' +
|
|
71
73
|
'Host multiplayer games on Edgegap. The recommended setup is an authoritative dedicated ' +
|
|
@@ -1933,7 +1935,8 @@ function registerSkills(server, tool) {
|
|
|
1933
1935
|
'matching skill with edgegap_get_skill: edgegap-ngo for Unity with Netcode for GameObjects, edgegap-fishnet for Unity with FishNet, ' +
|
|
1934
1936
|
'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 ' +
|
|
1935
1937
|
'(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, ' +
|
|
1936
|
-
'edgegap-colyseus for a Colyseus server, edgegap-nakama for a game with a Nakama backend, ' +
|
|
1938
|
+
'edgegap-colyseus for a Colyseus server, edgegap-nakama for a game with a Nakama backend, edgegap-playfab for a game that keeps PlayFab Matchmaking, ' +
|
|
1939
|
+
'edgegap-threejs for a Three.js or other browser game with its own Node.js server, ' +
|
|
1937
1940
|
'edgegap-manus for a browser game built with Manus, edgegap for any other engine or platform questions; it routes to the rest. No ' +
|
|
1938
1941
|
'API call.',
|
|
1939
1942
|
inputSchema: {},
|
|
@@ -1956,7 +1959,8 @@ function registerSkills(server, tool) {
|
|
|
1956
1959
|
'a game project — edgegap-ngo for Unity with Netcode for GameObjects, edgegap-fishnet for Unity with FishNet, ' +
|
|
1957
1960
|
'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 ' +
|
|
1958
1961
|
'(edgegap-eos-voice for voice chat), edgegap-fusion-simplefps for the Photon Simple FPS sample, edgegap-godot for Godot 4 with a Godot server, ' +
|
|
1959
|
-
'edgegap-colyseus for a Colyseus server, edgegap-nakama for a Nakama backend, ' +
|
|
1962
|
+
'edgegap-colyseus for a Colyseus server, edgegap-nakama for a Nakama backend, edgegap-playfab for PlayFab Matchmaking, ' +
|
|
1963
|
+
'edgegap-threejs for a Three.js/browser game with a Node.js server, ' +
|
|
1960
1964
|
'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.',
|
|
1961
1965
|
inputSchema: {
|
|
1962
1966
|
// 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.7.
|
|
4
|
+
"version": "0.7.2",
|
|
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",
|