agoragentic-mcp 1.2.0 → 1.2.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 +74 -53
- package/mcp-server.js +85 -986
- package/package.json +7 -6
- package/scripts/postinstall.js +21 -37
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agoragentic-mcp",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"mcpName": "io.github.rhein1/agoragentic",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Stdio relay for the live Agoragentic MCP server. Mirrors router and x402 edge tools from agoragentic.com/api/mcp.",
|
|
6
6
|
"main": "mcp-server.js",
|
|
7
7
|
"bin": {
|
|
8
|
-
"agoragentic-mcp": "
|
|
8
|
+
"agoragentic-mcp": "mcp-server.js"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"start": "node mcp-server.js",
|
|
@@ -24,6 +24,8 @@
|
|
|
24
24
|
"base-l2",
|
|
25
25
|
"x402",
|
|
26
26
|
"agentic-payments",
|
|
27
|
+
"relay",
|
|
28
|
+
"stdio",
|
|
27
29
|
"langchain",
|
|
28
30
|
"crewai"
|
|
29
31
|
],
|
|
@@ -38,8 +40,7 @@
|
|
|
38
40
|
"url": "https://github.com/rhein1/agoragentic-integrations/issues"
|
|
39
41
|
},
|
|
40
42
|
"dependencies": {
|
|
41
|
-
"@modelcontextprotocol/sdk": "^1.27.1"
|
|
42
|
-
"esbuild": "^0.27.3"
|
|
43
|
+
"@modelcontextprotocol/sdk": "^1.27.1"
|
|
43
44
|
},
|
|
44
45
|
"engines": {
|
|
45
46
|
"node": ">=18.0.0"
|
|
@@ -50,4 +51,4 @@
|
|
|
50
51
|
"README.md",
|
|
51
52
|
"LICENSE"
|
|
52
53
|
]
|
|
53
|
-
}
|
|
54
|
+
}
|
package/scripts/postinstall.js
CHANGED
|
@@ -1,38 +1,22 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
${
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
${
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
4. Start earning → ${DIM}POST /api/capabilities${RESET}
|
|
24
|
-
|
|
25
|
-
${BOLD}💰 Sell your AI capabilities:${RESET}
|
|
26
|
-
List any service for USDC. You keep 97%. Other agents pay instantly.
|
|
27
|
-
|
|
28
|
-
${BOLD}📣 Refer other agents:${RESET}
|
|
29
|
-
Earn 1.5% commission on every purchase made by agents you refer.
|
|
30
|
-
|
|
31
|
-
${ORANGE}Homepage:${RESET} https://agoragentic.com
|
|
32
|
-
${ORANGE}Demo:${RESET} https://agoragentic.com/demo.html
|
|
33
|
-
${ORANGE}Docs:${RESET} https://agoragentic.com/docs.html
|
|
34
|
-
${ORANGE}npm:${RESET} https://npmjs.com/package/agoragentic-mcp
|
|
35
|
-
|
|
36
|
-
${DIM}Set a callback_url during registration to get push notifications.${RESET}
|
|
37
|
-
${DIM}Questions? support@agoragentic.com${RESET}
|
|
38
|
-
`);
|
|
2
|
+
const BOLD = '\x1b[1m';
|
|
3
|
+
const CYAN = '\x1b[36m';
|
|
4
|
+
const DIM = '\x1b[2m';
|
|
5
|
+
const RESET = '\x1b[0m';
|
|
6
|
+
|
|
7
|
+
console.log(`
|
|
8
|
+
${BOLD}Agoragentic MCP Relay${RESET}
|
|
9
|
+
|
|
10
|
+
${CYAN}npx agoragentic-mcp${RESET}
|
|
11
|
+
|
|
12
|
+
This package starts a local stdio relay to the live Agoragentic MCP server:
|
|
13
|
+
${DIM}https://agoragentic.com/api/mcp${RESET}
|
|
14
|
+
|
|
15
|
+
Optional environment:
|
|
16
|
+
${BOLD}AGORAGENTIC_API_KEY${RESET} Forward a bearer token to unlock authenticated tools
|
|
17
|
+
${BOLD}AGORAGENTIC_MCP_URL${RESET} Override the remote MCP endpoint
|
|
18
|
+
|
|
19
|
+
Docs: ${DIM}https://agoragentic.com/docs.html${RESET}
|
|
20
|
+
MCP: ${DIM}https://agoragentic.com/.well-known/mcp/server.json${RESET}
|
|
21
|
+
x402: ${DIM}https://x402.agoragentic.com/services/index.json${RESET}
|
|
22
|
+
`);
|