@edgegap/mcp 0.7.1 → 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/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/edgegap-agent-skills) are the workflows,
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
@@ -64,9 +64,10 @@ export function serverInstructions(mode) {
64
64
  `Colyseus server: ${skillUri('edgegap-colyseus', 'SKILL.md')}, ` +
65
65
  `Nakama backend: ${skillUri('edgegap-nakama', 'SKILL.md')}, ` +
66
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')}, ` +
67
68
  `browser game built with Manus: ${skillUri('edgegap-manus', 'SKILL.md')}). ` +
68
69
  'If your client cannot read MCP resources, call edgegap_get_skill with the skill name ' +
69
- '(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 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. ' +
70
71
  'These Edgegap skills hold the tested workflow, templates and known pitfalls; follow them over general knowledge. ' +
71
72
  'edgegap_list_skills lists all of them.\n\n' +
72
73
  'Host multiplayer games on Edgegap. The recommended setup is an authoritative dedicated ' +
@@ -1935,6 +1936,7 @@ function registerSkills(server, tool) {
1935
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 ' +
1936
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, ' +
1937
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, ' +
1938
1940
  'edgegap-manus for a browser game built with Manus, edgegap for any other engine or platform questions; it routes to the rest. No ' +
1939
1941
  'API call.',
1940
1942
  inputSchema: {},
@@ -1958,6 +1960,7 @@ function registerSkills(server, tool) {
1958
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 ' +
1959
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, ' +
1960
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, ' +
1961
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.',
1962
1965
  inputSchema: {
1963
1966
  // A string, not an enum: clients cache tool schemas, and a cached enum from an older
package/dist/version.js CHANGED
@@ -3,4 +3,4 @@
3
3
  * call, and by edgegap_context. Keep in step with package.json and server.json;
4
4
  * test/package.mjs fails the build when they disagree.
5
5
  */
6
- export const VERSION = '0.7.1';
6
+ export const VERSION = '0.7.2';
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.1",
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",