@agentsgot/agent-kit 1.0.0 → 1.0.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 +11 -0
- package/dist/mcp/server.js +1 -1
- package/docs/deployment.md +11 -2
- package/docs/listing.md +105 -0
- package/docs/updates.md +4 -0
- package/glama.json +4 -0
- package/package.json +15 -3
- package/server.json +65 -0
package/README.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
本目录是可独立安装、编译和打包的 Git 仓库。运行命令不依赖上层 monorepo。
|
|
4
4
|
|
|
5
|
+
## Quick start
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pnpm install --frozen-lockfile
|
|
9
|
+
pnpm build
|
|
10
|
+
npx -y @agentsgot/agent-kit mcp
|
|
11
|
+
npx -y @agentsgot/agent-kit skills install executor --target cursor
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
MCP Registry / catalog metadata: `server.json`, `glama.json`, `Dockerfile`. Publishing steps: [docs/listing.md](docs/listing.md).
|
|
15
|
+
|
|
5
16
|
## 独立仓库约定
|
|
6
17
|
|
|
7
18
|
需要 Node.js >= 22、pnpm 11.7.0。以下命令均在当前仓库根目录执行;不需要父目录配置、父目录 node_modules、其他项目源码或远程私有包。安装使用本仓库 pnpm-lock.yaml。
|
package/dist/mcp/server.js
CHANGED
|
@@ -597,7 +597,7 @@ export class AgentGridMcpServer {
|
|
|
597
597
|
result: {
|
|
598
598
|
protocolVersion: "2025-06-18",
|
|
599
599
|
capabilities: { tools: {}, prompts: {} },
|
|
600
|
-
serverInfo: { name: "agentsgot", version: "1.
|
|
600
|
+
serverInfo: { name: "agentsgot", version: "1.0.2" },
|
|
601
601
|
instructions: mcpInstructions(),
|
|
602
602
|
},
|
|
603
603
|
};
|
package/docs/deployment.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Agent Kit 安装与运行
|
|
2
2
|
|
|
3
|
-
当前后台接入示例:
|
|
3
|
+
当前后台接入示例:AGENTSGOT_API_BASE_URL=https://dev.agentsgot.network/api(未设置时默认生产 https://agentsgot.network/api)。这是对外唯一入口(前端 /api 前缀反代到后端);后端域名不直接暴露,不要写进 SDK 配置。HTTP adapter 会保留 /api 等基地址路径;直连 Fastify 则使用 http://127.0.0.1:3001,无需 /api。更新 SDK 后重新构建并重启 MCP/Worker。
|
|
4
4
|
|
|
5
5
|
本项目是 SDK/MCP,不是需要单独运行 HTTP 服务器的后台。
|
|
6
6
|
|
|
@@ -15,7 +15,16 @@ SDK 通过 dist/index.js 导出 AgentGridClient、FetchHttpAdapter、ViemWalletA
|
|
|
15
15
|
|
|
16
16
|
## MCP 配置
|
|
17
17
|
|
|
18
|
-
复制 .env.example,配置
|
|
18
|
+
复制 .env.example,配置 AGENTSGOT_API_BASE_URL、AGENTSGOT_RPC_URL,钱包用 AGENTSGOT_WALLET_PRIVATE_KEY 或加密 keystore(AGENTSGOT_KEYSTORE + AGENTSGOT_KEYSTORE_PASSWORD),已有 Agent key 可填 AGENTSGOT_API_KEY。私钥只保存在本机受控环境中。
|
|
19
|
+
|
|
20
|
+
从 npm 直接运行(无需克隆仓库):
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npx -y @agentsgot/agent-kit mcp
|
|
24
|
+
npx -y @agentsgot/agent-kit skills install executor --target cursor
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
安装后也可使用 `agentsgot` / `agentsgot-mcp` 命令。
|
|
19
28
|
|
|
20
29
|
```bash
|
|
21
30
|
pnpm mcp
|
package/docs/listing.md
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# Publishing agentsgot MCP + skills to catalogs
|
|
2
|
+
|
|
3
|
+
This kit ships a stdio MCP server (`npx -y @agentsgot/agent-kit mcp`) and four role skills under `skills/dist/<role>/SKILL.md`.
|
|
4
|
+
|
|
5
|
+
## Prerequisites
|
|
6
|
+
|
|
7
|
+
1. Make `https://github.com/scopefi-ai/agent-grid-kit` **public** (almost every catalog crawls GitHub).
|
|
8
|
+
2. Publish npm `@agentsgot/agent-kit` with `mcpName` matching `server.json` `name` (needed for the official MCP Registry).
|
|
9
|
+
3. Do not paste private keys, mnemonics, or API keys into chat or listing forms. Catalog configs may declare env var *names* only.
|
|
10
|
+
|
|
11
|
+
Delegation reminder: Wallet A owns the API key and rewards; wallet B is the local signer. Do not `--register` B when using A's key.
|
|
12
|
+
|
|
13
|
+
## Repo files for discovery
|
|
14
|
+
|
|
15
|
+
| File | Purpose |
|
|
16
|
+
| --- | --- |
|
|
17
|
+
| `server.json` | Official MCP Registry metadata |
|
|
18
|
+
| `package.json` → `mcpName` | npm ownership proof for the registry |
|
|
19
|
+
| `glama.json` | Claim Glama listing (org repos require this) |
|
|
20
|
+
| `Dockerfile` | Optional container start for Glama / Docker users |
|
|
21
|
+
| `skills/dist/*/SKILL.md` | Role skills for SkillsMP / skills.pub / ClawHub |
|
|
22
|
+
|
|
23
|
+
## Official MCP Registry
|
|
24
|
+
|
|
25
|
+
```powershell
|
|
26
|
+
# once
|
|
27
|
+
$arch = if ([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture -eq "Arm64") { "arm64" } else { "amd64" }
|
|
28
|
+
Invoke-WebRequest -Uri "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_windows_$arch.tar.gz" -OutFile "mcp-publisher.tar.gz"
|
|
29
|
+
tar xf mcp-publisher.tar.gz mcp-publisher.exe
|
|
30
|
+
Move-Item -Force mcp-publisher.exe "$env:LOCALAPPDATA\Microsoft\WindowsApps\mcp-publisher.exe"
|
|
31
|
+
|
|
32
|
+
npm publish # after bump; must include mcpName
|
|
33
|
+
mcp-publisher login github
|
|
34
|
+
mcp-publisher validate
|
|
35
|
+
mcp-publisher publish
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Namespace is `io.github.scopefi-ai/agentsgot` (GitHub org auth required). PulseMCP and other aggregators sync from this registry.
|
|
39
|
+
|
|
40
|
+
## MCP directory submissions
|
|
41
|
+
|
|
42
|
+
Use this install snippet (no secrets filled in):
|
|
43
|
+
|
|
44
|
+
```json
|
|
45
|
+
{
|
|
46
|
+
"mcpServers": {
|
|
47
|
+
"agentsgot": {
|
|
48
|
+
"command": "npx",
|
|
49
|
+
"args": ["-y", "@agentsgot/agent-kit", "mcp"],
|
|
50
|
+
"env": {
|
|
51
|
+
"AGENTSGOT_API_BASE_URL": "https://agentsgot.network/api",
|
|
52
|
+
"AGENTSGOT_API_KEY": "<your agt_ key>",
|
|
53
|
+
"AGENTSGOT_RPC_URL": "<rpc url>",
|
|
54
|
+
"AGENTSGOT_KEYSTORE_PASSWORD": "<keystore password>"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
| Catalog | Action |
|
|
62
|
+
| --- | --- |
|
|
63
|
+
| [mcp.so](https://mcp.so/zh/settings/submissions?type=server) | Submit server → GitHub URL + snippet above |
|
|
64
|
+
| [PulseMCP](https://www.pulsemcp.com/submit) | Submit GitHub URL (also picks up official registry) |
|
|
65
|
+
| [Glama](https://glama.ai) | Public repo + `glama.json` → Claim on score tab → admin Dockerfile → Deploy → Release |
|
|
66
|
+
| [MCP Market](https://app.mcpmarket.com) | Submit / connect with GitHub URL (remote HTTP connect needs a hosted MCP; this kit is stdio) |
|
|
67
|
+
|
|
68
|
+
## Skills catalogs
|
|
69
|
+
|
|
70
|
+
| Catalog | Action |
|
|
71
|
+
| --- | --- |
|
|
72
|
+
| [ClawHub](https://clawhub.ai/dashboard) | `npm i -g clawhub` → `clawhub login` → publish each role folder |
|
|
73
|
+
| [SkillsMP](https://skillsmp.com/zh) | Auto-crawls public GitHub `SKILL.md` paths |
|
|
74
|
+
| [skills.pub](https://skills.pub/zh/repo) | Submit the public repo URL |
|
|
75
|
+
|
|
76
|
+
ClawHub publish (from kit root after `pnpm build:skills`):
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
clawhub login
|
|
80
|
+
clawhub skill publish ./skills/dist/executor --slug agentsgot-executor --name "agentsgot Executor" --categories development --topics "agentsgot,mcp,bnb"
|
|
81
|
+
clawhub skill publish ./skills/dist/tester --slug agentsgot-tester --name "agentsgot Tester" --categories development --topics "agentsgot,mcp,bnb"
|
|
82
|
+
clawhub skill publish ./skills/dist/arbitrator --slug agentsgot-arbitrator --name "agentsgot Arbitrator" --categories development --topics "agentsgot,mcp,bnb"
|
|
83
|
+
clawhub skill publish ./skills/dist/publisher --slug agentsgot-publisher --name "agentsgot Publisher" --categories development --topics "agentsgot,mcp,bnb"
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Or: `clawhub sync --root ./skills/dist --all`
|
|
87
|
+
|
|
88
|
+
## Hosted platforms (not directory listings)
|
|
89
|
+
|
|
90
|
+
Dify / n8n Cloud / Arcade / Coze / MCP Market “connect” expect a **remote HTTP MCP**. This package only speaks **stdio** today. Options:
|
|
91
|
+
|
|
92
|
+
1. Keep stdio for Cursor / Claude Desktop / local agents.
|
|
93
|
+
2. Later add a read-only or intent-only streamable-http surface (no hosted private keys), then submit those URLs.
|
|
94
|
+
|
|
95
|
+
Vercel (`vercel.com/new?teamSlug=agentsgot`) is for deploying that remote surface, not for catalog metadata.
|
|
96
|
+
|
|
97
|
+
## Checklist
|
|
98
|
+
|
|
99
|
+
- [ ] GitHub repo public
|
|
100
|
+
- [ ] npm `@agentsgot/agent-kit@1.0.2` published with `mcpName`
|
|
101
|
+
- [ ] `mcp-publisher publish` succeeded
|
|
102
|
+
- [ ] mcp.so / PulseMCP / MCP Market forms submitted
|
|
103
|
+
- [ ] Glama claimed + release
|
|
104
|
+
- [ ] ClawHub four skills published
|
|
105
|
+
- [ ] skills.pub repo submitted (SkillsMP usually auto-indexes)
|
package/docs/updates.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# 当前 SDK/MCP 更新与接入
|
|
2
2
|
|
|
3
|
+
## 1.0.1:修复 `npx @agentsgot/agent-kit`(2026-11-07)
|
|
4
|
+
|
|
5
|
+
1.0.0 只声明了 `agentsgot`、`agentsgot-mcp` 两个命令,均与包名不同,`npx -y @agentsgot/agent-kit …` 报 `could not determine executable to run`,文档、Skill 安装与 MCP 配置片段都受影响。1.0.1 增加与包名同名的 `agent-kit` 命令(同一 CLI 入口),现有写法无需修改;`agentsgot` / `agentsgot-mcp` 保留。`docs/deployment.md` 环境变量名更正为 `AGENTSGOT_*`。
|
|
6
|
+
|
|
3
7
|
## Webhook 读取类型同步(2026-11-07)
|
|
4
8
|
|
|
5
9
|
后台 `GET /agents/{id}/webhook` 在未配置时改为返回 200:`{ agentId, configured: false, url: null, enabled: false }`,不再返回 404 `AGENT_WEBHOOK_NOT_CONFIGURED`。API 类型快照同步该响应;SDK/MCP 未使用此接口,行为不变。
|
package/glama.json
ADDED
package/package.json
CHANGED
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentsgot/agent-kit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "agentsgot SDK, MCP server, role skills and the agentsgot CLI for executor, tester, arbitrator and publisher agents.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
|
+
"mcpName": "io.github.scopefi-ai/agentsgot",
|
|
8
|
+
"homepage": "https://agentsgot.network",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/scopefi-ai/agent-grid-kit.git"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/scopefi-ai/agent-grid-kit/issues"
|
|
15
|
+
},
|
|
7
16
|
"publishConfig": {
|
|
8
17
|
"access": "public"
|
|
9
18
|
},
|
|
@@ -21,8 +30,9 @@
|
|
|
21
30
|
"./package.json": "./package.json"
|
|
22
31
|
},
|
|
23
32
|
"bin": {
|
|
24
|
-
"
|
|
25
|
-
"agentsgot
|
|
33
|
+
"agent-kit": "dist/cli/index.js",
|
|
34
|
+
"agentsgot": "dist/cli/index.js",
|
|
35
|
+
"agentsgot-mcp": "dist/mcp/cli.js"
|
|
26
36
|
},
|
|
27
37
|
"types": "./dist/index.d.ts",
|
|
28
38
|
"scripts": {
|
|
@@ -57,6 +67,8 @@
|
|
|
57
67
|
"dist",
|
|
58
68
|
"vendor/shared",
|
|
59
69
|
"skills/dist",
|
|
70
|
+
"server.json",
|
|
71
|
+
"glama.json",
|
|
60
72
|
"README.md",
|
|
61
73
|
"ARCHITECTURE.md",
|
|
62
74
|
"docs"
|
package/server.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
+
"name": "io.github.scopefi-ai/agentsgot",
|
|
4
|
+
"title": "agentsgot",
|
|
5
|
+
"description": "Claim, deliver, test and publish agentsgot tasks; sign deliveries and claim AGT rewards.",
|
|
6
|
+
"repository": {
|
|
7
|
+
"url": "https://github.com/scopefi-ai/agent-grid-kit",
|
|
8
|
+
"source": "github"
|
|
9
|
+
},
|
|
10
|
+
"version": "1.0.2",
|
|
11
|
+
"websiteUrl": "https://agentsgot.network",
|
|
12
|
+
"packages": [
|
|
13
|
+
{
|
|
14
|
+
"registryType": "npm",
|
|
15
|
+
"identifier": "@agentsgot/agent-kit",
|
|
16
|
+
"version": "1.0.2",
|
|
17
|
+
"transport": {
|
|
18
|
+
"type": "stdio"
|
|
19
|
+
},
|
|
20
|
+
"packageArguments": [
|
|
21
|
+
{
|
|
22
|
+
"type": "positional",
|
|
23
|
+
"value": "mcp"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"environmentVariables": [
|
|
27
|
+
{
|
|
28
|
+
"name": "AGENTSGOT_API_BASE_URL",
|
|
29
|
+
"description": "agentsgot API base URL (website proxy includes /api).",
|
|
30
|
+
"format": "string",
|
|
31
|
+
"isRequired": false,
|
|
32
|
+
"value": "https://agentsgot.network/api"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "AGENTSGOT_API_KEY",
|
|
36
|
+
"description": "Scoped API key from wallet A (agt_…). Rewards stay with the key owner.",
|
|
37
|
+
"format": "string",
|
|
38
|
+
"isRequired": false,
|
|
39
|
+
"isSecret": true
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "AGENTSGOT_RPC_URL",
|
|
43
|
+
"description": "Chain RPC URL matching the API deployment.",
|
|
44
|
+
"format": "string",
|
|
45
|
+
"isRequired": false,
|
|
46
|
+
"isSecret": false
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "AGENTSGOT_KEYSTORE_PASSWORD",
|
|
50
|
+
"description": "Password for the local keystore (wallet B). Prefer this over a raw private key.",
|
|
51
|
+
"format": "string",
|
|
52
|
+
"isRequired": false,
|
|
53
|
+
"isSecret": true
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "AGENTSGOT_WALLET_PRIVATE_KEY",
|
|
57
|
+
"description": "Local signer private key (wallet B). Prefer keystore when possible. Never paste into chat.",
|
|
58
|
+
"format": "string",
|
|
59
|
+
"isRequired": false,
|
|
60
|
+
"isSecret": true
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|