MCP via the OpenAI Responses API
@craigsdennis
About MCP via the OpenAI Responses API
Makes use of the new OpenAI MCP tool and your remote MCP Server
Overview
What is MCP via the OpenAI Responses API?
This is an example application that demonstrates how to connect to remote MCP servers using the OpenAI Responses API. It is built with the Cloudflare Vite Plugin, React, TailwindCSS, and ShadCN, and is intended for developers exploring MCP integration with OpenAI.
How to use MCP via the OpenAI Responses API?
To set up, copy .dev.vars.example to .dev.vars, add your OpenAI API key, and modify the wrangler.jsonc vars section with your REMOTE_WHOA_SERVER_URL and LOGGED_IN_USER. Then run npm run dev to start locally. For deployment, use npx wrangler secret bulk .dev.vars and npm run deploy.
Key features of MCP via the OpenAI Responses API
- Connects to remote MCP servers via OpenAI Responses API
- Built with React, TailwindCSS, and ShadCN on Cloudflare Workers
- Provides a reference implementation for MCP tool integration
- Includes local development and deployment scripts
Use cases of MCP via the OpenAI Responses API
- Demonstrating how to use MCP servers with OpenAI Responses API
- Building a web application that interacts with a remote MCP server
- Serving as a starting point for developers to customize MCP integrations
- Deploying an MCP-connected app to Cloudflare Workers
FAQ from MCP via the
Basic information
More Agent Frameworks MCP clients
chatmcp
daodao97ChatMCP is an AI chat client implementing the Model Context Protocol (MCP).
Fast Agent
evalstateDefine, Prompt and Test MCP enabled Agents and Workflows
mcp-cli
wong2A CLI inspector for the Model Context Protocol
Hermes MCP
cloudwalkElixir Model Context Protocol (MCP) SDK
🌟 MCPM - Model Context Protocol Manager
pathintegral-instituteCLI MCP package manager & registry for all platforms and all clients. Search & configure MCP servers. Advanced Router & Profile features.
Comments