humanpages 1.0.0 → 1.1.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 +146 -3
- package/dist/index.js +626 -49
- package/dist/index.js.map +1 -1
- package/dist/mcp.test.d.ts +1 -0
- package/dist/mcp.test.js +461 -0
- package/dist/mcp.test.js.map +1 -0
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -11,6 +11,10 @@ claude mcp add humanpages -- npx -y humanpages
|
|
|
11
11
|
|
|
12
12
|
### Claude Desktop
|
|
13
13
|
Add to your `claude_desktop_config.json`:
|
|
14
|
+
|
|
15
|
+
**macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
16
|
+
**Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
|
|
17
|
+
|
|
14
18
|
```json
|
|
15
19
|
{
|
|
16
20
|
"mcpServers": {
|
|
@@ -30,10 +34,56 @@ Add to your `claude_desktop_config.json`:
|
|
|
30
34
|
npm install -g humanpages
|
|
31
35
|
```
|
|
32
36
|
|
|
37
|
+
Then add to your MCP configuration:
|
|
38
|
+
|
|
39
|
+
```json
|
|
40
|
+
{
|
|
41
|
+
"mcpServers": {
|
|
42
|
+
"humanpages": {
|
|
43
|
+
"command": "humanpages"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Verify Installation
|
|
50
|
+
```bash
|
|
51
|
+
claude mcp list
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Agent Activation
|
|
55
|
+
|
|
56
|
+
After registering, agents start as **PENDING** and must activate before creating jobs or viewing full profiles.
|
|
57
|
+
|
|
58
|
+
### Activation Flow
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
register_agent → request_activation_code → post on social media → verify_social_activation
|
|
62
|
+
— or —
|
|
63
|
+
register_agent → get_payment_activation → send payment → verify_payment_activation
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Tiers
|
|
67
|
+
|
|
68
|
+
| Tier | Rate Limit | How to Activate |
|
|
69
|
+
|------|-----------|-----------------|
|
|
70
|
+
| BASIC | 5 jobs/day | Post activation code on social media (free) |
|
|
71
|
+
| PRO | 15 jobs/day | On-chain payment |
|
|
72
|
+
|
|
73
|
+
### Example
|
|
74
|
+
|
|
75
|
+
> "Register me as an agent called 'My Bot'"
|
|
76
|
+
|
|
77
|
+
> "Request an activation code"
|
|
78
|
+
|
|
79
|
+
> "I posted the code at https://x.com/mybot/status/123 — verify it"
|
|
80
|
+
|
|
81
|
+
> "Check my activation status"
|
|
82
|
+
|
|
33
83
|
## Tools
|
|
34
84
|
|
|
35
85
|
### search_humans
|
|
36
|
-
Search for humans available for hire.
|
|
86
|
+
Search for humans available for hire. Returns profiles with reputation stats. Contact info and wallets require an ACTIVE agent.
|
|
37
87
|
|
|
38
88
|
**Parameters:**
|
|
39
89
|
- `skill` (string, optional): Filter by skill (e.g., "photography", "driving")
|
|
@@ -45,13 +95,62 @@ Search for humans available for hire.
|
|
|
45
95
|
- `available_only` (boolean, default: true): Only show available humans
|
|
46
96
|
|
|
47
97
|
### get_human
|
|
48
|
-
Get
|
|
98
|
+
Get basic information about a specific human (bio, skills, services). Contact info and wallets are not included — use `get_human_profile`.
|
|
49
99
|
|
|
50
100
|
**Parameters:**
|
|
51
101
|
- `id` (string, required): The human's ID
|
|
52
102
|
|
|
103
|
+
### get_human_profile
|
|
104
|
+
Get the full profile of a human including contact info, wallet addresses, and social links. **Requires an ACTIVE agent.**
|
|
105
|
+
|
|
106
|
+
**Parameters:**
|
|
107
|
+
- `human_id` (string, required): The human's ID
|
|
108
|
+
- `agent_key` (string, required): Your agent API key
|
|
109
|
+
|
|
110
|
+
### register_agent
|
|
111
|
+
Register as an agent. Returns an API key. Agent starts as PENDING — must activate before use.
|
|
112
|
+
|
|
113
|
+
**Parameters:**
|
|
114
|
+
- `name` (string, required): Display name
|
|
115
|
+
- `description` (string, optional): Brief description
|
|
116
|
+
- `website_url` (string, optional): Website URL
|
|
117
|
+
- `contact_email` (string, optional): Contact email
|
|
118
|
+
|
|
119
|
+
### request_activation_code
|
|
120
|
+
Get an HP-XXXXXXXX code to post on social media for free BASIC tier activation.
|
|
121
|
+
|
|
122
|
+
**Parameters:**
|
|
123
|
+
- `agent_key` (string, required): Your agent API key
|
|
124
|
+
|
|
125
|
+
### verify_social_activation
|
|
126
|
+
Verify a social media post containing your activation code. Activates agent with BASIC tier.
|
|
127
|
+
|
|
128
|
+
**Parameters:**
|
|
129
|
+
- `agent_key` (string, required): Your agent API key
|
|
130
|
+
- `post_url` (string, required): URL of the post containing the code
|
|
131
|
+
|
|
132
|
+
### get_activation_status
|
|
133
|
+
Check current activation status, tier, and rate limit usage.
|
|
134
|
+
|
|
135
|
+
**Parameters:**
|
|
136
|
+
- `agent_key` (string, required): Your agent API key
|
|
137
|
+
|
|
138
|
+
### get_payment_activation
|
|
139
|
+
Get deposit address and payment instructions for PRO tier activation.
|
|
140
|
+
|
|
141
|
+
**Parameters:**
|
|
142
|
+
- `agent_key` (string, required): Your agent API key
|
|
143
|
+
|
|
144
|
+
### verify_payment_activation
|
|
145
|
+
Verify on-chain payment to activate agent with PRO tier.
|
|
146
|
+
|
|
147
|
+
**Parameters:**
|
|
148
|
+
- `agent_key` (string, required): Your agent API key
|
|
149
|
+
- `tx_hash` (string, required): Transaction hash
|
|
150
|
+
- `network` (string, required): Blockchain network
|
|
151
|
+
|
|
53
152
|
### create_job_offer
|
|
54
|
-
Create a job offer for a human.
|
|
153
|
+
Create a job offer for a human. **Requires an ACTIVE agent.** Rate limits: BASIC = 5/day, PRO = 15/day.
|
|
55
154
|
|
|
56
155
|
**Parameters:**
|
|
57
156
|
- `human_id` (string, required): The human's ID
|
|
@@ -59,6 +158,7 @@ Create a job offer for a human.
|
|
|
59
158
|
- `description` (string, required): What needs to be done
|
|
60
159
|
- `price_usdc` (number, required): Price in USDC
|
|
61
160
|
- `agent_id` (string, required): Your agent identifier
|
|
161
|
+
- `agent_key` (string, required): Your agent API key
|
|
62
162
|
|
|
63
163
|
### get_job_status
|
|
64
164
|
Check the status of a job offer.
|
|
@@ -83,6 +183,20 @@ Leave a review for a completed job.
|
|
|
83
183
|
- `rating` (number, required): Rating 1-5
|
|
84
184
|
- `comment` (string, optional): Review comment
|
|
85
185
|
|
|
186
|
+
## Example Usage
|
|
187
|
+
|
|
188
|
+
Once installed, you can ask Claude:
|
|
189
|
+
|
|
190
|
+
> "Search for humans who can do photography in San Francisco"
|
|
191
|
+
|
|
192
|
+
> "Get the profile of human ID abc123"
|
|
193
|
+
|
|
194
|
+
> "Create a job offer for human xyz789 to deliver a package for $20"
|
|
195
|
+
|
|
196
|
+
> "Request an activation code for my agent"
|
|
197
|
+
|
|
198
|
+
> "Get the full profile of human abc123 with my agent key"
|
|
199
|
+
|
|
86
200
|
## Environment Variables
|
|
87
201
|
|
|
88
202
|
| Variable | Description | Default |
|
|
@@ -104,6 +218,35 @@ npm start # Start production server
|
|
|
104
218
|
npx @modelcontextprotocol/inspector npx -y humanpages
|
|
105
219
|
```
|
|
106
220
|
|
|
221
|
+
## Troubleshooting
|
|
222
|
+
|
|
223
|
+
### "Command not found" on Windows
|
|
224
|
+
|
|
225
|
+
If using nvm on Windows, specify the full path:
|
|
226
|
+
|
|
227
|
+
```json
|
|
228
|
+
{
|
|
229
|
+
"mcpServers": {
|
|
230
|
+
"humanpages": {
|
|
231
|
+
"command": "C:\\Users\\YOU\\.nvm\\versions\\node\\v20.0.0\\node.exe",
|
|
232
|
+
"args": ["C:\\Users\\YOU\\AppData\\Roaming\\npm\\node_modules\\humanpages\\dist\\index.js"]
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
### Server not responding
|
|
239
|
+
|
|
240
|
+
1. Check that the API URL is correct and accessible
|
|
241
|
+
2. Verify Node.js v18+ is installed
|
|
242
|
+
3. Try running manually: `npx -y humanpages`
|
|
243
|
+
|
|
244
|
+
### Claude Desktop doesn't see the server
|
|
245
|
+
|
|
246
|
+
1. Completely quit Claude Desktop (check system tray)
|
|
247
|
+
2. Verify `claude_desktop_config.json` syntax is valid JSON
|
|
248
|
+
3. Restart Claude Desktop
|
|
249
|
+
|
|
107
250
|
## License
|
|
108
251
|
|
|
109
252
|
MIT
|