CuratedMCP
OpenAI Agents SDK
PyPI

How to install mcp-server-12306 in OpenAI Agents SDK

An MCP server that provides 12306 ticket query

Indexed, not yet reviewed

We found mcp-server-12306 in the official MCP registry. Our automated check passed on Nov 1, 2026 (it confirms the server is published and reachable), but no one at CuratedMCP has reviewed its code, permissions or credentials handling. Check what it can access before you give it keys. Scan your machine free to see every MCP server you have installed.

Steps

  1. 1Install uv (for uvx): https://docs.astral.sh/uv/
  2. 2pip install openai-agents
  3. 3Use the snippet below inside an async function

Python snippet

Python
from agents import Agent
from agents.mcp import MCPServerStdio

async with MCPServerStdio(
    params={
        "command": "uvx",
        "args": [
            "mcp-server-12306"
        ]
    },
) as server:
    agent = Agent(name="Assistant", mcp_servers=[server])

Install in other clients

About mcp-server-12306: repo, license and check results →

Maintain mcp-server-12306?

Claim this page to get a full CuratedMCP listing: edit your description, see listing analytics, and add our README badge. Listing is free, and a person checks every submission before it goes live. We'll pre-fill the form from the registry.

    How to install mcp-server-12306 MCP server in OpenAI Agents SDK | CuratedMCP