Kalshi Prediction Markets for VS Code
io.github.cejor6/kalshi-mcp-server
MCP server for Kalshi prediction markets: native RSA-PSS auth, rate limiting, demo/prod safety.
client:VS Code
transport:stdio
runtime:pypi
Install Kalshi Prediction Markets in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "kalshi-api-key-id",
"description": "KALSHI_API_KEY_ID",
"password": true
},
{
"type": "promptString",
"id": "kalshi-private-key-path",
"description": "KALSHI_PRIVATE_KEY_PATH",
"password": true
},
{
"type": "promptString",
"id": "kalshi-private-key-pem",
"description": "KALSHI_PRIVATE_KEY_PEM",
"password": true
},
{
"type": "promptString",
"id": "kalshi-env",
"description": "KALSHI_ENV",
"password": true
},
{
"type": "promptString",
"id": "kalshi-allow-prod",
"description": "KALSHI_ALLOW_PROD",
"password": true
},
{
"type": "promptString",
"id": "kalshi-trading-enabled",
"description": "KALSHI_TRADING_ENABLED",
"password": true
}
],
"servers": {
"kalshi-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"kalshi-mcp-server"
],
"env": {
"KALSHI_API_KEY_ID": "${input:kalshi-api-key-id}",
"KALSHI_PRIVATE_KEY_PATH": "${input:kalshi-private-key-path}",
"KALSHI_PRIVATE_KEY_PEM": "${input:kalshi-private-key-pem}",
"KALSHI_ENV": "${input:kalshi-env}",
"KALSHI_ALLOW_PROD": "${input:kalshi-allow-prod}",
"KALSHI_TRADING_ENABLED": "${input:kalshi-trading-enabled}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs