DreamAgent MCP Server

DreamAgent MCP Server

Enables ChatGPT to operate a DreamAgent account via MCP, allowing creation and management of projects (Telegram/Discord bots, websites, schedulers) and conversational build/edit/debug through DreamAgent's AI agent.

Category
访问服务器

README

DreamAgent MCP Server

Standalone MCP server that lets ChatGPT operate your DreamAgent account: create projects (Telegram bots, Discord bots, websites, schedulers), watch them build, and edit them conversationally through DreamAgent's AI agent.

It talks only to the existing DreamAgent REST API — no backend changes, and all server-side ownership checks apply unchanged.

Tools

Tool What it does
dreamagent_list_projects List your projects (id, type, status, domain)
dreamagent_create_project Create a telegrambot / discordbot / website / scheduler (async)
dreamagent_get_project_status Poll a project until ready / failed
dreamagent_chat Send a build/edit/debug instruction to the project's AI agent (async, consumes credits)
dreamagent_get_chat_status Poll the agent run; streams new output + next_after cursor
dreamagent_cancel_chat Cancel a running edit

Long operations are submit-then-poll: create → poll status; chat → poll chat status. The tool descriptions tell ChatGPT to do this.

Setup

cd mcp-server
pip install -r requirements.txt
cp .env.example .env       # fill in your DreamAgent email + password

The account is connected by logging into the existing POST /auth/login endpoint; the session token is cached in memory and refreshed on expiry.

Run

# stdio (local clients: Claude Desktop, Claude Code, etc.)
python server.py

# HTTP (remote MCP — for ChatGPT apps)
python server.py --http --port 8800
# then expose https://your-host:8800/mcp via your reverse proxy

Connect to ChatGPT (developer apps / MCP)

  1. Run the server with --http behind HTTPS (e.g. https://mcp.dreamagent.cloud/mcp).
  2. In your ChatGPT app config (or any MCP client that supports remote servers), point the MCP endpoint at that URL.
  3. Per-user credentials: set DREAMAGENT_EMAIL / DREAMAGENT_PASSWORD for the account the server should act as. (For a multi-user deployment, run one instance per user or wait for the OAuth phase.)

Try it locally (smoke test)

python - <<'PY'
from server import mcp
tools = mcp._tool_manager.list_tools() if hasattr(mcp, "_tool_manager") else []
print([t.name for t in tools])
PY
# or simply:
fastmcp dev server.py

Example ChatGPT conversations

  • "Show my DreamAgent projects"
  • "Create a Telegram bot called WeatherBot, token 123456:ABC — it should reply with the weather when I send a city name" → create → poll until ready
  • "Add a /price command to my Discord bot" → dreamagent_chat → poll until done
  • "Is my website finished building?"
  • "Cancel the edit running on my crypto bot"

Security notes

  • Credentials live only in the .env you control; the session token is transient and refreshed via the existing login endpoint.
  • Every API call carries the user's own token — DreamAgent's per-user authorization and rate limits apply exactly as in the dashboard.
  • Bot tokens passed to dreamagent_create_project are sent to DreamAgent over HTTPS and stored in the project's .env, the same as creating via the dashboard.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选