@agentpickup/mcp 0.1.0 → 0.1.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 +2 -2
- package/dist/cli.js +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -16,10 +16,10 @@ collect.
|
|
|
16
16
|
|
|
17
17
|
## Use it
|
|
18
18
|
|
|
19
|
-
Try it against the hosted demo shop first. It pays with the demo's own wallet
|
|
19
|
+
Try it against the hosted demo shop first. It pays with the demo's own small wallet, within the demo's caps:
|
|
20
20
|
|
|
21
21
|
```json
|
|
22
|
-
{ "mcpServers": { "agentpickup": { "type": "http", "url": "https://
|
|
22
|
+
{ "mcpServers": { "agentpickup": { "type": "http", "url": "https://agentpickup.app/mcp" } } }
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
Or run it locally against any agentPickup shop, with your own wallet:
|
package/dist/cli.js
CHANGED
|
@@ -4,7 +4,7 @@ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"
|
|
|
4
4
|
import { createPickupMcpServer } from "./server.js";
|
|
5
5
|
import { walletPayer } from "./wallet.js";
|
|
6
6
|
const env = process.env;
|
|
7
|
-
const shopUrl = env.AGENTPICKUP_SHOP_URL || "https://
|
|
7
|
+
const shopUrl = env.AGENTPICKUP_SHOP_URL || "https://agentpickup.app";
|
|
8
8
|
const key = env.AGENTPICKUP_WALLET_KEY?.trim();
|
|
9
9
|
if (key && !/^0x[0-9a-fA-F]{64}$/.test(key)) {
|
|
10
10
|
console.error("AGENTPICKUP_WALLET_KEY must be a 0x-prefixed 32-byte hex private key.");
|
package/dist/server.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
2
2
|
import { type Fetch, type Payer } from "./wallet.js";
|
|
3
|
-
export declare const VERSION = "0.1.
|
|
3
|
+
export declare const VERSION = "0.1.1";
|
|
4
4
|
export interface PickupMcpOptions {
|
|
5
5
|
/** The agentPickup shop this server orders from. */
|
|
6
6
|
shopUrl: string;
|
package/dist/server.js
CHANGED
|
@@ -4,7 +4,7 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
|
4
4
|
import { WebStandardStreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/webStandardStreamableHttp.js";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import { errorOf, usd } from "./wallet.js";
|
|
7
|
-
export const VERSION = "0.1.
|
|
7
|
+
export const VERSION = "0.1.1";
|
|
8
8
|
class ToolError extends Error {
|
|
9
9
|
}
|
|
10
10
|
const INSTRUCTIONS = `agentPickup lets you buy things online for the user to collect in person.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentpickup/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "MCP server for agentPickup: let an AI agent order from a shop, pay over x402, and hand its user the QR to collect in person.",
|
|
5
5
|
"mcpName": "io.github.dav3trad3r/agentpickup",
|
|
6
6
|
"type": "module",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"url": "git+https://github.com/dav3trad3r/agentpickup.git",
|
|
43
43
|
"directory": "packages/mcp"
|
|
44
44
|
},
|
|
45
|
-
"homepage": "https://
|
|
45
|
+
"homepage": "https://agentpickup.app",
|
|
46
46
|
"bugs": {
|
|
47
47
|
"url": "https://github.com/dav3trad3r/agentpickup/issues"
|
|
48
48
|
},
|