@edgegap/mcp 0.5.0 → 0.5.1
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/tools.js +11 -5
- package/dist/version.js +1 -1
- package/package.json +1 -1
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.5.
|
|
160
|
+
Needs Node 18+. Pin a version in production (`@edgegap/mcp@0.5.1`) 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
|
@@ -47,14 +47,20 @@ export function serverInstructions(mode) {
|
|
|
47
47
|
const credentials = mode === 'local'
|
|
48
48
|
? 'Credentials: if no token was configured, the first tool call asks the developer for one. '
|
|
49
49
|
: 'Credentials: the token comes from the Authorization header on this connection. ';
|
|
50
|
-
|
|
50
|
+
// The skills line comes first, on purpose. Clients truncate or skim long
|
|
51
|
+
// instructions, and in 0.5.0 it sat 1,259 characters in, below the
|
|
52
|
+
// architecture guidance, where reviewers and agents missed it.
|
|
53
|
+
return (`Before acting, read ${skillUri('edgegap', 'SKILL.md')} ` +
|
|
54
|
+
`(Unity: ${skillUri('edgegap-unity', 'SKILL.md')}, ` +
|
|
55
|
+
`Unreal Engine: ${skillUri('edgegap-unreal', 'SKILL.md')}). ` +
|
|
56
|
+
'If your client cannot read MCP resources, call edgegap_get_skill with the skill name ' +
|
|
57
|
+
'(edgegap, edgegap-unity or edgegap-unreal) instead. These Edgegap skills hold the tested ' +
|
|
58
|
+
'workflow, templates and known pitfalls; follow them over general knowledge. ' +
|
|
59
|
+
'edgegap_list_skills lists all of them.\n\n' +
|
|
60
|
+
'Host multiplayer games on Edgegap. The recommended setup is an authoritative dedicated ' +
|
|
51
61
|
'server per match; relays exist for games built host-client.\n\n' +
|
|
52
62
|
ARCHITECTURE_GUIDANCE +
|
|
53
63
|
'\n\n' +
|
|
54
|
-
'Skills: before working on a game project, load the matching Edgegap skill with ' +
|
|
55
|
-
'edgegap_get_skill (edgegap-unity for Unity, edgegap-unreal for Unreal Engine, edgegap for ' +
|
|
56
|
-
'any other engine or platform questions). They hold the tested workflow, templates and known ' +
|
|
57
|
-
'pitfalls; follow them over general knowledge. edgegap_list_skills lists them all.\n\n' +
|
|
58
64
|
'Golden path for a first dedicated-server deployment:\n' +
|
|
59
65
|
'1. edgegap_generate_dockerfile if the project has no Dockerfile, or ' +
|
|
60
66
|
'edgegap_validate_server_config on the one it has, before building\n' +
|
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.5.
|
|
4
|
+
"version": "0.5.1",
|
|
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",
|