TradeDeFi
MCP server for backtesting, publishing and trading DeFi strategies from an agent wallet
The server answered 16 hours ago with a sign-in request for OAuth (HTTP 401), so we could not list its tools.
TradeDeFi is an MCP server for finance and payments. It can run locally on your machine or as a hosted remote server.
- Platforms
- CLI, API, Web
- Runs
- Locally or Remotely
- Access
- Needs sign-in (OAuth)
- Version
- 0.2.0
- Listing updated
Similar MCP servers
Install
You install MCP servers on a computer. Send yourself the link.
Add with the CLI
Run in a terminal
claude mcp add --transport http tradedefi https://mcp.traderoll.win/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"tradedefi": {
"type": "http",
"url": "https://mcp.traderoll.win/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://mcp.traderoll.win/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"tradedefi": {
"url": "https://mcp.traderoll.win/mcp"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"tradedefi": {
"type": "http",
"url": "https://mcp.traderoll.win/mcp"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://mcp.traderoll.win/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add tradedefi --url https://mcp.traderoll.win/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.tradedefi]
url = "https://mcp.traderoll.win/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://mcp.traderoll.win/mcpEnter a Name (for example "TradeDeFi"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for OAuth sign-in. If its docs give you an OAuth client ID and secret, enter them in the form's OAuth Client ID and Client Secret fields.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"tradedefi": {
"type": "http",
"url": "https://mcp.traderoll.win/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "tradedefi": { "httpUrl": "https://mcp.traderoll.win/mcp" } } }Or run: gemini mcp add -s user --transport http tradedefi https://mcp.traderoll.win/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "tradedefi": { "serverUrl": "https://mcp.traderoll.win/mcp" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "tradedefi": { "url": "https://mcp.traderoll.win/mcp", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "tradedefi": { "type": "streamableHttp", "url": "https://mcp.traderoll.win/mcp" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "tradedefi": { "url": "https://mcp.traderoll.win/mcp" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "tradedefi": { "url": "https://mcp.traderoll.win/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "tradedefi": { "url": "https://mcp.traderoll.win/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "tradedefi": { "url": "https://mcp.traderoll.win/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
TRADEDEFI_API_URLTradeDeFi API; needed to read tables and saved versions and to publishTRADEDEFI_AGENT_KEYSTORE_PASSWORDPassword of this agent's own keystore, made by defi_agent_init; the key itself never goes into this config
About TradeDeFi
TradeDeFi gives an AI agent a set of tools for working with DeFi trading strategies. An agent can backtest a strategy, save versions of it, publish it, and trade using a wallet that belongs to the agent itself rather than to a human user.
The server runs over stdio from an npm package or connects through a hosted streamable HTTP endpoint. Wallet setup is handled by an initialization tool that creates a keystore protected by a password supplied through an environment variable, so the private key never has to appear in the client configuration. Reading tables and saved strategy versions, and publishing them, both go through a configurable TradeDeFi API.
It suits developers and operators who want an agent to run its own trading logic on-chain and need the backtesting, versioning and wallet plumbing already in place.
What it does
- Strategy backtesting
- Test a trading strategy against historical data before any capital is committed.
- Strategy versioning and publishing
- Save revisions of a strategy and publish a chosen version to the TradeDeFi platform.
- Agent-owned wallet
- An initialization tool creates a keystore for the agent so trades run from its own wallet.
- Encrypted key handling
- The wallet key is stored in a password-protected keystore rather than in the server config.
- Hosted and local transports
- Available as a local stdio npm package or as a remote streamable HTTP endpoint.
Good for
- Backtest a DeFi trading idea before running it live
- Let an agent publish and version its own strategies
- Give an autonomous agent a dedicated wallet for on-chain trades
- Connect a trading agent in an MCP-compatible client to TradeDeFi tables and data
TradeDeFi FAQ
How is the agent's private key protected?
The key is kept in a keystore created by defi_agent_init and encrypted with a password set in an environment variable. The key itself is not placed in the configuration.
How can I connect to TradeDeFi?
You can run the npm package tradedefi over stdio, or connect to the hosted streamable HTTP endpoint at mcp.traderoll.win.
Does it need a TradeDeFi API address?
Yes. Reading tables and saved versions and publishing require the TRADEDEFI_API_URL environment variable.
How do I add TradeDeFi to Claude Code?
Run this command in your terminal: claude mcp add --transport http tradedefi https://mcp.traderoll.win/mcp
What are the best alternatives to TradeDeFi?
The closest alternatives to TradeDeFi are Steyble Global API, Tradestaq MCP, Haiku DeFi MCP, Trading and Backtest360.
Where this comes from
- Description: written from its MCP Registry entry.
- Status: checked automatically by AIPoweredBot on 5 December 2026.
- Install steps: from the official MCP Registry entry.