horizon-mcp 1.8.0 → 1.8.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/dist/prompts/debug-connection.js +1 -1
- package/dist/prompts/debug-connection.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/docs/auth.md +1 -1
- package/src/resources/docs/feedback.md +1 -1
- package/src/resources/docs/overview.md +2 -2
- package/src/resources/docs/user-logs.md +1 -1
- package/src/resources/quickstart/godot.md +1 -1
- package/src/resources/quickstart/unity.md +1 -1
- package/src/resources/quickstart/unreal.md +1 -1
|
@@ -8,7 +8,7 @@ export function registerDebugConnectionPrompt(server) {
|
|
|
8
8
|
role: "user",
|
|
9
9
|
content: {
|
|
10
10
|
type: "text",
|
|
11
|
-
text: `My horizOn integration isn't working. Please help me debug the connection.\n\nSteps:\n1. Use the horizon_test_connection tool to check server reachability and API key validity\n2. If the connection fails, diagnose the issue:\n - Is HORIZON_API_KEY set correctly?\n - Is the server URL correct (default: https://horizon.pm)?\n - Is there a network/firewall issue?\n3. If the connection succeeds but features fail, check:\n - Is the user authenticated? (try horizon_check_auth)\n - Are tier limits being hit? (check the feature docs for limits)\n - Is rate limiting active? (
|
|
11
|
+
text: `My horizOn integration isn't working. Please help me debug the connection.\n\nSteps:\n1. Use the horizon_test_connection tool to check server reachability and API key validity\n2. If the connection fails, diagnose the issue:\n - Is HORIZON_API_KEY set correctly?\n - Is the server URL correct (default: https://horizon.pm)?\n - Is there a network/firewall issue?\n3. If the connection succeeds but features fail, check:\n - Is the user authenticated? (try horizon_check_auth)\n - Are tier limits being hit? (check the feature docs for limits)\n - Is rate limiting active? (HTTP 429 above the per-account limit per minute: FREE 20, BASIC 120, PRO 600, ENTERPRISE 2000, then wait for Retry-After)\n4. Provide specific fixes for any issues found`,
|
|
12
12
|
},
|
|
13
13
|
},
|
|
14
14
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug-connection.js","sourceRoot":"","sources":["../../src/prompts/debug-connection.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,6BAA6B,CAAC,MAAiB;IAC7D,MAAM,CAAC,cAAc,CAAC,kBAAkB,EAAE;QACxC,KAAK,EAAE,0BAA0B;QACjC,WAAW,EAAE,6CAA6C;KAC3D,EAAE,GAAG,EAAE,CAAC,CAAC;QACR,QAAQ,EAAE;YACR;gBACE,IAAI,EAAE,MAAe;gBACrB,OAAO,EAAE;oBACP,IAAI,EAAE,MAAe;oBACrB,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"debug-connection.js","sourceRoot":"","sources":["../../src/prompts/debug-connection.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,6BAA6B,CAAC,MAAiB;IAC7D,MAAM,CAAC,cAAc,CAAC,kBAAkB,EAAE;QACxC,KAAK,EAAE,0BAA0B;QACjC,WAAW,EAAE,6CAA6C;KAC3D,EAAE,GAAG,EAAE,CAAC,CAAC;QACR,QAAQ,EAAE;YACR;gBACE,IAAI,EAAE,MAAe;gBACrB,OAAO,EAAE;oBACP,IAAI,EAAE,MAAe;oBACrB,IAAI,EAAE,ovBAAovB;iBAC3vB;aACF;SACF;KACF,CAAC,CAAC,CAAC;AACN,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "horizon-mcp",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.1",
|
|
4
4
|
"description": "MCP server for horizOn Backend-as-a-Service: documentation, live API tools, and workflow prompts for Godot, Unity, and Unreal Engine integration.",
|
|
5
5
|
"mcpName": "io.github.ProjectMakersDE/horizon-mcp",
|
|
6
6
|
"type": "module",
|
|
@@ -277,4 +277,4 @@ curl -X POST https://horizon.pm/api/v1/app/user-management/signin \
|
|
|
277
277
|
| 403 | User not verified | Complete email verification first |
|
|
278
278
|
| 404 | User not found | User may not exist, try signup |
|
|
279
279
|
| 409 | User already exists | Use signin instead of signup |
|
|
280
|
-
| 429 | Rate limit exceeded | Wait before retrying (
|
|
280
|
+
| 429 | Rate limit exceeded | Wait for `Retry-After` before retrying (per-account limit per minute) |
|
|
@@ -115,7 +115,7 @@ curl -X POST https://horizon.pm/api/v1/app/user-feedback/submit \
|
|
|
115
115
|
- **Include device info for bug reports** — Both SDKs auto-collect device info; enable it for bug reports.
|
|
116
116
|
- **Use categories** — Categorize feedback as `BUG`, `FEATURE`, or `GENERAL` for easier triage in the Dashboard.
|
|
117
117
|
- **Add contact email** — Include the user's email if they want to receive follow-up responses.
|
|
118
|
-
- **Rate limit awareness** — Feedback submission counts toward the
|
|
118
|
+
- **Rate limit awareness** — Feedback submission counts toward the account's per-minute rate limit.
|
|
119
119
|
|
|
120
120
|
## Common Errors
|
|
121
121
|
|
|
@@ -43,10 +43,10 @@ horizOn offers four pricing tiers with different limits:
|
|
|
43
43
|
|---------|------|-------|-----|------------|
|
|
44
44
|
| **Cloud Save Size** | 1 KB | 5 KB | 20 KB | 250 KB |
|
|
45
45
|
| **User Logs** | Not available | Available | Available | Available |
|
|
46
|
-
| **Rate Limit** |
|
|
46
|
+
| **Rate Limit** | 20 req/min | 120 req/min | 600 req/min | 2,000 req/min |
|
|
47
47
|
| **All other features** | Available | Available | Available | Available |
|
|
48
48
|
|
|
49
|
-
**Rate Limit:**
|
|
49
|
+
**Rate Limit:** The limit counts all requests of an account per minute (defaults above). Above it the API returns `429` with a `Retry-After` header. Plan API calls carefully and use caching.
|
|
50
50
|
|
|
51
51
|
## API Structure
|
|
52
52
|
|
|
@@ -123,7 +123,7 @@ curl -X POST https://horizon.pm/api/v1/app/user-logs/create \
|
|
|
123
123
|
- **Log meaningful events** — Track milestones (tutorial complete, level up), not routine actions.
|
|
124
124
|
- **Use error codes** — Consistent error codes make it easy to filter and analyze issues in the Dashboard.
|
|
125
125
|
- **Truncate long messages** — Messages are limited to 1000 characters. Both SDKs auto-truncate.
|
|
126
|
-
- **Be aware of rate limits** — Each log creation counts toward the
|
|
126
|
+
- **Be aware of rate limits** — Each log creation counts toward the account's per-minute rate limit. Batch or throttle logging.
|
|
127
127
|
|
|
128
128
|
## Tier Requirements
|
|
129
129
|
|
|
@@ -244,7 +244,7 @@ Edit your config resource at `addons/horizon_sdk/horizon_config.tres`:
|
|
|
244
244
|
|
|
245
245
|
## Rate Limit Best Practices
|
|
246
246
|
|
|
247
|
-
The rate limit
|
|
247
|
+
The rate limit counts all requests of an account per minute: **FREE 20, BASIC 120, PRO 600, ENTERPRISE 2,000** (defaults). Plan your API calls:
|
|
248
248
|
|
|
249
249
|
```gdscript
|
|
250
250
|
func _ready():
|
|
@@ -328,7 +328,7 @@ if (data == null)
|
|
|
328
328
|
|---------|------|-------|-----|------------|
|
|
329
329
|
| Cloud Save | 1 KB | 5 KB | 20 KB | 250 KB |
|
|
330
330
|
| User Logs | No | Yes | Yes | Yes |
|
|
331
|
-
| Rate Limit |
|
|
331
|
+
| Rate Limit | 20/min | 120/min | 600/min | 2,000/min |
|
|
332
332
|
|
|
333
333
|
## Efficient Startup Pattern
|
|
334
334
|
|
|
@@ -283,7 +283,7 @@ The plugin ships `AHelloHorizonActor`. Set the API key and Backend Hosts in Proj
|
|
|
283
283
|
|
|
284
284
|
## Rate Limit Best Practices
|
|
285
285
|
|
|
286
|
-
|
|
286
|
+
The rate limit counts all requests of an account per minute: **FREE 20, BASIC 120, PRO 600, ENTERPRISE 2,000** (defaults). The SDK retries HTTP 429 responses automatically.
|
|
287
287
|
|
|
288
288
|
- Load all remote configs and localizations once at startup
|
|
289
289
|
- Use the `bUseCache` parameters for leaderboards, remote config and news
|