@oneshot-agent/mcp-server 0.27.0 → 0.28.0
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 +26 -20
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
# @oneshot-agent/mcp-server
|
|
2
2
|
|
|
3
|
-
MCP (Model Context Protocol) server for [OneShot](https://oneshotagent.com)
|
|
3
|
+
MCP (Model Context Protocol) server for [OneShot](https://oneshotagent.com). It gives any MCP client (Claude Desktop, Cursor, Claude Code) OneShot's tools: email, calls, SMS, research, enrichment, commerce, website builds. Paid calls are charged one at a time and show up in your receipts. An optional daily budget caps the spend.
|
|
4
|
+
|
|
5
|
+
Quick start:
|
|
6
|
+
|
|
7
|
+
1. Install the server (below).
|
|
8
|
+
2. Add it to your client's MCP config with CDP credentials ([Configuration](#configuration)).
|
|
9
|
+
3. Send USDC on Base to the agent's wallet ([Funding Your Agent](#funding-your-agent)).
|
|
4
10
|
|
|
5
11
|
## Installation
|
|
6
12
|
|
|
@@ -10,7 +16,7 @@ npm install -g @oneshot-agent/mcp-server
|
|
|
10
16
|
|
|
11
17
|
## Configuration
|
|
12
18
|
|
|
13
|
-
|
|
19
|
+
Pick one of three auth methods: **CDP Wallet** (recommended, no private keys in config), a raw private key, or an **access token** (credits-only session with no key; see Remote below).
|
|
14
20
|
|
|
15
21
|
### Environment Variables
|
|
16
22
|
|
|
@@ -87,16 +93,16 @@ Add to `~/.claude/settings.json`:
|
|
|
87
93
|
}
|
|
88
94
|
```
|
|
89
95
|
|
|
90
|
-
Get CDP credentials at [Coinbase Agentic Wallet](https://docs.cdp.coinbase.com/agentic-wallet/welcome)
|
|
96
|
+
Get CDP credentials at [Coinbase Agentic Wallet](https://docs.cdp.coinbase.com/agentic-wallet/welcome), or use `ONESHOT_WALLET_PRIVATE_KEY` instead of the CDP env vars for raw key auth.
|
|
91
97
|
|
|
92
98
|
### Read authentication
|
|
93
99
|
|
|
94
|
-
Read tools (inbox, SMS inbox, notifications, balance, browser profiles) return private, per-agent data. The server wraps the OneShot TypeScript SDK, which
|
|
100
|
+
Read tools (inbox, SMS inbox, notifications, balance, browser profiles) return private, per-agent data. The server wraps the OneShot TypeScript SDK, which signs a short-lived **EIP-712 read proof** (`x-agent-proof`) on each read so the API can verify you control the `X-Agent-ID` wallet. This needs no configuration; it ships in `@oneshot-agent/sdk >= 0.25.0` (the bundled dependency). The server is rolling out read-proof verification in log-only mode, so older callers keep working until enforcement is enabled.
|
|
95
101
|
|
|
96
102
|
## Remote (hosted)
|
|
97
103
|
|
|
98
|
-
Clients that run in someone else's cloud
|
|
99
|
-
server and must not hold a wallet key. For them OneShot hosts the same 73 tools over
|
|
104
|
+
Clients that run in someone else's cloud (Grok Bot, hosted runners) cannot spawn this
|
|
105
|
+
server and must not hold a wallet key. For them, OneShot hosts the same 73 tools over
|
|
100
106
|
Streamable HTTP at **`https://win.oneshotagent.com/mcp`**, authenticated with an
|
|
101
107
|
**agent access token** and billed to the agent's credit balance:
|
|
102
108
|
|
|
@@ -178,7 +184,7 @@ instead of the wallet variables for a credits-only session on your own machine.
|
|
|
178
184
|
|------|-------------|
|
|
179
185
|
| `oneshot_web_search` | Search the web |
|
|
180
186
|
| `oneshot_web_read` | Read any URL as markdown + screenshot |
|
|
181
|
-
| `oneshot_browser` | Autonomous browser
|
|
187
|
+
| `oneshot_browser` | Autonomous browser: navigate, click, extract |
|
|
182
188
|
|
|
183
189
|
### Commerce
|
|
184
190
|
|
|
@@ -198,12 +204,12 @@ instead of the wallet variables for a credits-only session on your own machine.
|
|
|
198
204
|
|
|
199
205
|
| Tool | Description |
|
|
200
206
|
|------|-------------|
|
|
201
|
-
| `oneshot_compute` | Create an autonomous goal
|
|
207
|
+
| `oneshot_compute` | Create an autonomous goal (objective + budget); the orchestrator plans and executes |
|
|
202
208
|
| `oneshot_compute_status` | Get a compute goal's status and budget |
|
|
203
209
|
| `oneshot_compute_tasks` | List tasks planned/executed under a goal |
|
|
204
210
|
| `oneshot_compute_cancel` | Cancel a goal and refund remaining budget |
|
|
205
211
|
| `oneshot_compute_respond` | Respond to a human-in-the-loop task |
|
|
206
|
-
| `oneshot_compute_pause` | Pause a recurring goal
|
|
212
|
+
| `oneshot_compute_pause` | Pause a recurring goal; plan and progress are kept |
|
|
207
213
|
| `oneshot_compute_resume` | Resume a paused recurring goal |
|
|
208
214
|
| `oneshot_compute_fund` | Top up a recurring goal's USDC budget |
|
|
209
215
|
|
|
@@ -233,7 +239,7 @@ instead of the wallet variables for a credits-only session on your own machine.
|
|
|
233
239
|
| `oneshot_get_balance` | Get USDC wallet balance |
|
|
234
240
|
| `oneshot_budget_status` | Today's spend vs the configured budget (read-only) |
|
|
235
241
|
|
|
236
|
-
|
|
242
|
+
Paid tools are priced in USDC via the x402 protocol. Current rates are on the [Pricing](https://docs.oneshotagent.com/pricing) page.
|
|
237
243
|
|
|
238
244
|
## Tool Examples
|
|
239
245
|
|
|
@@ -328,7 +334,16 @@ Use oneshot_inbox_list:
|
|
|
328
334
|
|
|
329
335
|
## Funding Your Agent
|
|
330
336
|
|
|
331
|
-
Send USDC to your agent's wallet address on Base. The server
|
|
337
|
+
Send USDC to your agent's wallet address on Base. The server runs on Base Mainnet (chain 8453).
|
|
338
|
+
|
|
339
|
+
## LinkedIn connection recovery
|
|
340
|
+
|
|
341
|
+
If the active account list is empty or an account is `deleted_upstream` or
|
|
342
|
+
`revoked`, ask the human to use `oneshot_linkedin_connect` and authorize fresh
|
|
343
|
+
grants. An existing account with `reconnect_required` must be reconnected through
|
|
344
|
+
the owning application. Reconnect and revoke are deliberately not agent tools.
|
|
345
|
+
Do not create a new connection automatically after authentication failures or
|
|
346
|
+
timeouts.
|
|
332
347
|
|
|
333
348
|
## Links
|
|
334
349
|
|
|
@@ -338,12 +353,3 @@ Send USDC to your agent's wallet address on Base. The server operates on Base Ma
|
|
|
338
353
|
- [Python SDK (LangChain)](https://pypi.org/project/langchain-oneshot/)
|
|
339
354
|
- [Python SDK (Core)](https://pypi.org/project/oneshot-python/)
|
|
340
355
|
- [GitHub](https://github.com/oneshot-agent/sdk)
|
|
341
|
-
|
|
342
|
-
### LinkedIn connection recovery
|
|
343
|
-
|
|
344
|
-
If the active account list is empty or an account is `deleted_upstream` or
|
|
345
|
-
`revoked`, ask the human to use `oneshot_linkedin_connect` and authorize fresh
|
|
346
|
-
grants. An existing account with `reconnect_required` needs reconnect through
|
|
347
|
-
the owning application. Reconnect and revoke are intentionally not agent tools.
|
|
348
|
-
Do not automatically create a new connection in response to authentication
|
|
349
|
-
failures or timeouts.
|
package/dist/index.js
CHANGED
|
@@ -52,7 +52,7 @@ async function main() {
|
|
|
52
52
|
// Create MCP server
|
|
53
53
|
const server = new Server({
|
|
54
54
|
name: "oneshot-mcp",
|
|
55
|
-
version: "0.
|
|
55
|
+
version: "0.28.0", // keep in sync with package.json; guarded by version.test.ts
|
|
56
56
|
}, {
|
|
57
57
|
capabilities: {
|
|
58
58
|
tools: {},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oneshot-agent/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"description": "MCP server for OneShot - 73 tools for AI agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@coinbase/cdp-sdk": "1.45.0",
|
|
27
27
|
"@modelcontextprotocol/sdk": "1.27.1",
|
|
28
|
-
"@oneshot-agent/sdk": "^0.
|
|
28
|
+
"@oneshot-agent/sdk": "^0.42.0",
|
|
29
29
|
"zod": "3.25.76"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|