@edgegap/mcp 0.6.1 → 0.6.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 CHANGED
@@ -157,7 +157,7 @@ To keep your API token on your own machine, run the server locally instead. Leav
157
157
  }
158
158
  ```
159
159
 
160
- Needs Node 18+. Pin a version in production (`@edgegap/mcp@0.6.1`) rather than floating on latest. Registered in the official MCP registry as `dev.edgegap/mcp`.
160
+ Needs Node 18+. Pin a version in production (`@edgegap/mcp@0.6.2`) rather than floating on latest. Registered in the official MCP registry as `dev.edgegap/mcp`.
161
161
 
162
162
  The local server can also limit what an agent can do. These variables have no effect on the hosted endpoint at `mcp.edgegap.dev`:
163
163
 
package/dist/tools.js CHANGED
@@ -1483,8 +1483,12 @@ export function registerTools(server, client, config, auth) {
1483
1483
  next_steps: [
1484
1484
  'Write config to matchmaker-config.json in the project.',
1485
1485
  `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. Game clients call POST {api_url}/tickets ' +
1487
- `with header "Authorization: <auth token>" and profile "${args.profile_name}", then poll GET {api_url}/memberships/{id} until it returns the server address.`,
1486
+ 'The dashboard then shows the matchmaker API URL and auth token. Each game client calls POST {api_url}/tickets ' +
1487
+ `with header "Authorization: <auth token>" and profile "${args.profile_name}", then polls GET {api_url}/tickets/{id} (same header) every few seconds. ` +
1488
+ '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). ' +
1489
+ 'DELETE {api_url}/tickets/{id} cancels a search.',
1490
+ '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). ' +
1491
+ '/memberships endpoints belong to groups only: a plain ticket is polled at /tickets/{id}.',
1488
1492
  'That auth token is safe to ship in game clients: it grants no access to the Edgegap API.',
1489
1493
  args.allowed_cors_origins?.length
1490
1494
  ? `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.`
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.6.1';
6
+ export const VERSION = '0.6.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.6.1",
4
+ "version": "0.6.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",