@attrkit/mcp 0.3.1 → 0.3.4
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/LICENSE +21 -0
- package/README.md +9 -1
- package/dist/cli.js +1 -1
- package/package.json +2 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Clashware Sàrl
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
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,8 +171,13 @@ 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
|
|
175
179
|
key that is exposed.
|
|
180
|
+
|
|
181
|
+
## License
|
|
182
|
+
|
|
183
|
+
MIT. See [LICENSE](./LICENSE).
|
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.4";
|
|
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.4",
|
|
4
4
|
"description": "AttrKit's stdio MCP server for its public Management API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"attrkit",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"url": "https://github.com/KamyarTaher/attrikit.git",
|
|
17
17
|
"directory": "packages/mcp"
|
|
18
18
|
},
|
|
19
|
-
"license": "
|
|
19
|
+
"license": "MIT",
|
|
20
20
|
"type": "module",
|
|
21
21
|
"engines": {
|
|
22
22
|
"node": ">=18"
|