ChatGPT Orchestrator MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ChatGPT Orchestrator MCP ServerCreate a launch plan for my MVP."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ChatGPT Orchestrator MCP Server
A minimal remote MCP server in Python for the following scheme:
ChatGPT -> MCP server -> main orchestrator -> helper agentsAt the first stage, the server contains one tool:
run_orchestratorinput:
goal: stringoutput: simple JSON
There is currently a stub inside. Later, it can be replaced with a call to your actual main agent.
Why FastMCP
FastMCP was chosen because it allows you to describe an MCP tool with a regular Python function and immediately launch a remote MCP endpoint via HTTP. To connect to ChatGPT, you need a public HTTPS endpoint like /mcp.
Related MCP server: impart-mcp
Project Structure
.
├── .gitignore
├── server.py
├── requirements.txt
├── Procfile
├── render.yaml
└── README.mdLocal Launch
Requirements:
Python 3.11+
pip
1. Create a virtual environment
PowerShell:
python -m venv .venv
.\.venv\Scripts\Activate.ps1If the python command on Windows opens the Microsoft Store or does not show the version, use:
py -3.11 -m venv .venv
.\.venv\Scripts\Activate.ps1macOS/Linux:
python3 -m venv .venv
source .venv/bin/activate2. Install dependencies
pip install -r requirements.txt3. Start the server
python server.pyLocal MCP endpoint:
http://localhost:8000/mcpA standard check that the server is alive:
http://localhost:8000/healthIf the client requests an endpoint with a trailing slash, use:
http://localhost:8000/mcp/Local Verification
Leave python server.py running. In a second terminal, execute:
Invoke-RestMethod http://localhost:8000/healthExpected response:
{
"status": "ok"
}Important: if you open http://localhost:8000/mcp in a browser or hit it with a regular curl without MCP headers, you might see an error:
{
"error": {
"message": "Not Acceptable: Client must accept text/event-stream"
}
}This is normal for an MCP endpoint. Check /health with a regular browser, and check /mcp with an MCP client.
@'
import asyncio
from fastmcp import Client
async def main():
async with Client("http://localhost:8000/mcp") as client:
tools = await client.list_tools()
print("TOOLS:")
for tool in tools:
print("-", tool.name)
result = await client.call_tool(
"run_orchestrator",
{"goal": "Create an MVP launch plan"}
)
print("RESULT:")
print(result)
asyncio.run(main())
'@ | pythonExpected meaning of the response: the server will show the run_orchestrator tool and return a JSON with text stating that the stub has accepted the task.
You can also check via the MCP Inspector:
npx @modelcontextprotocol/inspectorIn the UI, select transport Streamable HTTP and URL:
http://localhost:8000/mcpDeploy to Render
Option via GitHub
Create a new GitHub repository.
Upload these files there.
Open Render.
Click
New->Web Service.Connect the GitHub repository.
Render will usually read
render.yamlautomatically.If configuring manually:
Runtime:
PythonBuild Command:
pip install -r requirements.txtStart Command:
python server.py
Click
Deploy.
After deployment, Render will provide a URL similar to this:
https://chatgpt-orchestrator-mcp.onrender.comProduction MCP endpoint will be:
https://chatgpt-orchestrator-mcp.onrender.com/mcpProduction health endpoint for browser verification:
https://chatgpt-orchestrator-mcp.onrender.com/healthThis is the exact URL you need to insert into ChatGPT.
How to connect to ChatGPT
Open ChatGPT in your browser.
Go to
Settings.Open
Apps & ConnectorsorConnectors.Enable Developer Mode if it is not already enabled:
Advanced settingsDeveloper mode
Click
CreateorCreate connector.Fill in:
Name:
OrchestratorDescription:
Runs my main orchestrator agent through MCP.Connector URL:
https://YOUR-RENDER-SERVICE.onrender.com/mcp
Save.
In a new chat, select this connector/tool and ask ChatGPT to call the orchestrator.
Example test request in ChatGPT
Используй Orchestrator и вызови run_orchestrator с goal:
"Составь пошаговый план запуска MVP моего продукта"Expected response from the tool now will be approximately:
{
"status": "ok",
"message": "Stub orchestrator accepted the goal.",
"goal": "Составь пошаговый план запуска MVP моего продукта",
"next_step": "Replace call_real_orchestrator() in server.py with your real agent call."
}Where to replace the stub with a real agent
Open server.py and find the function:
def call_real_orchestrator(goal: str) -> dict[str, Any]:Currently, it returns a test JSON. Later, replace its body with the actual call to your main agent.
Example of a future replacement:
def call_real_orchestrator(goal: str) -> dict[str, Any]:
result = my_main_agent.run(goal)
return {
"status": "ok",
"goal": goal,
"result": result,
}Important: do not create a separate MCP server for each helper agent at the first stage. Let ChatGPT see only one run_orchestrator tool, and let your main agent inside decide which helpers to call.
Final URLs
Locally:
http://localhost:8000/mcpProduction URL template:
https://YOUR-RENDER-SERVICE.onrender.com/mcpURL for ChatGPT:
https://YOUR-RENDER-SERVICE.onrender.com/mcpUseful official documents
This server cannot be deployed
Maintenance
Related MCP Connectors
LLM Orchestration Agent (Mcp)
MCP-Native LLM Orchestration Agent
Discover and call AI agents via MCP. Supports A2A agents and platform agents with async tasks.
LLM Orchestration Agent (Openai)
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP-based tool orchestrator that exposes a single execute_task tool to Claude while internally managing 100+ tools through hierarchical navigation with a cheaper LLM, preventing context overflow from loading all tool definitions.MIT
- AlicenseAqualityDmaintenanceAn agent orchestration layer that wraps expert agents as MCP tools, enabling integration with Claude Desktop, Cursor, and other MCP-compatible environments.49 npm9MIT
- FlicenseNot gradedqualityDmaintenanceEnables LLM-powered agents to securely communicate with and orchestrate downstream microservices via FastAPI endpoints exposed as MCP tools.-
- AlicenseAqualityCmaintenanceEnables any MCP client to drive a multi-agent orchestration engine with planning, specialist tools, critic revision, and human-in-the-loop approval for sensitive actions.3MIT