Cover image
servidor de mCP de reclecho
Public

servidor de mCP de reclecho

Try Now
2025-03-19

Implementación del servidor MCP para recrefic.ai utilizando el modelo de contexto del modelo SDK

3 years

Works with Finder

1

Github Watches

2

Github Forks

2

Github Stars

Recraft MCP Server

A Model Context Protocol (MCP) server implementation for integrating with Recraft.ai services. This server enables AI assistants to generate images through Recraft's API using the MCP framework.

🌟 Features

  • Implements MCP tools for Recraft image generation services
  • Provides type-safe schemas using Zod for validation
  • Supports various image generation options (styles, sizes, etc.)
  • Easy integration with LLM assistants that support MCP

📋 Prerequisites

  • Node.js (v18 or later recommended)
  • A Recraft API key from recraft.ai

🚀 Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/recraft-mcp-server.git
    cd recraft-mcp-server
    
  2. Install dependencies:

    npm install
    
  3. Copy the environment file and configure your API key:

    cp .env.example .env
    

    Then edit .env and add your Recraft API key.

⚙️ Configuration

The server uses the following environment variables:

🔧 Usage

Building the Server

npm run build

Starting the Server

npm start

Or use the provided shell script:

./start-mcp.sh

Development Mode

npm run dev

Inspecting the MCP Server

The MCP SDK includes an inspector tool to test the server:

npm run inspect

🧪 Testing

Run tests:

npm test

Run tests with coverage:

npm run test:coverage

Watch mode for tests:

npm run test:watch

🔍 Validation

The project uses Zod for schema validation. See ZOD_IMPLEMENTATION.md for details on the implementation.

📝 API

This server implements the following MCP tools:

  • generate_image: Generate images from text prompts
  • image_to_image: Transform an existing image based on a text prompt
  • inpaint_image: Edit parts of an image using a mask
  • replace_background: Replace the background of an image
  • vectorize_image: Convert raster images to vector format
  • remove_background: Remove the background from an image
  • crisp_upscale: Upscale images with enhanced detail and clarity
  • creative_upscale: Upscale images with creative enhancements
  • create_style: Create a new style based on reference images
  • get_user_info: Retrieve information about the current user
  • save_image_to_disk: Save generated images to the local filesystem

The server also responds to a special help command which provides general information about the available tools, but this is handled as a special case in the server logic rather than as a formal tool definition.

For detailed information about the available parameters and options for each tool, use the MCP inspector tool or review the tool definitions in the code.

🛠️ Development

Linting and Type Checking

# Run type checking
npm run type-check

# Run eslint
npm run lint

# Fix linting issues
npm run lint:fix

# Run both type checking and linting
npm run validate

📄 License

MIT

相关推荐

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

  • 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.

  • ANGEL LEON
  • A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.

  • INFOLAB OPERATIONS 2
  • A medical specialist offering assistance grounded in clinical guidelines. Disclaimer: This is intended for research and is NOT safe for clinical use!

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

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

  • 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.

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

  • OffchainLabs
  • Implementación de la prueba de estaca Ethereum

  • 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.

  • deemkeen
  • Controle su MBOT2 con un combo de potencia: MQTT+MCP+LLM

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

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

    Reviews

    4 (1)
    Avatar
    user_MJW5UWNd
    2025-04-15

    Whatismyip by windwhinny is an incredibly useful tool that makes it easy to discover IP addresses quickly and accurately. The user interface is clean and intuitive, making navigation a breeze for both beginners and experienced users. I highly recommend checking it out at https://mcp.so/server/whatismyip/windwhinny for anyone in need of reliable IP information.