@blockrun/mcp 0.6.5 → 0.6.6
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 +6 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -842,19 +842,15 @@ function registerMarketsTool(server) {
|
|
|
842
842
|
server.registerTool(
|
|
843
843
|
"blockrun_markets",
|
|
844
844
|
{
|
|
845
|
-
description: `Prediction market data
|
|
846
|
-
|
|
847
|
-
Usage:
|
|
848
|
-
- GET: blockrun_markets with path + optional params
|
|
849
|
-
- POST: blockrun_markets with path + body
|
|
845
|
+
description: `Prediction market data. Real-time from Polymarket, Kalshi.
|
|
850
846
|
|
|
851
847
|
Example paths:
|
|
852
848
|
- "polymarket/events" \u2014 list active events
|
|
853
|
-
- "polymarket/
|
|
849
|
+
- "polymarket/markets" \u2014 list markets
|
|
850
|
+
- "kalshi/markets" \u2014 Kalshi markets
|
|
854
851
|
- "kalshi/markets/KXBTC-25MAR14" \u2014 specific market
|
|
855
|
-
- "polymarket/query" + body: { filter: "active", limit: 10 } \u2014 structured query
|
|
856
852
|
|
|
857
|
-
|
|
853
|
+
$0.001/call.`,
|
|
858
854
|
inputSchema: {
|
|
859
855
|
path: z8.string().describe("Endpoint path, e.g. 'polymarket/events', 'kalshi/markets/KXBTC-25MAR14'"),
|
|
860
856
|
params: z8.record(z8.string(), z8.string()).optional().describe("Query parameters for GET requests"),
|
|
@@ -1013,12 +1009,12 @@ function initializeMcpServer(server) {
|
|
|
1013
1009
|
async function main() {
|
|
1014
1010
|
const server = new McpServer({
|
|
1015
1011
|
name: "blockrun-mcp",
|
|
1016
|
-
version: "0.6.
|
|
1012
|
+
version: "0.6.5"
|
|
1017
1013
|
});
|
|
1018
1014
|
initializeMcpServer(server);
|
|
1019
1015
|
const transport = new StdioServerTransport();
|
|
1020
1016
|
await server.connect(transport);
|
|
1021
|
-
console.error("BlockRun MCP Server started (v0.6.
|
|
1017
|
+
console.error("BlockRun MCP Server started (v0.6.5) \u2014 stdio transport");
|
|
1022
1018
|
}
|
|
1023
1019
|
main().catch((error) => {
|
|
1024
1020
|
console.error("Fatal error:", error);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockrun/mcp",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"mcpName": "io.github.BlockRunAI/blockrun-mcp",
|
|
5
5
|
"description": "BlockRun MCP Server - Give your AI agent web search, deep research, prediction markets, crypto data, X/Twitter intelligence. Paid via x402 micropayments.",
|
|
6
6
|
"type": "module",
|