# MangroveAI

MangroveAI — an MCP server for backtesting and automated crypto trading via Kraken and DEX. Runs strategies on schedule, logs every trade to SQLite.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 9 repo stars
- Author: MangroveTechnologies
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/MangroveTechnologies/mangrove-agent
- Updated: 2026-10-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/mangroveai

## What it does

The server takes a natural-language goal (`momentum on ETH`) and generates tested strategies through the MangroveAI API. It trades on Kraken (API key or OAuth) and decentralized exchanges via 1inch across ten EVM networks (Ethereum, Base, Arbitrum, Polygon, Optimism, BNB, Avalanche, zkSync Era, Gnosis, Linea). Signing is client-side; the private key stays on your machine.

Inside: 119 tools, seven Claude Code skills (security audit, Kraken connection, tool specs, bot setup), a REST API, and an SQLite log of every trade. Works with any MCP client — the hosted version is available without installation at `https://api.mangrovedeveloper.ai/mcp/`. For a local copy you need Python 3.11+ and bash.

Get a no-cost API key at mangrovedeveloper.ai, or pay per call in USDC (x402) without signing up. The setup script `./scripts/setup.sh` asks which to use, secures local access, starts the agent, and registers it with Claude if the CLI is present.

## Requirements
- Remote server: `https://api.mangrovedeveloper.ai/mcp/`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http mangroveai https://api.mangrovedeveloper.ai/mcp/
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add mangroveai --url https://api.mangrovedeveloper.ai/mcp/
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mangroveai": {
            "url": "https://api.mangrovedeveloper.ai/mcp/"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mangroveai": {
            "type": "http",
            "url": "https://api.mangrovedeveloper.ai/mcp/"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http mangroveai https://api.mangrovedeveloper.ai/mcp/
```

## When to use it
- test a crypto strategy without writing code
- run automated Kraken or DEX trades on a schedule
- audit every agent trade in a single database
- access MangroveAI tools from any MCP client

## Example prompts
- Build a momentum strategy for ETH and run a backtest
- Connect Kraken via OAuth and show the balance
- Check the SQLite log for the last ten DEX trades

## Similar
- [Autoview](https://affpapa.org/en/nevibecode/mcp/autoview.md) — MCP server
- [crypto-trading-bots](https://affpapa.org/en/nevibecode/skills/crypto-trading-bots.md) — skill · 932 installs
- [find-arbitrage-opps](https://affpapa.org/en/nevibecode/skills/find-arbitrage-opps.md) — skill · 505 installs
- [copy-trading](https://affpapa.org/en/nevibecode/skills/copy-trading.md) — skill · 497 installs
- [dexscreener-api](https://affpapa.org/en/nevibecode/skills/dexscreener-api.md) — skill · 527 installs
- [okx-dex-market](https://affpapa.org/en/nevibecode/skills/okx-dex-market.md) — skill · 21700 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
