@agentpickup/mcp 0.3.0 → 0.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,8 +1,8 @@
1
1
  # @agentpickup/mcp
2
2
 
3
3
  An MCP server for [agentPickup](https://github.com/dav3trad3r/agentpickup) shops. It lets an AI agent find
4
- pickup shops near its user, see what they sell, order, pay in USDC over x402, and hand its user the QR they
5
- show at the counter to collect.
4
+ pickup shops near its user, see what they sell, order, pay by card or in USDC over x402, and hand its user the
5
+ QR they show at the counter to collect.
6
6
 
7
7
  ## Tools
8
8
 
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.3.0";
3
+ export declare const VERSION = "0.3.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,14 +4,15 @@ 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.3.0";
7
+ export const VERSION = "0.3.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.
11
11
  0. find_shops (when available): shops near the user that sell what they want. Pass a shop's shop_url to the other tools.
12
12
  1. get_shop: see what the shop sells, its pickup location and how it takes payment.
13
13
  2. create_pickup_order: needs the user's email, where the shop sends the pickup QR.
14
- 3. pay_order: pays from the configured wallet in USDC over x402. Confirm the items and total with the user first.
14
+ 3. pay_order: pays from the configured wallet in USDC over x402. Where the shop takes cards, payment: "card" on
15
+ create_pickup_order gives a checkout link for the user to pay on instead. Confirm the items and total with the user first.
15
16
  4. Give the user the pass link and pickup code. They show the QR at the counter to collect.
16
17
  get_pickup_pass fetches the pass again later; order_status says whether it's ready or collected.
17
18
  Group orders (a coffee run): start_group_order gives a code to share; each person's agent calls join_group_order and
package/package.json CHANGED
@@ -1,62 +1,62 @@
1
- {
2
- "name": "@agentpickup/mcp",
3
- "version": "0.3.0",
4
- "description": "MCP server for agentPickup: let an AI agent find pickup shops near its user, order, pay over x402, and hand its user the QR to collect in person.",
5
- "mcpName": "io.github.dav3trad3r/agentpickup",
6
- "type": "module",
7
- "main": "./dist/index.js",
8
- "types": "./dist/index.d.ts",
9
- "bin": {
10
- "agentpickup-mcp": "dist/cli.js"
11
- },
12
- "exports": {
13
- ".": {
14
- "source": "./src/index.ts",
15
- "types": "./dist/index.d.ts",
16
- "default": "./dist/index.js"
17
- }
18
- },
19
- "files": [
20
- "dist",
21
- "LICENSE.md",
22
- "README.md"
23
- ],
24
- "scripts": {
25
- "build": "tsc -p tsconfig.build.json",
26
- "prepublishOnly": "npm run build"
27
- },
28
- "engines": {
29
- "node": ">=22.13"
30
- },
31
- "keywords": [
32
- "mcp",
33
- "model-context-protocol",
34
- "x402",
35
- "agentic-commerce",
36
- "agent-payments",
37
- "click-and-collect",
38
- "pickup"
39
- ],
40
- "repository": {
41
- "type": "git",
42
- "url": "git+https://github.com/dav3trad3r/agentpickup.git",
43
- "directory": "packages/mcp"
44
- },
45
- "homepage": "https://agentpickup.app",
46
- "bugs": {
47
- "url": "https://github.com/dav3trad3r/agentpickup/issues"
48
- },
49
- "author": "Dave Hallett",
50
- "license": "FSL-1.1-ALv2",
51
- "publishConfig": {
52
- "access": "public"
53
- },
54
- "dependencies": {
55
- "@modelcontextprotocol/sdk": "^1.32.2",
56
- "@x402/core": "2.29.0",
57
- "@x402/evm": "2.29.0",
58
- "@x402/extensions": "2.29.0",
59
- "viem": "^2.57.14",
60
- "zod": "^4.6.7"
61
- }
62
- }
1
+ {
2
+ "name": "@agentpickup/mcp",
3
+ "version": "0.3.1",
4
+ "description": "MCP server for agentPickup: let an AI agent find pickup shops near its user, order, pay by card or in USDC over x402, and hand its user the QR to collect in person.",
5
+ "mcpName": "io.github.dav3trad3r/agentpickup",
6
+ "type": "module",
7
+ "main": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "bin": {
10
+ "agentpickup-mcp": "dist/cli.js"
11
+ },
12
+ "exports": {
13
+ ".": {
14
+ "source": "./src/index.ts",
15
+ "types": "./dist/index.d.ts",
16
+ "default": "./dist/index.js"
17
+ }
18
+ },
19
+ "files": [
20
+ "dist",
21
+ "LICENSE.md",
22
+ "README.md"
23
+ ],
24
+ "scripts": {
25
+ "build": "tsc -p tsconfig.build.json",
26
+ "prepublishOnly": "npm run build"
27
+ },
28
+ "engines": {
29
+ "node": ">=22.13"
30
+ },
31
+ "keywords": [
32
+ "mcp",
33
+ "model-context-protocol",
34
+ "x402",
35
+ "agentic-commerce",
36
+ "agent-payments",
37
+ "click-and-collect",
38
+ "pickup"
39
+ ],
40
+ "repository": {
41
+ "type": "git",
42
+ "url": "git+https://github.com/dav3trad3r/agentpickup.git",
43
+ "directory": "packages/mcp"
44
+ },
45
+ "homepage": "https://agentpickup.app",
46
+ "bugs": {
47
+ "url": "https://github.com/dav3trad3r/agentpickup/issues"
48
+ },
49
+ "author": "Dave Hallett",
50
+ "license": "FSL-1.1-ALv2",
51
+ "publishConfig": {
52
+ "access": "public"
53
+ },
54
+ "dependencies": {
55
+ "@modelcontextprotocol/sdk": "^1.32.2",
56
+ "@x402/core": "2.29.0",
57
+ "@x402/evm": "2.29.0",
58
+ "@x402/extensions": "2.29.0",
59
+ "viem": "^2.57.14",
60
+ "zod": "^4.6.7"
61
+ }
62
+ }