mcpField
M
MCP via the OpenAI Responses API

MCP via the OpenAI Responses API

github.com/craigsdennisFrameworks & SDKs2Updated 75w ago

About MCP via the OpenAI Responses API

Framework connecting MCP servers via OpenAI's Responses API. Builds web apps with Cloudflare Workers, React, and TailwindCSS integrated with remote MCP services.

Key features

  1. 01OpenAI Responses API support
  2. 02Cloudflare Workers deployment
  3. 03React and TailwindCSS UI
  4. 04Remote MCP server connection

Use cases

  1. 01Integrating MCP services in web applications
  2. 02AI feature development on Cloudflare platform

MCP support

Connects to remote MCP servers via OpenAI's Responses API, handling tool interactions and data flow.

Details

From the project README

MCP via the OpenAI Responses API

README image

OpenAI added the ability to connect to MCP servers using the Responses API. You provide a type of tool MCP, pass along the correct headers, and connects to your remote MCP server and does all the handling.

This example uses the Cloudflare Vite Plugin + React + TailwindCSS + ShadCN.

It connects to a Remote MCP server that tracks whoas, which you can host.

Build

npm run dev

Deploy

Set your secrets on the server

npx wrangler secret bulk .dev.vars
npm run deploy

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.