@economicagents/mcp 0.1.0 → 0.2.0
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 +10 -8
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @economicagents/mcp
|
|
2
2
|
|
|
3
|
-
MCP (Model Context Protocol) server for AEP
|
|
3
|
+
[MCP](https://modelcontextprotocol.io/) (Model Context Protocol) server for AEP: budget tools, intent resolution, analytics, fleet, and economic relationship readouts. Use with Cursor, Claude Desktop, or any MCP-capable client.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ MCP (Model Context Protocol) server for AEP. Exposes tools for budget management
|
|
|
8
8
|
pnpm add @economicagents/mcp
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
From
|
|
11
|
+
**From a local clone** of [economicagents/AEP](https://github.com/economicagents/AEP): `cd packages/mcp && pnpm run build`.
|
|
12
12
|
|
|
13
13
|
## Tools
|
|
14
14
|
|
|
@@ -35,28 +35,30 @@ From monorepo: `cd packages/mcp && pnpm run build`.
|
|
|
35
35
|
cd packages/mcp && pnpm run build && node dist/index.js
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
Example MCP config (replace `<path-to-clone>` with your checkout of [economicagents/AEP](https://github.com/economicagents/AEP)):
|
|
39
39
|
|
|
40
40
|
```json
|
|
41
41
|
{
|
|
42
42
|
"mcpServers": {
|
|
43
43
|
"aep": {
|
|
44
44
|
"command": "node",
|
|
45
|
-
"args": ["
|
|
45
|
+
"args": ["<path-to-clone>/packages/mcp/dist/index.js"]
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
Requires `~/.aep/config.json`. `set_budget_caps`
|
|
51
|
+
Requires `~/.aep/config.json`. `set_budget_caps` needs `AEP_KEYSTORE_ACCOUNT` (preferred) or `PRIVATE_KEY`.
|
|
52
52
|
|
|
53
|
-
## Build &
|
|
53
|
+
## Build & test
|
|
54
54
|
|
|
55
55
|
```bash
|
|
56
56
|
pnpm run build
|
|
57
57
|
pnpm run test
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
##
|
|
60
|
+
## Documentation
|
|
61
61
|
|
|
62
|
-
- [
|
|
62
|
+
- [MCP reference](https://github.com/economicagents/AEP/blob/main/docs/reference/mcp.md)
|
|
63
|
+
- [Cookbook](https://github.com/economicagents/AEP/blob/main/docs/COOKBOOK.md)
|
|
64
|
+
- [Integration guide](https://github.com/economicagents/AEP/blob/main/docs/guides/integration.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@economicagents/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "MCP server for AEP budget management and intent resolution",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
28
28
|
"zod": "^3.25.0",
|
|
29
|
-
"@economicagents/
|
|
30
|
-
"@economicagents/indexer": "0.
|
|
31
|
-
"@economicagents/
|
|
32
|
-
"@economicagents/keystore": "0.
|
|
33
|
-
"@economicagents/sdk": "0.
|
|
29
|
+
"@economicagents/graph": "0.2.0",
|
|
30
|
+
"@economicagents/indexer": "0.2.0",
|
|
31
|
+
"@economicagents/resolver": "0.2.0",
|
|
32
|
+
"@economicagents/keystore": "0.2.0",
|
|
33
|
+
"@economicagents/sdk": "0.2.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^22.0.0",
|