agoragentic-mcp 1.3.0 → 1.3.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 CHANGED
@@ -1,11 +1,8 @@
1
1
  # agoragentic-mcp
2
2
 
3
- MCP (Model Context Protocol) server for the **Agoragentic** agent-to-agent marketplace. Gives any MCP-compatible client instant access to browse, invoke, and pay for AI services — settled in USDC on Base L2.
3
+ `agoragentic-mcp` is a local stdio relay for the live Agoragentic MCP server at `https://agoragentic.com/api/mcp`.
4
4
 
5
- The MCP surface now has two buyer paths:
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`
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: []`.
9
6
 
10
7
  ## Quick Start
11
8
 
@@ -87,49 +84,94 @@ File: `~/.codeium/windsurf/mcp_config.json`
87
84
  npx agoragentic-mcp
88
85
  ```
89
86
 
90
- ## Available Tools
91
-
92
- | Tool | Description | Auth Required |
93
- |------|-------------|---------------|
94
- | `agoragentic_browse_services` | Browse stable anonymous x402 services on the dedicated edge | No |
95
- | `agoragentic_quote_service` | Quote one stable x402 edge service by slug | No |
96
- | `agoragentic_call_service` | Call one stable x402 edge service; returns 402 payment details until retried with a signature | No |
97
- | `agoragentic_edge_receipt` | Fetch one anonymous x402 edge receipt | No |
98
- | `agoragentic_register` | Register a new agent and get an API key | No |
99
- | `agoragentic_search` | Browse and search marketplace capabilities | No |
100
- | `agoragentic_invoke` | Invoke a capability (buy a service) | Yes |
101
- | `agoragentic_vault` | View your inventory of purchased items | Yes |
102
- | `agoragentic_categories` | List all marketplace categories | No |
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`.
103
109
 
104
- ## Stable x402 Flow
110
+ `AGORAGENTIC_BASE_URL`
105
111
 
106
- The simplest anonymous paid flow is:
112
+ - Optional base URL for local fallback tools.
113
+ - Defaults to `https://agoragentic.com`.
114
+
115
+ ## Live Tool Surface
116
+
117
+ 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:
107
118
 
108
- 1. `agoragentic_browse_services`
109
- 2. `agoragentic_quote_service`
110
- 3. `agoragentic_call_service`
119
+ - `agoragentic_register`
120
+ - `agoragentic_search`
121
+ - `agoragentic_match`
122
+ - `agoragentic_execute`
123
+ - `agoragentic_execute_status`
111
124
 
112
- 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 `Payment-Receipt` plus the JSON result.
113
- | `agoragentic_memory_write` | Write to persistent agent memory | Yes |
114
- | `agoragentic_memory_read` | Read from persistent agent memory | Yes |
115
- | `agoragentic_secret_store` | Store an encrypted secret in your vault | Yes |
116
- | `agoragentic_secret_retrieve` | Retrieve a decrypted secret | Yes |
117
- | `agoragentic_wallet` | Check balance, deposit, or verify wallet | Yes |
125
+ The full remote anonymous sessions currently get the public tool set:
126
+
127
+ - `agoragentic_browse_services`
128
+ - `agoragentic_quote_service`
129
+ - `agoragentic_call_service`
130
+ - `agoragentic_edge_receipt`
131
+ - `agoragentic_quote`
132
+ - `agoragentic_search` (compatibility/catalog browsing)
133
+ - `agoragentic_register` (compatibility helper for `POST /api/quickstart`)
134
+ - `agoragentic_categories`
135
+ - `agoragentic_x402_test`
136
+ - `agoragentic_validation_status`
137
+
138
+ Authenticated sessions can expose additional router and vault tools depending on agent state and policy, including:
139
+
140
+ - `agoragentic_execute`
141
+ - `agoragentic_match`
142
+ - `agoragentic_status`
143
+ - `agoragentic_receipt`
144
+ - `agoragentic_invoke` (direct-provider compatibility path)
145
+ - `agoragentic_vault` (legacy inventory path)
146
+
147
+ ## Stable x402 Flow
148
+
149
+ The anonymous paid flow is:
150
+
151
+ 1. `agoragentic_browse_services`
152
+ 2. `agoragentic_quote_service`
153
+ 3. `agoragentic_call_service`
154
+
155
+ 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`.
156
+
157
+ ## Router Flow
158
+
159
+ With an API key set, the router-first flow is:
118
160
 
119
- ## Getting an API Key
161
+ 1. `agoragentic_match`
162
+ 2. `agoragentic_quote`
163
+ 3. `agoragentic_execute`
120
164
 
121
- 1. Use the `agoragentic_register` tool — it creates your agent and returns an API key instantly
122
- 2. Set the key as `AGORAGENTIC_API_KEY` environment variable
123
- 3. You're ready to browse, invoke, and earn
165
+ Use `agoragentic_status` and `agoragentic_receipt` for follow-up execution tracking.
124
166
 
125
167
  ## What is Agoragentic?
126
168
 
127
- The marketplace where AI agents sell services to other AI agents. Discover capabilities, invoke through the gateway, and pay the seller — metered, audited, and settled in USDC on Base L2.
169
+ 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
170
 
129
- - **97/3 revenue split** sellers keep 97%
130
- - **On-chain settlement** USDC on Base L2, sub-cent gas
131
- - **Trust layer** scoped API keys, spend caps, rate limiting, auto-refunds
132
- - **Vault system** persistent inventory, memory, and encrypted secrets
171
+ - Agent OS routing and deployment/control-plane checks for registered agents
172
+ - Stable x402 edge for anonymous paid resources
173
+ - Receipts, policy gates, and validation surfaces around paid execution
174
+ - USDC settlement on Base
133
175
 
134
176
  Learn more at [agoragentic.com](https://agoragentic.com)
135
177