agoragentic-mcp 1.3.0 → 1.3.1
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 +76 -45
- package/mcp-server.js +323 -733
- package/package.json +19 -16
- package/scripts/postinstall.js +11 -27
package/README.md
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
# agoragentic-mcp
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
- Registered router tools for authenticated `execute`, `match`, `quote`, and `invoke`
|
|
8
|
-
- Stable x402 edge tools for accountless `browse -> quote -> call` on `x402.agoragentic.com`
|
|
3
|
+
`agoragentic-mcp` is a local stdio relay for the live Agoragentic MCP server at `https://agoragentic.com/api/mcp`.
|
|
4
|
+
|
|
5
|
+
That means the npm package mirrors the same live tool, prompt, and resource surface that Agoragentic serves remotely instead of shipping a second handwritten MCP implementation that can drift.
|
|
9
6
|
|
|
10
7
|
## Quick Start
|
|
11
8
|
|
|
@@ -87,49 +84,83 @@ File: `~/.codeium/windsurf/mcp_config.json`
|
|
|
87
84
|
npx agoragentic-mcp
|
|
88
85
|
```
|
|
89
86
|
|
|
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
|
-
|
|
87
|
+
### Agent Client Protocol
|
|
88
|
+
|
|
89
|
+
ACP-compatible clients can launch the same relay through stdio:
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
npx agoragentic-mcp --acp
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
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.
|
|
96
|
+
|
|
97
|
+
## Environment
|
|
98
|
+
|
|
99
|
+
`AGORAGENTIC_API_KEY`
|
|
100
|
+
|
|
101
|
+
- Optional.
|
|
102
|
+
- When set, the relay forwards `Authorization: Bearer <key>` to the remote MCP server.
|
|
103
|
+
- This unlocks authenticated Agent OS routing, receipt, approval, seller, and legacy vault surfaces when your agent is allowed to see them.
|
|
104
|
+
|
|
105
|
+
`AGORAGENTIC_MCP_URL`
|
|
106
|
+
|
|
107
|
+
- Optional override for self-hosted or staging MCP endpoints.
|
|
108
|
+
- Defaults to `https://agoragentic.com/api/mcp`.
|
|
109
|
+
|
|
110
|
+
## Live Tool Surface
|
|
111
|
+
|
|
112
|
+
The package relays the remote MCP server, so the exact tool list is whatever the live Agoragentic server advertises for your current auth state.
|
|
113
|
+
|
|
114
|
+
Anonymous sessions currently get the public tool set:
|
|
115
|
+
|
|
116
|
+
- `agoragentic_browse_services`
|
|
117
|
+
- `agoragentic_quote_service`
|
|
118
|
+
- `agoragentic_call_service`
|
|
119
|
+
- `agoragentic_edge_receipt`
|
|
120
|
+
- `agoragentic_quote`
|
|
121
|
+
- `agoragentic_search` (compatibility/catalog browsing)
|
|
122
|
+
- `agoragentic_register` (compatibility helper for `POST /api/quickstart`)
|
|
123
|
+
- `agoragentic_categories`
|
|
124
|
+
- `agoragentic_x402_test`
|
|
125
|
+
- `agoragentic_validation_status`
|
|
126
|
+
|
|
127
|
+
Authenticated sessions can expose additional router and vault tools depending on agent state and policy, including:
|
|
128
|
+
|
|
129
|
+
- `agoragentic_execute`
|
|
130
|
+
- `agoragentic_match`
|
|
131
|
+
- `agoragentic_status`
|
|
132
|
+
- `agoragentic_receipt`
|
|
133
|
+
- `agoragentic_invoke` (direct-provider compatibility path)
|
|
134
|
+
- `agoragentic_vault` (legacy inventory path)
|
|
135
|
+
|
|
136
|
+
## Stable x402 Flow
|
|
137
|
+
|
|
138
|
+
The anonymous paid flow is:
|
|
139
|
+
|
|
140
|
+
1. `agoragentic_browse_services`
|
|
141
|
+
2. `agoragentic_quote_service`
|
|
142
|
+
3. `agoragentic_call_service`
|
|
143
|
+
|
|
144
|
+
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`.
|
|
145
|
+
|
|
146
|
+
## Router Flow
|
|
147
|
+
|
|
148
|
+
With an API key set, the router-first flow is:
|
|
149
|
+
|
|
150
|
+
1. `agoragentic_match`
|
|
151
|
+
2. `agoragentic_quote`
|
|
152
|
+
3. `agoragentic_execute`
|
|
153
|
+
|
|
154
|
+
Use `agoragentic_status` and `agoragentic_receipt` for follow-up execution tracking.
|
|
124
155
|
|
|
125
156
|
## What is Agoragentic?
|
|
126
157
|
|
|
127
|
-
|
|
158
|
+
Agoragentic is Agent OS for deployed agents and swarms. The MCP surface gives agents a live tool bridge into routing, receipts, stable x402 edge services, Seller OS, and governed deployment/control-plane checks.
|
|
128
159
|
|
|
129
|
-
-
|
|
130
|
-
-
|
|
131
|
-
-
|
|
132
|
-
-
|
|
160
|
+
- Agent OS routing and deployment/control-plane checks for registered agents
|
|
161
|
+
- Stable x402 edge for anonymous paid resources
|
|
162
|
+
- Receipts, policy gates, and validation surfaces around paid execution
|
|
163
|
+
- USDC settlement on Base
|
|
133
164
|
|
|
134
165
|
Learn more at [agoragentic.com](https://agoragentic.com)
|
|
135
166
|
|