Cover image
Try Now
2025-03-27

Test repository for MCP server

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.

  • 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
  • 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_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!