Cover image
Try Now
2025-03-27

测试MCP服务器的存储库

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

Frontend-Agnostic MCP Server

A Multi-Core Processing (MCP) server that can be used with any frontend, not just Claude Desktop.

Changes Made

The original script was designed specifically for Claude Desktop, which automatically handles the server initialization. The updated script adds:

  1. An explicit mcp.serve() call to start the server
  2. Command-line argument parsing for host/port configuration
  3. A proper if __name__ == "__main__": block to allow the script to be imported without starting the server

Setup

  1. Install dependencies:

    pip install mcp-server requests python-dotenv
    
  2. Create a .env file with your Boomi token:

    BOOMI_TOKEN=your_token_here
    
  3. Run the server:

    python mcp_server.py
    

    Optional arguments:

    • --host: Host to bind to (default: 0.0.0.0)
    • --port: Port to listen on (default: 8000)

Usage

The server exposes an add tool that can be called from any frontend that supports the MCP protocol. The tool adds two numbers using a Boomi integration, with a local fallback.

How It Works

This MCP server connects to a Boomi integration process for adding numbers. If the Boomi service fails, it falls back to calculating the sum locally.

Using with Different Frontends

With Python Client

from mcp.client import Client

client = Client("http://localhost:8000")
result = client.add(a=5, b=10)
print(result)

With HTTP Request

POST http://localhost:8000/v1/tools/add
Content-Type: application/json

{
  "a": 5,
  "b": 10
}

相关推荐

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

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

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

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

  • Lists Tailwind CSS classes in monospaced font

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

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

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

    Reviews

    3 (1)
    Avatar
    user_3Jw7zJC0
    2025-04-15

    I've been using Fetch MCP consistently and it has significantly improved my workflow. The intuitive interface and robust functionality provided by jae-jae make it an indispensable tool for anyone in need of a powerful management application. I highly recommend it to professionals seeking efficient and reliable software. Fantastic job, jae-jae!