---
title: "MCP"
description: "Drive your Aeon agent from ChatGPT, Claude, or Cursor via the remote Aeon Connect MCP server or local stdio tools."
canonical: "https://www.aeon.fun/docs/mcp"
---

# MCP (https://www.aeon.fun/docs/mcp)

> Drive your Aeon agent from ChatGPT, Claude, or Cursor via the remote Aeon Connect MCP server or local stdio tools.
>
> Full docs: https://www.aeon.fun/docs.md | Whole-site summary: https://www.aeon.fun/llms.txt

Aeon skills work outside GitHub Actions too - drive your agent remotely from ChatGPT, Claude, or Cursor through [Aeon Connect](https://www.aeon.fun/connect), or expose skills locally over stdio MCP.

## Remote MCP (Aeon Connect)

[Aeon Connect](https://www.aeon.fun/connect) serves a Streamable HTTP MCP server at `https://www.aeon.fun/connect/mcp` (also listed in the [official MCP Registry](https://registry.modelcontextprotocol.io/v0.1/servers/fun.aeon%2Faeon/versions/latest) as `fun.aeon/aeon`). Sign in with GitHub via OAuth to list and trigger skills, inspect run status, read outputs and `memory/`, toggle skills, and send feedback (`send_feedback`). Execution still runs on your own GitHub Actions and model keys never pass through chat.

One-click install for the MCP server at https://www.aeon.fun/connect/mcp: Cursor, VS Code, Kiro, LM Studio.

```bash
# Claude Code
claude mcp add --transport http aeon https://www.aeon.fun/connect/mcp
# Codex CLI
codex mcp add aeon --url https://www.aeon.fun/connect/mcp
# Gemini CLI
gemini mcp add --transport http aeon https://www.aeon.fun/connect/mcp
# VS Code
code --add-mcp '{"name":"aeon","type":"http","url":"https://www.aeon.fun/connect/mcp"}'
```

For read-only documentation queries without signing in, point any MCP client at the public docs server at [`https://www.aeon.fun/mcp`](https://www.aeon.fun/mcp).

## Install the Aeon Plugin

The plugin for Claude Code and Codex bundles the operator console, the hosted MCP connection and a `get-started` onboarding skill from version 0.2.0:

```text
# Claude Code
/plugin marketplace add aeonfun/aeon
/plugin install aeon-agent@aeon
# Codex
codex plugin marketplace add aeonfun/aeon
codex plugin add aeon@aeon
```

Sign in with GitHub and choose your agent repo. Onboarding checks the connection, shows enabled skills and missing key names, then offers a first `heartbeat` run and reads its result. Setup changes require confirmation. The connection never reads or writes secret values, and switching reaches only other Aeon repos you allowed when connecting.

## Local Stdio MCP

Register your local clone's skills as `aeon-<name>` tools in Claude Desktop or Claude Code:

```bash
bin/add-mcp                # build and register local stdio MCP server
bin/add-mcp --desktop      # print Claude Desktop config snippet
bin/add-mcp --build-only   # compile without registering
bin/add-mcp --uninstall    # remove registration
```

See [`docs/examples/mcp/test_connection.py`](https://github.com/aeonfun/aeon/blob/main/docs/examples/mcp/test_connection.py) for a working stdio client example calling `aeon-token-movers`.

## Consuming External MCP Servers

Skills can also act as MCP clients during a run. For example, [`base-mcp`](https://www.aeon.fun/skills/base-mcp) connects to the Base MCP server (`https://mcp.base.org`) to read balances and execute approved swaps across partner plugins (Morpho, Moonwell, Uniswap, Avantis, Virtuals, Aerodrome, Bankr).

The dashboard MCP catalog also lists [Ironflow](https://ironflow.sh), a keyless read-only server for Hyperliquid market data (trades, funding, liquidations, open interest, wallet PnL). Install it in one click or with `./aeon mcp add ironflow`.

## One-Click OAuth Connect

OAuth-protected upstream MCP servers connect through a browser PKCE flow in the dashboard: tokens are captured server-side into encrypted repository secrets and refreshed before each run. Supported one-click connectors:
- **Base** ([`base-mcp`](https://www.aeon.fun/skills/base-mcp))
- **Robinhood** ([`robinhood-mcp`](https://www.aeon.fun/skills/robinhood-mcp))
- **Executor** ([`executor-mcp`](https://www.aeon.fun/skills/executor-mcp))
- **glim** ([`glim-mcp`](https://www.aeon.fun/skills/glim-mcp))
- **Finance District** ([`finance-district-mcp`](https://www.aeon.fun/skills/finance-district-mcp))
- **ICP** ([`icp-mcp`](https://www.aeon.fun/skills/icp-mcp)) - Internet Identity session, lasts up to 30 days, reconnect when it ends (no refresh token)
- **PostHog**, **Higgsfield** ([`higgsfield`](https://www.aeon.fun/skills/higgsfield)), and **Flovia** ([`flovia`](https://www.aeon.fun/skills/flovia))

> **Token rotation requires GH_GLOBAL**
> OAuth refresh tokens rotate on every use. Because default `GITHUB_TOKEN` cannot write updated repository secrets, set `GH_GLOBAL` (or `GH_SECRETS_PAT`) so rotated refresh tokens persist across runs.
