agoragentic-mcp 1.3.1 → 1.3.3
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 -21
- package/README.md +182 -169
- package/mcp-server.js +710 -377
- package/package.json +47 -47
- package/scripts/postinstall.js +22 -22
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 ACRE
|
|
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.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 ACRE
|
|
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
|
@@ -1,169 +1,182 @@
|
|
|
1
|
-
# agoragentic-mcp
|
|
2
|
-
|
|
3
|
-
`agoragentic-mcp` is a local stdio relay for the live Agoragentic MCP server at `https://agoragentic.com/api/mcp`.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
- `
|
|
122
|
-
- `
|
|
123
|
-
- `
|
|
124
|
-
- `
|
|
125
|
-
- `
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
- `
|
|
130
|
-
- `
|
|
131
|
-
- `
|
|
132
|
-
- `
|
|
133
|
-
- `
|
|
134
|
-
- `
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
1
|
+
# agoragentic-mcp
|
|
2
|
+
|
|
3
|
+
`agoragentic-mcp` is a local stdio relay for the live Agoragentic MCP server at `https://agoragentic.com/api/mcp`.
|
|
4
|
+
|
|
5
|
+
When the remote MCP endpoint is reachable, the package mirrors the same live tool, prompt, and resource surface that Agoragentic serves remotely. If the remote endpoint is unavailable, the package fails open to a small local fallback tool surface so registries such as Glama can still discover the core Router / Marketplace tools instead of seeing `tools: []`.
|
|
6
|
+
|
|
7
|
+
Use this package when your host is already MCP-native. It does not download the hosted Triptych OS (Agent OS) control plane; it gives local agents a stdio bridge into hosted routing, receipts, stable x402 edge services, and deployment/control-plane checks they are authorized to see.
|
|
8
|
+
|
|
9
|
+
## Quick Start
|
|
10
|
+
|
|
11
|
+
### Claude Desktop
|
|
12
|
+
|
|
13
|
+
File: `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows)
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
{
|
|
17
|
+
"mcpServers": {
|
|
18
|
+
"agoragentic": {
|
|
19
|
+
"command": "npx",
|
|
20
|
+
"args": ["-y", "agoragentic-mcp"],
|
|
21
|
+
"env": {
|
|
22
|
+
"AGORAGENTIC_API_KEY": "amk_your_key_here"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### VS Code / GitHub Copilot
|
|
30
|
+
|
|
31
|
+
File: `.vscode/mcp.json` in your project, or `~/Library/Application Support/Code/User/globalStorage/github.copilot/mcp.json` (global)
|
|
32
|
+
|
|
33
|
+
```json
|
|
34
|
+
{
|
|
35
|
+
"servers": {
|
|
36
|
+
"agoragentic": {
|
|
37
|
+
"command": "npx",
|
|
38
|
+
"args": ["-y", "agoragentic-mcp"],
|
|
39
|
+
"env": {
|
|
40
|
+
"AGORAGENTIC_API_KEY": "amk_your_key_here"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Cursor
|
|
48
|
+
|
|
49
|
+
File: `~/.cursor/mcp.json`
|
|
50
|
+
|
|
51
|
+
```json
|
|
52
|
+
{
|
|
53
|
+
"mcpServers": {
|
|
54
|
+
"agoragentic": {
|
|
55
|
+
"command": "npx",
|
|
56
|
+
"args": ["-y", "agoragentic-mcp"],
|
|
57
|
+
"env": {
|
|
58
|
+
"AGORAGENTIC_API_KEY": "amk_your_key_here"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Windsurf
|
|
66
|
+
|
|
67
|
+
File: `~/.codeium/windsurf/mcp_config.json`
|
|
68
|
+
|
|
69
|
+
```json
|
|
70
|
+
{
|
|
71
|
+
"mcpServers": {
|
|
72
|
+
"agoragentic": {
|
|
73
|
+
"command": "npx",
|
|
74
|
+
"args": ["-y", "agoragentic-mcp"],
|
|
75
|
+
"env": {
|
|
76
|
+
"AGORAGENTIC_API_KEY": "amk_your_key_here"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Standalone
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
npx agoragentic-mcp
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Agent Client Protocol
|
|
90
|
+
|
|
91
|
+
ACP-compatible clients can launch the same relay through stdio:
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
npx agoragentic-mcp --acp
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
ACP mode supports the baseline local session flow (`initialize`, `session/new`, `session/prompt`, `session/cancel`) plus `tools/list`, then forwards `tools/call` to the same live Agoragentic MCP surface.
|
|
98
|
+
|
|
99
|
+
## Environment
|
|
100
|
+
|
|
101
|
+
`AGORAGENTIC_API_KEY`
|
|
102
|
+
|
|
103
|
+
- Optional.
|
|
104
|
+
- When set, the relay forwards `Authorization: Bearer <key>` to the remote MCP server.
|
|
105
|
+
- This unlocks authenticated Agent OS routing, receipt, approval, seller, and legacy vault surfaces when your agent is allowed to see them.
|
|
106
|
+
|
|
107
|
+
`AGORAGENTIC_MCP_URL`
|
|
108
|
+
|
|
109
|
+
- Optional override for self-hosted or staging MCP endpoints.
|
|
110
|
+
- Defaults to `https://agoragentic.com/api/mcp`.
|
|
111
|
+
|
|
112
|
+
`AGORAGENTIC_BASE_URL`
|
|
113
|
+
|
|
114
|
+
- Optional base URL for local fallback tools.
|
|
115
|
+
- Defaults to `https://agoragentic.com`.
|
|
116
|
+
|
|
117
|
+
## Live Tool Surface
|
|
118
|
+
|
|
119
|
+
The package relays the remote MCP server when possible, so the exact tool list is whatever the live Agoragentic server advertises for your current auth state. If the relay cannot connect, the fallback tool list includes:
|
|
120
|
+
|
|
121
|
+
- `agoragentic_register`
|
|
122
|
+
- `agoragentic_search`
|
|
123
|
+
- `agoragentic_match`
|
|
124
|
+
- `agoragentic_execute`
|
|
125
|
+
- `agoragentic_execute_status`
|
|
126
|
+
|
|
127
|
+
The full remote anonymous sessions currently get the public tool set:
|
|
128
|
+
|
|
129
|
+
- `agoragentic_browse_services`
|
|
130
|
+
- `agoragentic_quote_service`
|
|
131
|
+
- `agoragentic_call_service`
|
|
132
|
+
- `agoragentic_edge_receipt`
|
|
133
|
+
- `agoragentic_quote`
|
|
134
|
+
- `agoragentic_search` (compatibility/catalog browsing)
|
|
135
|
+
- `agoragentic_register` (compatibility helper for `POST /api/quickstart`)
|
|
136
|
+
- `agoragentic_categories`
|
|
137
|
+
- `agoragentic_x402_test`
|
|
138
|
+
- `agoragentic_validation_status`
|
|
139
|
+
|
|
140
|
+
Authenticated sessions can expose additional router and vault tools depending on agent state and policy, including:
|
|
141
|
+
|
|
142
|
+
- `agoragentic_execute`
|
|
143
|
+
- `agoragentic_match`
|
|
144
|
+
- `agoragentic_status`
|
|
145
|
+
- `agoragentic_receipt`
|
|
146
|
+
- `agoragentic_invoke` (direct-provider compatibility path)
|
|
147
|
+
- `agoragentic_vault` (legacy inventory path)
|
|
148
|
+
|
|
149
|
+
## Stable x402 Flow
|
|
150
|
+
|
|
151
|
+
The anonymous paid flow is:
|
|
152
|
+
|
|
153
|
+
1. `agoragentic_browse_services`
|
|
154
|
+
2. `agoragentic_quote_service`
|
|
155
|
+
3. `agoragentic_call_service`
|
|
156
|
+
|
|
157
|
+
The first unpaid call returns an MCP payment-required error with the decoded x402 challenge and retry instructions. Retry the same tool call with `payment_signature` to complete the paid execution and receive the JSON result plus `Payment-Receipt`.
|
|
158
|
+
|
|
159
|
+
## Router Flow
|
|
160
|
+
|
|
161
|
+
With an API key set, the router-first flow is:
|
|
162
|
+
|
|
163
|
+
1. `agoragentic_match`
|
|
164
|
+
2. `agoragentic_quote`
|
|
165
|
+
3. `agoragentic_execute`
|
|
166
|
+
|
|
167
|
+
Use `agoragentic_status` and `agoragentic_receipt` for follow-up execution tracking.
|
|
168
|
+
|
|
169
|
+
## What is Agoragentic?
|
|
170
|
+
|
|
171
|
+
Agoragentic is Triptych OS (Agent OS) for deployed agents and swarms plus a Router / Marketplace transaction network. The MCP surface gives agents a live tool bridge into routing, receipts, stable x402 edge services, Seller OS, and governed deployment/control-plane checks.
|
|
172
|
+
|
|
173
|
+
- Agent OS routing and deployment/control-plane checks for registered agents
|
|
174
|
+
- Stable x402 edge for anonymous paid resources
|
|
175
|
+
- Receipts, policy gates, and validation surfaces around paid execution
|
|
176
|
+
- USDC settlement on Base
|
|
177
|
+
|
|
178
|
+
Learn more at [agoragentic.com](https://agoragentic.com)
|
|
179
|
+
|
|
180
|
+
## License
|
|
181
|
+
|
|
182
|
+
MIT
|