dMoERA Creator

Build, backtest, and deploy crypto trading strategies via MCP with 7-stage validation.

OtherPythonv1.0.0

dMoERA Creator Studio — MCP Server

Smithery

dMoERA MCP Demo

Build, backtest, and deploy crypto trading strategies using any MCP-compatible AI agent (Claude, Cursor, Windsurf, Devin, Copilot, etc.).

What it does

The dMoERA MCP server exposes the dMoERA Creator API as Model Context Protocol tools. Your AI agent can:

  • Discover trading domains, data feeds, and market regimes
  • Inspect existing bots and their live performance metrics
  • Backtest strategy code in a sandboxed environment
  • Submit strategies for full 7-stage validation and live deployment
  • Manage personal hedge funds — create funds, add your own bots, activate Manager Mode
  • Monitor tournament status, Tag Team leaderboards, and Vault allocation
  • Track fund positions, trades, P&L, analytics, and immutable report cards

This is a thin API client — it talks to a running dMoERA backend via HTTP. No internal dMoERA code is required.

Installation

Prerequisites

  • Python 3.11+
  • The mcp Python package (pip install mcp)
  • A running dMoERA backend (or connect to the public instance)

Setup

git clone https://github.com/CacheCarti/dmoera-mcp.git
cd dmoera-mcp
pip install -r requirements.txt

MCP Configuration

Add this standard MCP configuration to Claude Desktop, Cursor, Windsurf, or another MCP client:

{
  "mcpServers": {
    "dmoera-creator": {
      "command": "python",
      "args": ["/absolute/path/to/dmoera-mcp/mcp_creator_server.py"],
      "env": {
        "DMOERA_API_URL": "https://dmoera.xyz",
        "DMOERA_API_KEY": "your_optional_personal_access_token"
      }
    }
  }
}

The API key is optional for public market data and discovery tools. Create a Personal Access Token at dmoera.xyz under Settings → API Keys to backtest, submit, fork, open-source, or delist strategies. Never commit your token.

Remote clients can connect through the Streamable HTTP endpoint:

https://dmoera.xyz/mcp

Tools (44 total)

Discovery & Market Data

ToolDescriptionAuth Required
list_domainsList all available trading domains (ETH, BTC, SOL — spot and scalp)No
list_botsList trading bots ranked by performance, optionally filtered by domainNo
get_bot_profileGet detailed profile and performance stats for a specific botNo
get_feature_catalogList all data feeds available to strategies via ctx.featuresNo
get_market_regimeGet current market regime classificationNo
get_current_pricesGet current live prices for all tracked symbolsNo

Strategy Development

ToolDescriptionAuth Required
sandbox_backtestBacktest strategy code in a sandboxed environmentYes
submit_strategySubmit a strategy for full validation and live deploymentYes
list_strategiesList all strategies created by a userYes
get_strategy_reportGet a detailed report card for a strategyNo

Marketplace & Tournaments

ToolDescriptionAuth Required
get_marketplace_botsList bots published to the marketplaceNo
get_tournament_statusGet current tournament round status and leaderboardNo

Fund Management (personal funds — own bots only)

Personal funds can only contain the authenticated user's own bots. Use list_my_bots to see eligible strategies.

ToolDescriptionAuth Required
list_fundsList your funds (active + closed)Yes
get_fundFund details including rosterYes
get_active_fundCurrently active Manager Mode fundYes
create_fundCreate a personal hedge fundYes
add_bot_to_fundAdd your own bot to a fund's rosterYes
remove_bot_from_fundRemove a bot from the rosterYes
swap_bot_in_fundSwap one bot for another (friction cost applies)Yes
update_fund_weightsUpdate allocation weights for roster botsYes
update_fund_capsUpdate risk caps (max per bot, per domain, regime veto)Yes
activate_fundActivate Manager Mode — starts the personal routerYes
deactivate_fundDeactivate Manager Mode — return to main routerYes
close_fundPermanently close a fund (capital returned to wallet)Yes
estimate_swap_costEstimate friction cost (bps) before swapping botsYes
list_my_botsYour own bots eligible for a personal fund rosterYes
list_open_source_botsBrowse the broader open-source bot ecosystemNo
get_fund_positionsOpen positions for a fund's roster botsYes
get_fund_tradesClosed trade history for a fund's roster botsYes
get_fund_performanceP&L time-series snapshots for a fundYes
get_fund_live_pnlReal-time cumulative PnL chart from closed positionsYes
get_fund_analyticsDashboard analytics: allocation, per-bot performance, riskYes
run_fund_historical_testSimulate a roster against historical data (rate limited)Yes
generate_fund_report_cardGenerate an immutable report card for a fundYes
get_fund_report_cardGet the latest report card for a fundYes

Tag Team (daily paper trading competition)

