Frontend-Agnostic MCP Server
About
Frontend-Agnostic MCP Server is a Multi-Core Processing (MCP) server that exposes an add tool for adding two numbers via a Boomi integration, with a local fallback. It is designed to work with any frontend that supports the MCP protocol, not just Claude Desktop.
Details
- Author
- tonton2006
- Downloads
- 220
- Categories
- Developer Tools
Jump to
- Works with any MCP-compatible frontend
- Exposes a single add tool for number addition
- Connects to a Boomi integration for computation
- Falls back to local calculation if Boomi fails
- Configurable host and port via command-line arguments
- Explicit mcp.serve() call and proper module structure
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Frontend-Agnostic MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install dependencies (pip install mcp-server requests python-dotenv), create a .env file with your BOOMI_TOKEN, and run python mcp_server.py. Optional arguments --host (default 0.0.0.0) and --port (default 8000) are available. The server can be called via a Python client (client.add(a=5, b=10)) or via HTTP POST to /v1/tools/add.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"frontend-agnostic mcp server": {
"frontend-agnostic-mcp-server": {
"type": "http",
"url": "http://localhost:8000"
}
}
}
}
McpServers
{
"frontend-agnostic-mcp-server": {
"type": "http",
"url": "http://localhost:8000"
}
}
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
}
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





