MCP cover image
See in Github
2025-03-28

Mi servidor MCP POC

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.

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

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

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

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

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

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

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

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

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • modelcontextprotocol
  • Servidores de protocolo de contexto modelo

  • Mintplex-Labs
  • La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • n8n-io
  • Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.

  • huahuayu
  • Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.

  • open-webui
  • Interfaz de IA fácil de usar (admite Ollama, Operai API, ...)

    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.