ToolDescriptionAuth Required
tag_team_infoSession info, open positions, bot status, rankYes
tag_team_templatesCo-Pilot templates (momentum, scalper, etc.)No
tag_team_leaderboardDaily leaderboard (optional date filter)Yes
tag_team_weeklyWeekly championship standingsYes
tag_team_historyPast sessions with scoresYes
tag_team_tierTier progression (Rookie → Master)Yes
tag_team_badgesEarned badges (Daily Champion, Bot Whisperer, etc.)Yes

Vault (regime-aware allocation)

ToolDescriptionAuth Required
get_vault_statusCurrent regime, allocation weights, sleeve holdingsYes
get_vault_historyRegime switch timelineYes

Resources

  • creator-api://docs — Full strategy contract documentation
  • creator-api://strategy-template — Copy-pasteable strategy template

Example Usage

Ask your AI agent:

"List all trading domains on dMoERA, then backtest a simple RSI mean-reversion strategy for ETH/USDC."

The agent will call list_domains, inspect the available markets, then call sandbox_backtest with strategy code it generates. You can iterate:

"The Sharpe is too low. Try adding a volatility filter — only trade when ATR is above its 20-period average."

"Submit this strategy to the ETH/USDC domain."

The agent calls submit_strategy, which runs the full 7-stage validation pipeline. If it passes, the strategy enters the live Arena and competes for tournament payouts.

Hedge Fund Management

"Create a personal hedge fund called 'Alpha Seeker' with a standard risk preset. Then list my eligible bots."

The agent calls create_fund, then list_my_bots to show which of your strategies can be added to the roster.

"Add my momentum ETH bot with 30% weight and my scalper BTC bot with 20% weight, then activate the fund."

The agent calls add_bot_to_fund twice, update_fund_weights, then activate_fund to start the personal router.

"How's the fund doing? Show me the analytics and latest report card."

The agent calls get_fund_analytics and get_fund_report_card.

Strategy Contract

Strategies subclass Strategy and implement on_bar(self, ctx) -> Signal. See the creator-api://docs resource for the full contract.

class MyStrategy(Strategy):
    METADATA = {
        "name": "SMA Crossover",
        "domain": "eth_usdc",
        "declared_sl_bps": 150.0,
        "declared_tp_bps": 300.0,
        "declared_hold_seconds": 3600,
        "warmup_bars": 20,
        "required_features": [],
    }

    def on_bar(self, ctx):
        closes = ctx.closes(lookback=20)
        if len(closes) < 20:
            return None
        fast = sum(closes[-5:]) / 5
        slow = sum(closes) / 20
        if fast > slow:
            return ctx.signal(
                direction=SignalDirection.LONG,
                confidence=0.7,
                stop_loss_bps=150.0,
                take_profit_bps=300.0,
                horizon_seconds=3600,
            )
        return None

Hedge Fund System

Personal hedge funds (Manager Mode) let you build a portfolio of your own bots:

  1. Create a fund with a risk preset (prudent, standard, opportunistic, unrestricted)
  2. Add your own bots to the roster with allocation weights
  3. Set risk caps — max allocation per bot, per domain, regime veto
  4. Activate Manager Mode to deploy capital across the roster
  5. Monitor PnL, swap bots as needed, adjust weights
  6. Generate immutable report cards for track record
  7. Close the fund to return all capital to your wallet

The personal router replaces the main platform router while Manager Mode is active, giving you full control over which bots trade and how much capital they get. Personal funds can never contain another user's bots.

Tag Team System

Tag Team is a standalone daily paper-trading competition, separate from the main router and tournaments:

  • Start: Pick a Co-Pilot template (momentum, scalper, etc.) → get $10,000 paper capital
  • Capital split: 70% human ($7,000), 30% Co-Pilot bot ($3,000)
  • Manual trades: 20 max per day, leverage 1-20x
  • Bot deploy: After 3 closed manual trades, deploy the Co-Pilot
  • Scoring: Need 5+ human trades AND 5+ bot trades to qualify
  • End: At UTC midnight, all open positions close at market price
  • Next day: Fresh $10k, but bot params carry over (trained settings persist)

Tiers: Rookie (0) → Apprentice (10) → Trader (50) → Veteran (150) → Expert (500) → Master (1000+), based on total trades across all sessions.

Tournament System

Bots compete in 3-day tournament rounds. Scoring is based on the bot's own performance:

  • 50% risk-adjusted (rolling Sharpe ratio)
  • 30% total return (log-scaled bps)
  • 20% consistency (win rate × trade volume)

Top 3 per domain win USDT from the reward pool. No user following needed to qualify — your bot competes on its own metrics.

Links

License

MIT

Setup from the maintainer

This listing does not have a supported local package template. Use the maintainer’s documentation for its hosted endpoint, authentication, and client-specific setup. No install command has been inferred.

Learn More