Provides global edge deployment for the MCP server, offering low-latency proxying of AI requests through Cloudflare's distributed network
Enables routing requests to OpenAI's models through the MCP server, providing access to OpenAI's AI capabilities via a unified proxy interface
MCP Server
A modern AI service proxy built with Cloudflare Workers and Hono framework, supporting multiple AI providers including Anthropic Claude and OpenAI.
Features
Multi-provider AI service integration (Anthropic Claude, OpenAI)
Built on Cloudflare Workers for global edge deployment
Fast and efficient request handling with Hono framework
Type-safe implementation with TypeScript
CORS support for cross-origin requests
Health check and provider info endpoints
Prerequisites
Node.js (LTS version recommended)
npm or pnpm package manager
Cloudflare account for deployment
API keys for supported AI providers
Installation
Clone the repository
Install dependencies:
Environment Setup
Copy the example environment file:
Configure your environment variables in
.env
with your API keys and preferences
Development
Start the development server:
The server will start in development mode with hot reloading enabled.
Deployment
Deploy to Cloudflare Workers:
API Endpoints
Health Check
GET /health
Returns server status and configuration
Provider Info
GET /api/provider
Returns current AI provider and model configuration
MCP API
POST /api/mcp
Main endpoint for AI service requests
Accepts JSON payload with context, query, and options
Project Structure
License
MIT
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A modern AI service proxy that enables interaction with multiple AI providers (Anthropic Claude, OpenAI) through a unified API, deployed globally using Cloudflare Workers.
Related MCP Servers
- -securityFlicense-qualityAn open standard server implementation that enables AI assistants to directly access APIs and services through Model Context Protocol, built using Cloudflare Workers for scalability.Last updated -
- -securityFlicense-qualityA Cloudflare Workers-based server implementing the Model Context Protocol that enables AI assistants like Claude to securely access external tools through OAuth authentication.Last updated -14
- -securityFlicense-qualityA Cloudflare Workers-based Model Context Protocol server that enables AI assistants like Claude to access external tools via OAuth authentication.Last updated -14
- -securityFlicense-qualityA Cloudflare Workers-based implementation of a Model Context Protocol server that enables AI assistants like Claude to access external tools through OAuth authentication.Last updated -