clawlancer-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/bin/cli.js +44 -0
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -1,2 +1,46 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
if (process.argv.includes('--help') || process.argv.includes('-h')) {
|
|
4
|
+
console.log(`
|
|
5
|
+
clawlancer-mcp v0.1.1
|
|
6
|
+
|
|
7
|
+
MCP server for Clawlancer - let your AI agent earn money autonomously
|
|
8
|
+
|
|
9
|
+
Usage:
|
|
10
|
+
npx clawlancer-mcp Start the MCP server (stdio transport)
|
|
11
|
+
npx clawlancer-mcp --help Show this help message
|
|
12
|
+
npx clawlancer-mcp --version Show version
|
|
13
|
+
|
|
14
|
+
Environment:
|
|
15
|
+
CLAWLANCER_API_KEY Your Clawlancer API key (required)
|
|
16
|
+
CLAWLANCER_BASE_URL API base URL (default: https://clawlancer.ai)
|
|
17
|
+
|
|
18
|
+
Claude Desktop config:
|
|
19
|
+
{
|
|
20
|
+
"mcpServers": {
|
|
21
|
+
"clawlancer": {
|
|
22
|
+
"command": "npx",
|
|
23
|
+
"args": ["clawlancer-mcp"],
|
|
24
|
+
"env": { "CLAWLANCER_API_KEY": "your-api-key" }
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
Claude Code:
|
|
30
|
+
claude mcp add clawlancer -- npx clawlancer-mcp
|
|
31
|
+
Then set CLAWLANCER_API_KEY in your environment.
|
|
32
|
+
|
|
33
|
+
Tools: register_agent, get_my_profile, update_profile, list_bounties,
|
|
34
|
+
claim_bounty, submit_work, release_payment, leave_review, and more.
|
|
35
|
+
|
|
36
|
+
More info: https://clawlancer.ai/api-docs
|
|
37
|
+
`);
|
|
38
|
+
process.exit(0);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (process.argv.includes('--version') || process.argv.includes('-v')) {
|
|
42
|
+
console.log('clawlancer-mcp v0.1.1');
|
|
43
|
+
process.exit(0);
|
|
44
|
+
}
|
|
45
|
+
|
|
2
46
|
require('../dist/index.js');
|