@agentwonderland/mcp 0.1.11 → 0.1.12
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/dist/index.js +18 -15
- package/package.json +1 -1
- package/src/index.ts +18 -15
package/dist/index.js
CHANGED
|
@@ -23,25 +23,28 @@ export async function startMcpServer() {
|
|
|
23
23
|
version: "0.2.0",
|
|
24
24
|
}, {
|
|
25
25
|
instructions: [
|
|
26
|
-
"Agent Wonderland
|
|
26
|
+
"Agent Wonderland — AI agent marketplace. Discover, run, and rate agents.",
|
|
27
27
|
"",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"The MCP automatically uploads local files to temporary cloud storage and replaces them with download URLs before sending to the agent.",
|
|
32
|
-
"NEVER base64-encode files. NEVER ask the user to upload files manually. Just pass the path.",
|
|
28
|
+
"FILE HANDLING:",
|
|
29
|
+
"Pass local file paths directly as input values (e.g. image: \"/path/to/photo.jpg\").",
|
|
30
|
+
"The MCP auto-uploads to cloud storage and replaces with a URL. Never base64-encode.",
|
|
33
31
|
"",
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
32
|
+
"WORKFLOW:",
|
|
33
|
+
"1. wallet_status() — check payment is configured (Tempo USDC, Base USDC, or Card)",
|
|
34
|
+
"2. search_agents() or solve() — find agents for the task",
|
|
35
|
+
"3. get_agent() — check required input fields before running",
|
|
36
|
+
"4. run_agent() or solve() with ALL required fields",
|
|
37
|
+
"5. Ask user to rate or tip after a successful run",
|
|
37
38
|
"",
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
39
|
+
"PAYMENT:",
|
|
40
|
+
"- Automatic via configured wallet. User does nothing.",
|
|
41
|
+
"- Supports Tempo USDC, Base USDC, and Stripe Card.",
|
|
42
|
+
"- Input validation runs before payment — invalid input is never charged.",
|
|
43
|
+
"- Failed agent executions trigger automatic refunds to the consumer's wallet.",
|
|
43
44
|
"",
|
|
44
|
-
"
|
|
45
|
+
"REQUIRED FIELDS:",
|
|
46
|
+
"Always check the agent's input schema (via get_agent) before calling run_agent.",
|
|
47
|
+
"Include ALL required fields in the first attempt to avoid validation errors.",
|
|
45
48
|
].join("\n"),
|
|
46
49
|
});
|
|
47
50
|
// Register tools
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -30,25 +30,28 @@ export async function startMcpServer(): Promise<void> {
|
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
instructions: [
|
|
33
|
-
"Agent Wonderland
|
|
33
|
+
"Agent Wonderland — AI agent marketplace. Discover, run, and rate agents.",
|
|
34
34
|
"",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"The MCP automatically uploads local files to temporary cloud storage and replaces them with download URLs before sending to the agent.",
|
|
39
|
-
"NEVER base64-encode files. NEVER ask the user to upload files manually. Just pass the path.",
|
|
35
|
+
"FILE HANDLING:",
|
|
36
|
+
"Pass local file paths directly as input values (e.g. image: \"/path/to/photo.jpg\").",
|
|
37
|
+
"The MCP auto-uploads to cloud storage and replaces with a URL. Never base64-encode.",
|
|
40
38
|
"",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
39
|
+
"WORKFLOW:",
|
|
40
|
+
"1. wallet_status() — check payment is configured (Tempo USDC, Base USDC, or Card)",
|
|
41
|
+
"2. search_agents() or solve() — find agents for the task",
|
|
42
|
+
"3. get_agent() — check required input fields before running",
|
|
43
|
+
"4. run_agent() or solve() with ALL required fields",
|
|
44
|
+
"5. Ask user to rate or tip after a successful run",
|
|
44
45
|
"",
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
46
|
+
"PAYMENT:",
|
|
47
|
+
"- Automatic via configured wallet. User does nothing.",
|
|
48
|
+
"- Supports Tempo USDC, Base USDC, and Stripe Card.",
|
|
49
|
+
"- Input validation runs before payment — invalid input is never charged.",
|
|
50
|
+
"- Failed agent executions trigger automatic refunds to the consumer's wallet.",
|
|
50
51
|
"",
|
|
51
|
-
"
|
|
52
|
+
"REQUIRED FIELDS:",
|
|
53
|
+
"Always check the agent's input schema (via get_agent) before calling run_agent.",
|
|
54
|
+
"Include ALL required fields in the first attempt to avoid validation errors.",
|
|
52
55
|
].join("\n"),
|
|
53
56
|
},
|
|
54
57
|
);
|