Skip to main content
Building your own AI agent rather than using a packaged app like Claude Desktop or ChatGPT? Most agent frameworks support stdio MCP servers directly — no tunnel needed. This page shows the patterns for the most common frameworks.

OpenAI Agents SDK

The cleanest path if your agent uses ChatGPT-style models:
The model sees rich JSON-Schema for each Kataven tool’s arguments and fills in fields itself.

LangGraph

LangChain has a first-party MCP adapter that wraps any stdio server as LangChain tools:

Agno

AutoGen

Official MCP TypeScript SDK

For Node / TypeScript agents, use @modelcontextprotocol/sdk directly:
Hand the resulting tools to whichever LLM client you’re using (OpenAI, Anthropic, etc.) following that client’s tool-use protocol.

Why stdio, not the tunneled HTTPS path?

Programmatic frameworks all support stdio because they’re already running locally — they can spawn subprocesses, pipe stdio, and cleanly shut them down. The HTTPS-tunnel path exists only for chat surfaces (ChatGPT, Claude.ai web, n8n) that can’t spawn local processes. If you specifically need an HTTPS endpoint (e.g. you’re deploying your agent to a serverless environment that can’t run subprocesses), use the same tunnel recipe packaged AI clients use.

See also