hypelens agent rail for VS Code
io.github.polyparlay/hypelens-agent-rail
Place/cancel/close HL perps via MCP. Agent wallet once, 1bp fills, no sub.
client:VS Code
transport:stdio
runtime:npm
Install hypelens agent rail in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "hypelens-agent-pk",
"description": "HYPELENS_AGENT_PK",
"password": true
},
{
"type": "promptString",
"id": "hypelens-net",
"description": "HYPELENS_NET",
"password": true
},
{
"type": "promptString",
"id": "hypelens-feed-url",
"description": "HYPELENS_FEED_URL",
"password": true
},
{
"type": "promptString",
"id": "hypelens-feed-file",
"description": "HYPELENS_FEED_FILE",
"password": true
}
],
"servers": {
"hypelens-agent-rail": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hypelens/hypelens-agent-rail"
],
"env": {
"HYPELENS_AGENT_PK": "${input:hypelens-agent-pk}",
"HYPELENS_NET": "${input:hypelens-net}",
"HYPELENS_FEED_URL": "${input:hypelens-feed-url}",
"HYPELENS_FEED_FILE": "${input:hypelens-feed-file}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs