网络斗殴
模型上下文协议 (MCP)服务器暴露 网络斗殴.io 向AI客户端(Claude、Cursor、VS Code、xbid AI)提供游戏内物品的拍卖价格(来源于Stellar DEX) 工作室 或 超文本传输协议.
- 工具:
get_prices({ markets, limit, offset }) - 上游:
https://connect.cyberbrawl.io/listings/prices
______________________________________________________________________
运行服务器
npm start示例
Claude 配置文件(stdio传输)
{
"mcpServers": {
"cyberbrawl": {
"command": "node",
"args": ["path/to/index.js"],
"env": {
"MCP_STDIO": "1"
}
}
}
}
工具/列表
curl -sS -X POST http://localhost:3000/mcp -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" --data '{ "jsonrpc":"2.0","id":"1","method":"tools/list" }'get_prices--全部
curl -sS -X POST http://localhost:3000/mcp -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" --data '{ "jsonrpc":"2.0","id":"1","method":"tools/call","params":{"name":"get_prices","arguments":{"markets":"ALL","limit":100,"offset":0}} }'价格--40亿美元
curl -sS -X POST http://localhost:3000/mcp -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" --data '{ "jsonrpc":"2.0","id":"1","method":"tools/call","params":{"name":"get_prices","arguments":{"markets":["USDC","XLM"],"limit":100,"offset":0}} }'免责声明
本软件是实验性的,按原样提供,不提供任何形式的保证或担保。使用风险自负。
