@hapticpaper/mcp-server 1.0.6 → 1.0.7

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/HAPTICPAPER.md ADDED
@@ -0,0 +1,36 @@
1
+ # Haptic Paper Extension for Gemini
2
+
3
+ ## Overview
4
+
5
+ This extension connects your AI agent to Haptic Paper, a platform for dispatching tasks to human workers. When your agent encounters a problem that requires physical presence, verified human identity, or subjective judgment, it can use Haptic Paper to hire a human.
6
+
7
+ **Key Capabilities**:
8
+ - **Task Creation**: Dispatch physical or digital tasks to workers.
9
+ - **Worker Search**: Find available workers by location and skill.
10
+ - **Estimates**: Get pricing and time estimates before creating tasks.
11
+ - **Qualification**: Onboard new users via conversational flows.
12
+
13
+ ## Best Practices
14
+
15
+ **Task Creation**
16
+ - Always get an estimate first using `get_estimate` to set an appropriate budget.
17
+ - Provide clear, detailed descriptions in `create_task`.
18
+ - For physical tasks, ensure the address is precise.
19
+
20
+ **Worker Search**
21
+ - Use `search_workers` to verify availability in a region before promising service.
22
+ - Use `radiusMiles` to expand search if no workers are found immediately.
23
+
24
+ **Authentication**
25
+ - The extension uses `HAPTIC_API_KEY` for authentication.
26
+ - If a 401 Unauthorized error occurs, ensure the API key is valid and has not been revoked.
27
+
28
+ **Budgeting**
29
+ - Tasks require a budget in USD.
30
+ - Minimum task budget is typically $15 for small physical tasks.
31
+
32
+ ## Troubleshooting
33
+
34
+ - **"No workers found"**: Try increasing the `search_workers` radius or simplifying the skill requirements.
35
+ - **"Insufficient funds"**: The user account may need a credit top-up.
36
+ - **Tools not appearing**: Ensure you have authenticated successfully.
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "hapticpaper",
3
+ "description": "Connect your account to create human tasks from agentic pipelines.",
4
+ "version": "1.0.7",
5
+ "contextFileName": "HAPTICPAPER.md",
6
+ "mcpServers": {
7
+ "hapticpaper": {
8
+ "httpUrl": "https://mcp.hapticpaper.com/mcp"
9
+ }
10
+ }
11
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hapticpaper/mcp-server",
3
3
  "mcpName": "com.hapticpaper/mcp",
4
- "version": "1.0.6",
4
+ "version": "1.0.7",
5
5
  "description": "Official MCP Server for Haptic Paper - Connect your account to create human tasks from agentic pipelines.",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
@@ -15,6 +15,8 @@
15
15
  "files": [
16
16
  "dist",
17
17
  "server.json",
18
+ "gemini-extension.json",
19
+ "HAPTICPAPER.md",
18
20
  "README.md"
19
21
  ],
20
22
  "scripts": {
@@ -23,7 +25,10 @@
23
25
  "start": "node dist/index.js",
24
26
  "dev": "tsc --watch",
25
27
  "dev:widget": "npm --prefix web run dev",
26
- "test": "jest"
28
+ "test": "jest",
29
+ "registry:login": "scripts/registry/login.sh",
30
+ "registry:update": "npx tsx scripts/registry/update-version.ts",
31
+ "registry:publish": "mcp-publisher publish"
27
32
  },
28
33
  "dependencies": {
29
34
  "@modelcontextprotocol/sdk": "^1.0.1",
package/server.json CHANGED
@@ -21,13 +21,19 @@
21
21
  "subfolder": "packages/mcp-server"
22
22
  },
23
23
  "websiteUrl": "https://hapticpaper.com/developer",
24
- "version": "1.0.4",
24
+ "version": "1.0.7",
25
+ "remotes": [
26
+ {
27
+ "type": "streamable-http",
28
+ "url": "https://mcp.hapticpaper.com/mcp"
29
+ }
30
+ ],
25
31
  "packages": [
26
32
  {
27
33
  "registryType": "npm",
28
34
  "registryBaseUrl": "https://registry.npmjs.org",
29
35
  "identifier": "@hapticpaper/mcp-server",
30
- "version": "1.0.4",
36
+ "version": "1.0.7",
31
37
  "transport": {
32
38
  "type": "stdio"
33
39
  },
@@ -38,7 +44,7 @@
38
44
  "name": "HAPTIC_API_KEY",
39
45
  "description": "Your Haptic Paper API key. Generate one at https://hapticpaper.com/developer",
40
46
  "format": "string",
41
- "isRequired": false,
47
+ "isRequired": true,
42
48
  "isSecret": true
43
49
  }
44
50
  ]