Cover image
Try Now
2025-03-28

My MCP Server POC

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

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

  1. Clone the repository
  2. Install dependencies:
pnpm install

Environment Setup

  1. Copy the example environment file:
cp .env.example .env
  1. Configure your environment variables in .env with your API keys and preferences

Development

Start the development server:

pnpm run dev

The server will start in development mode with hot reloading enabled.

Deployment

Deploy to Cloudflare Workers:

pnpm run deploy

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

├── src/
│   ├── controllers/     # Request handlers
│   ├── models/          # Type definitions
│   ├── services/        # AI service implementations
│   └── index.ts         # Main application entry
├── public/             # Static assets
└── wrangler.jsonc      # Cloudflare Workers configuration

License

MIT

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://reddgr.com
  • Delivers concise Python code and interprets non-English comments

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • zhaoyunxing92
  • 本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

  • justmywyw
  • Short and sweet example MCP server / client implementation for Tools, Resources and Prompts.

    Reviews

    3 (1)
    Avatar
    user_hPF09wlh
    2025-04-16

    I have been using my-mcp-server for a while and it is an exceptional product! Created by quang-pham-dev, this server handles my MCP applications seamlessly. It is well-documented and the GitHub link (https://github.com/quang-pham-dev/my-mcp-server) provides clear guidance for setup and usage. I highly recommend this server for anyone in need of a reliable and efficient MCP solution.