GDEX (gdex.pro) trading for AI agents: spot, perps and HyperLiquid on Solana, EVM and more chains
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add gdex-trading --env GDEX_API_KEY='<GDEX_API_KEY>' -- npx -y @gemachdao/gdex-mcp-server~/.codex/config.toml
[mcp_servers.gdex-trading]
command = "npx"
args = ["-y", "@gemachdao/gdex-mcp-server"]
env = { GDEX_API_KEY = "<GDEX_API_KEY>" }
# codex mcp add gdex-trading --env GDEX_API_KEY='<GDEX_API_KEY>' -- npx -y @gemachdao/gdex-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"gdex-trading": {
"command": "npx",
"args": [
"-y",
"@gemachdao/gdex-mcp-server"
],
"env": {
"GDEX_API_KEY": "<GDEX_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"gdex-trading": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@gemachdao/gdex-mcp-server"
],
"env": {
"GDEX_API_KEY": "<GDEX_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"gdex-trading": {
"command": "npx",
"args": [
"-y",
"@gemachdao/gdex-mcp-server"
],
"env": {
"GDEX_API_KEY": "<GDEX_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"gdex-trading": {
"command": "npx",
"args": [
"-y",
"@gemachdao/gdex-mcp-server"
],
"env": {
"GDEX_API_KEY": "<GDEX_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"gdex-trading": {
"command": "npx",
"args": [
"-y",
"@gemachdao/gdex-mcp-server"
],
"env": {
"GDEX_API_KEY": "<GDEX_API_KEY>"
}
}
}
}Environment variables
GDEX_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.