Skip to content

cloudbet/sports-mcp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Cloudbet Sports MCP server

Single-file, minimal implementation of the Model Context Protocol (MCP) for sports data and betting tool exposure using the Cloudbet public API. This demo server follows the MCP Server specification and is designed for educational and demonstration purposes only. Please use responsibly and at your own risk.

  1. Run the Server:
go run .
  1. List Tools (Describe):
curl -X POST http://localhost:8080/ -H "Content-Type: application/json" -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list",
  "params": {}
}' | jq .
  1. Call a Tool:
curl -X POST http://localhost:8080/ -H "Content-Type: application/json" -d '{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "findEventsAndMarketsByCompetition",
    "arguments": {
      "competitionName": "Premier League"
    }
  }
}' | jq .

Releases

No releases published

Packages

No packages published

Languages