ubie-oss
MCP Serverubie-osspublic

mcp proxy

A thin MCP proxy

Repository Info

9
Stars
1
Forks
9
Watchers
0
Issues
Go
Language
Apache License 2.0
License

About This Server

A thin MCP proxy

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

mcp-proxy

A thin MCP proxy. It allows clients to connect MCP servers via HTTP without streaming transport. It enables to put it on a simple infrastructure.

How to install

go install github.com/ubie-oss/mcp-proxy

How to use

Prepare your mcp config file

Create a config file. The format is similar to Claude's. $VARNAME will be replaced with environment variables. It supports both json and yaml.

{
  "mcpServers": {
    "server1": {
      "command": "npx",
      "args": ["module1"],
      "env": {
        "VAR1": "$SERVER1_VAR1",
        "VAR2": "$SERVER1_VAR2"
      }
    },
    "server2": {
      "command": "npx",
      "args": ["module2"],
      "env": {
        "VAR1": "$SERVER2_VAR1",
        "VAR2": "$SERVER2_VAR2"
      },
      "_extensions": {
        "tools": {
          "allow": [
            "tool1",
            "tool2"
          ],
          "deny": [
            "tool11",
            "tool12"
          ]
        }
      }
    }
  }
} 
mcpServers:
  server1:
    command: "npx"
    args:
      - "module1"
    env:
      VAR1: $SERVER1_VAR1
      VAR2: $SERVER1_VAR2
  server2:
    command: "npx"
    args:
      - "module2"
    env:
      VAR1: $SERVER2_VAR1
      VAR2: $SERVER2_VAR2
    _extensions:
      tools:
        allow:
          - tool1
          - tool2
        deny:
          - tool11
          - tool12

Tool filtering with allow/deny lists

You can control which tools are available to each MCP server using the _extensions.tools configuration:

  • allow: Only tools listed here will be allowed. If this list is empty or not specified, all tools are allowed (unless denied).
  • deny: Tools listed here will be blocked, even if they are in the allow list.

When both allow and deny lists are specified, the deny list takes precedence. That is, tools in the deny list will be blocked even if they also appear in the allow list.

Run mcp-proxy with the config

go run . -config config.json -port 9090 

Quick Start

1

Clone the repository

git clone https://github.com/ubie-oss/mcp-proxy
2

Install dependencies

cd mcp-proxy
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerubie-oss
Repomcp-proxy
LanguageGo
LicenseApache License 2.0
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation