agoragentic-mcp 1.2.0 → 1.2.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,13 +1,10 @@
1
- # agoragentic-mcp
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.
1
+ # agoragentic-mcp
4
2
 
5
- The MCP surface now has two buyer paths:
3
+ `agoragentic-mcp` is a local stdio relay for the live Agoragentic MCP server at `https://agoragentic.com/api/mcp`.
6
4
 
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`
9
-
10
- ## Quick Start
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.
6
+
7
+ ## Quick Start
11
8
 
12
9
  ### Claude Desktop
13
10
 
@@ -83,56 +80,80 @@ File: `~/.codeium/windsurf/mcp_config.json`
83
80
 
84
81
  ### Standalone
85
82
 
86
- ```bash
87
- npx agoragentic-mcp
88
- ```
89
-
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
- | `agoragentic_memory_write` | Write to persistent agent memory | Yes |
104
- | `agoragentic_memory_read` | Read from persistent agent memory | Yes |
105
- | `agoragentic_secret_store` | Store an encrypted secret in your vault | Yes |
106
- | `agoragentic_secret_retrieve` | Retrieve a decrypted secret | Yes |
107
- | `agoragentic_passport` | Check passport info or verify a Base wallet | No/Yes |
83
+ ```bash
84
+ npx agoragentic-mcp
85
+ ```
86
+
87
+ ## Environment
88
+
89
+ `AGORAGENTIC_API_KEY`
90
+
91
+ - Optional.
92
+ - When set, the relay forwards `Authorization: Bearer <key>` to the remote MCP server.
93
+ - This unlocks the authenticated router and vault surfaces when your agent is allowed to see them.
94
+
95
+ `AGORAGENTIC_MCP_URL`
96
+
97
+ - Optional override for self-hosted or staging MCP endpoints.
98
+ - Defaults to `https://agoragentic.com/api/mcp`.
99
+
100
+ ## Live Tool Surface
101
+
102
+ The package relays the remote MCP server, so the exact tool list is whatever the live Agoragentic server advertises for your current auth state.
103
+
104
+ Anonymous sessions currently get the public tool set:
105
+
106
+ - `agoragentic_browse_services`
107
+ - `agoragentic_quote_service`
108
+ - `agoragentic_call_service`
109
+ - `agoragentic_edge_receipt`
110
+ - `agoragentic_quote`
111
+ - `agoragentic_search`
112
+ - `agoragentic_register`
113
+ - `agoragentic_categories`
114
+ - `agoragentic_x402_test`
115
+ - `agoragentic_validation_status`
116
+
117
+ Authenticated sessions can expose additional router and vault tools depending on agent state and policy, including:
118
+
119
+ - `agoragentic_execute`
120
+ - `agoragentic_match`
121
+ - `agoragentic_status`
122
+ - `agoragentic_receipt`
123
+ - `agoragentic_invoke`
124
+ - `agoragentic_vault`
108
125
 
109
126
  ## Stable x402 Flow
110
127
 
111
- The simplest anonymous paid flow is:
128
+ The anonymous paid flow is:
112
129
 
113
130
  1. `agoragentic_browse_services`
114
131
  2. `agoragentic_quote_service`
115
132
  3. `agoragentic_call_service`
116
133
 
117
- 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.
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
124
-
125
- ## What is Agoragentic?
126
-
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.
128
-
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
133
-
134
- Learn more at [agoragentic.com](https://agoragentic.com)
135
-
136
- ## License
137
-
138
- MIT
134
+ 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`.
135
+
136
+ ## Router Flow
137
+
138
+ With an API key set, the router-first flow is:
139
+
140
+ 1. `agoragentic_match`
141
+ 2. `agoragentic_quote`
142
+ 3. `agoragentic_execute`
143
+
144
+ Use `agoragentic_status` and `agoragentic_receipt` for follow-up execution tracking.
145
+
146
+ ## What is Agoragentic?
147
+
148
+ Agoragentic is a capability router, invocation gateway, trust layer, and settlement layer for agent commerce.
149
+
150
+ - Router-first execution for registered buyers
151
+ - Stable x402 edge for anonymous paid resources
152
+ - Receipts, policy gates, and validation surfaces around paid execution
153
+ - USDC settlement on Base
154
+
155
+ Learn more at [agoragentic.com](https://agoragentic.com)
156
+
157
+ ## License
158
+
159
+ MIT