onlyswaps for Grok
io.github.nicofains1/onlyswaps
DEX meta-aggregator for AI agents. Best prices from 15+ aggregators across 13 chains.
client:Grok
transport:stdio
runtime:npm
Install onlyswaps in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"onlyswaps": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@onlyswaps/mcp-server"
],
"env": {
"ONLYSWAPS_API_URL": "<ONLYSWAPS_API_URL>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs