@edgegap/mcp 0.19.15 → 0.19.16
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 +15 -13
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Connect AI coding agents to Edgegap through our MCP server. Your agent can take a headless server build all the way to players connecting: write or check the Dockerfile, push the image to your private Edgegap registry, deploy an authoritative dedicated server close to players, and read logs when something breaks.
|
|
4
4
|
|
|
5
|
-
[](https://cursor.com/en/install-mcp?name=Edgegap&config=
|
|
6
|
-
[](https://vscode.dev/redirect/mcp/install?name=Edgegap&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.edgegap.
|
|
5
|
+
[](https://cursor.com/en/install-mcp?name=Edgegap&config=eyJ1cmwiOiJodHRwczovL21jcC5lZGdlZ2FwLmNvbS9tY3AiLCJoZWFkZXJzIjp7IkF1dGhvcml6YXRpb24iOiIifX0%3D)
|
|
6
|
+
[](https://vscode.dev/redirect/mcp/install?name=Edgegap&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.edgegap.com%2Fmcp%22%2C%22headers%22%3A%7B%22Authorization%22%3A%22%22%7D%7D)
|
|
7
7
|
[](https://glama.ai/mcp/connectors/dev.edgegap/mcp)
|
|
8
8
|
|
|
9
9
|
## 👉 Supported Features
|
|
@@ -79,12 +79,14 @@ The token is organization-wide and cannot be scoped to one application. Read [DE
|
|
|
79
79
|
|
|
80
80
|
### Popular Agents
|
|
81
81
|
|
|
82
|
+
The hosted endpoint is `https://mcp.edgegap.com/mcp`. Configurations that use the earlier `https://mcp.edgegap.dev/mcp` keep working: both serve the same server.
|
|
83
|
+
|
|
82
84
|
Install Edgegap MCP server in your preferred agentic IDE with the **Cursor** or **VS Code** buttons at the top of this page, then add your token to the `Authorization` header.
|
|
83
85
|
|
|
84
86
|
#### Claude Code
|
|
85
87
|
|
|
86
88
|
```bash
|
|
87
|
-
claude mcp add --transport http edgegap https://mcp.edgegap.
|
|
89
|
+
claude mcp add --transport http edgegap https://mcp.edgegap.com/mcp \
|
|
88
90
|
-H "Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62" --scope user
|
|
89
91
|
```
|
|
90
92
|
|
|
@@ -94,7 +96,7 @@ Codex reads the token from an environment variable and sends it as `Authorizatio
|
|
|
94
96
|
|
|
95
97
|
```toml
|
|
96
98
|
[mcp_servers.edgegap]
|
|
97
|
-
url = "https://mcp.edgegap.
|
|
99
|
+
url = "https://mcp.edgegap.com/mcp"
|
|
98
100
|
bearer_token_env_var = "EDGEGAP_API_TOKEN"
|
|
99
101
|
```
|
|
100
102
|
|
|
@@ -127,7 +129,7 @@ The **Cursor** button at the top of this page installs it; to do it by hand, add
|
|
|
127
129
|
{
|
|
128
130
|
"mcpServers": {
|
|
129
131
|
"edgegap": {
|
|
130
|
-
"url": "https://mcp.edgegap.
|
|
132
|
+
"url": "https://mcp.edgegap.com/mcp",
|
|
131
133
|
"headers": { "Authorization": "token xxxxxxxx-e458-4592-b607-c2c28afd8b62" }
|
|
132
134
|
}
|
|
133
135
|
}
|
|
@@ -143,7 +145,7 @@ The **VS Code** button at the top of this page installs it; to do it by hand, ad
|
|
|
143
145
|
"servers": {
|
|
144
146
|
"edgegap": {
|
|
145
147
|
"type": "http",
|
|
146
|
-
"url": "https://mcp.edgegap.
|
|
148
|
+
"url": "https://mcp.edgegap.com/mcp",
|
|
147
149
|
"headers": { "Authorization": "token xxxxxxxx-e458-4592-b607-c2c28afd8b62" }
|
|
148
150
|
}
|
|
149
151
|
}
|
|
@@ -175,7 +177,7 @@ Most agentic IDEs also support integration by pasting JSON configuration:
|
|
|
175
177
|
"mcpServers": {
|
|
176
178
|
"Edgegap": {
|
|
177
179
|
"type": "http",
|
|
178
|
-
"url": "https://mcp.edgegap.
|
|
180
|
+
"url": "https://mcp.edgegap.com/mcp",
|
|
179
181
|
"headers": {
|
|
180
182
|
"Authorization": "token xxxxxxxx-e458-4592-b607-c2c28afd8b62"
|
|
181
183
|
}
|
|
@@ -193,7 +195,7 @@ Install remote Edgegap MCP server in your agent's virtualized environment (never
|
|
|
193
195
|
```json
|
|
194
196
|
{
|
|
195
197
|
"command": "npx",
|
|
196
|
-
"args": ["-y", "mcp-remote", "https://mcp.edgegap.
|
|
198
|
+
"args": ["-y", "mcp-remote", "https://mcp.edgegap.com/mcp", "--transport", "http-only"]
|
|
197
199
|
}
|
|
198
200
|
```
|
|
199
201
|
|
|
@@ -202,7 +204,7 @@ Install remote Edgegap MCP server in your agent's virtualized environment (never
|
|
|
202
204
|
```json
|
|
203
205
|
{
|
|
204
206
|
"command": "uvx",
|
|
205
|
-
"args": ["mcp-proxy", "--transport", "streamablehttp", "https://mcp.edgegap.
|
|
207
|
+
"args": ["mcp-proxy", "--transport", "streamablehttp", "https://mcp.edgegap.com/mcp"]
|
|
206
208
|
}
|
|
207
209
|
```
|
|
208
210
|
|
|
@@ -226,9 +228,9 @@ To keep your API token on your own machine, run the server locally instead. Leav
|
|
|
226
228
|
}
|
|
227
229
|
```
|
|
228
230
|
|
|
229
|
-
Needs Node 18+. Pin a version in production (`@edgegap/mcp@0.19.
|
|
231
|
+
Needs Node 18+. Pin a version in production (`@edgegap/mcp@0.19.16`) rather than floating on latest. Registered in the official MCP registry as `dev.edgegap/mcp`.
|
|
230
232
|
|
|
231
|
-
The local server can also limit what an agent can do. These variables have no effect on the hosted endpoint at `mcp.edgegap.
|
|
233
|
+
The local server can also limit what an agent can do. These variables have no effect on the hosted endpoint at `mcp.edgegap.com`, which takes the two main ones as connection headers instead (see below):
|
|
232
234
|
|
|
233
235
|
| Variable | Default | Purpose |
|
|
234
236
|
| --- | --- | --- |
|
|
@@ -417,7 +419,7 @@ Your API token can do anything in your organization, so the server adds its own
|
|
|
417
419
|
|
|
418
420
|
The server identifies itself with `User-Agent: edgegap-mcp/<version> (<MCP client name>)` on every API call.
|
|
419
421
|
|
|
420
|
-
**Usage analytics.** The local server and the self-hosted Docker image send nothing beyond the API calls themselves. The hosted endpoint at `mcp.edgegap.
|
|
422
|
+
**Usage analytics.** The local server and the self-hosted Docker image send nothing beyond the API calls themselves. The hosted endpoint at `mcp.edgegap.com` uses [PostHog MCP Analytics](https://posthog.com/docs/mcp-analytics) (`@posthog/mcp`) and sends usage events to Edgegap's PostHog: which MCP client connected, which tool, prompt or skill resource was used, the names (not values) of the arguments passed, whether a call succeeded, its error code, the stage it failed at and the Edgegap API status, how long it took, whether it was a dry run, a few facts about the call (how a wait for a deployment ended, a validation result, which skill was loaded), which golden-path step was reached, plus the server version and Cloudflare's country code. On a failed call it also sends the error message, after removing your token, the values of the arguments you passed, and anything shaped like a credential, an IP address or an ID, cut to 300 characters. Deployment IDs are only sent as a keyed hash. Only named metadata properties are let through. It never sends your token, tool argument values (IP addresses, env vars, app or image names) or results, and GeoIP is off. It adds no parameters to the tools. Events from one token are grouped under a keyed, non-reversible hash of it. The full list is in [docs/analytics.md](docs/analytics.md). To opt out, send the header `X-Edgegap-Telemetry: off` (or `DNT: 1`), or use the local server.
|
|
421
423
|
|
|
422
424
|
## 🚨 Troubleshooting
|
|
423
425
|
|
|
@@ -467,7 +469,7 @@ Please consult our [API Reference](https://docs.edgegap.com/docs/api) for possib
|
|
|
467
469
|
|
|
468
470
|
## 🛠️ Self-Hosting
|
|
469
471
|
|
|
470
|
-
The hosted endpoint at `mcp.edgegap.
|
|
472
|
+
The hosted endpoint at `mcp.edgegap.com` runs as a Cloudflare Worker (see [worker/INSTALL.md](worker/INSTALL.md)). To run the same stateless HTTP server on your own infrastructure, use the Docker image:
|
|
471
473
|
|
|
472
474
|
```bash
|
|
473
475
|
docker build -t edgegap-mcp .
|
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.19.
|
|
4
|
+
"version": "0.19.16",
|
|
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",
|