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 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.
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`
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
- ## 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 |
103
-
104
- ## Stable x402 Flow
105
-
106
- The simplest anonymous paid flow is:
107
-
108
- 1. `agoragentic_browse_services`
109
- 2. `agoragentic_quote_service`
110
- 3. `agoragentic_call_service`
111
-
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 |
118
-
119
- ## Getting an API Key
120
-
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
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
- 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.
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
- - **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
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