onlyswaps for VS Code
io.github.nicofains1/onlyswaps
DEX meta-aggregator for AI agents. Best prices from 15+ aggregators across 13 chains.
client:VS Code
transport:stdio
runtime:npm
Install onlyswaps in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "onlyswaps-api-url",
"description": "ONLYSWAPS_API_URL",
"password": true
}
],
"servers": {
"onlyswaps": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@onlyswaps/mcp-server"
],
"env": {
"ONLYSWAPS_API_URL": "${input:onlyswaps-api-url}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs