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.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

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

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

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

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

  • Lists Tailwind CSS classes in monospaced font

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

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

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

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

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

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

  • jae-jae
  • MCP server for fetch web page content using Playwright headless browser.

    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.