@attrkit/mcp 0.3.0 → 0.3.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 +5 -1
- package/dist/cli.js +1 -1
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -29,6 +29,9 @@ it does not recompute it.
|
|
|
29
29
|
|
|
30
30
|
## Before you connect
|
|
31
31
|
|
|
32
|
+
Install Node.js 18 or newer. The `npx -y @attrkit/mcp` command downloads and
|
|
33
|
+
starts the server automatically, so no global install is required.
|
|
34
|
+
|
|
32
35
|
Create the first workspace management key under
|
|
33
36
|
[Dashboard → Settings → API keys](https://attrikit.io/en/dashboard/settings/api-keys).
|
|
34
37
|
This one-time bootstrap requires the dashboard.
|
|
@@ -168,7 +171,8 @@ surface.
|
|
|
168
171
|
for an exact retry. One-time secret responses are encrypted at rest and safely
|
|
169
172
|
replayed.
|
|
170
173
|
- Management keys are protected by distributed per-key global, mutation, and
|
|
171
|
-
expensive-operation limits.
|
|
174
|
+
expensive-operation limits. A `429` response includes `Retry-After`; wait at
|
|
175
|
+
least that many seconds before retrying.
|
|
172
176
|
- All diagnostics go to stderr. stdout is reserved for the MCP transport.
|
|
173
177
|
- MCP clients store environment values in local configuration. Never commit a
|
|
174
178
|
configuration containing a key. Restrict access to the file and revoke any
|
package/dist/cli.js
CHANGED
|
@@ -71,7 +71,7 @@ function toToolResult(result) {
|
|
|
71
71
|
structuredContent: structured
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
|
-
var SERVER_VERSION = "0.3.
|
|
74
|
+
var SERVER_VERSION = "0.3.2";
|
|
75
75
|
var periodSchema = z.enum(["7d", "30d", "90d", "all"]).describe("Reporting window. Defaults to 30d.").optional();
|
|
76
76
|
var appIdSchema = z.string().describe("Optional app id to scope the result to one app.").optional();
|
|
77
77
|
var requiredAppIdSchema = z.string().describe("The AttrKit app id.");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@attrkit/mcp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "AttrKit's stdio MCP server for its public Management API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"attrkit",
|
|
@@ -11,13 +11,18 @@
|
|
|
11
11
|
"agent-tools"
|
|
12
12
|
],
|
|
13
13
|
"homepage": "https://attrikit.io/en/docs/mcp",
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "https://github.com/KamyarTaher/attrikit.git",
|
|
17
|
+
"directory": "packages/mcp"
|
|
18
|
+
},
|
|
14
19
|
"license": "UNLICENSED",
|
|
15
20
|
"type": "module",
|
|
16
21
|
"engines": {
|
|
17
22
|
"node": ">=18"
|
|
18
23
|
},
|
|
19
24
|
"bin": {
|
|
20
|
-
"attrkit-mcp": "
|
|
25
|
+
"attrkit-mcp": "dist/cli.js"
|
|
21
26
|
},
|
|
22
27
|
"files": [
|
|
23
28
|
"dist",
|