Kalshi Kernel for VS Code
io.github.copyleftdev/kalshi-kernel
Unofficial safety-focused MCP server for Kalshi market data and explicitly authorized trading
client:VS Code
transport:stdio
runtime:oci
Install Kalshi Kernel in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "kalshi-kernel-mode",
"description": "KALSHI_KERNEL_MODE",
"password": true
},
{
"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-live-trading-ack",
"description": "KALSHI_LIVE_TRADING_ACK",
"password": true
}
],
"servers": {
"kalshi-kernel": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/copyleftdev/kalshi-kernel:0.1.1"
],
"env": {
"KALSHI_KERNEL_MODE": "${input:kalshi-kernel-mode}",
"KALSHI_API_KEY_ID": "${input:kalshi-api-key-id}",
"KALSHI_PRIVATE_KEY_PATH": "${input:kalshi-private-key-path}",
"KALSHI_LIVE_TRADING_ACK": "${input:kalshi-live-trading-ack}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs