Skip to main content
Glama

Мета MCP Прокси

Гибкий прокси-сервер Model Context Protocol (MCP), который позволяет обнаруживать и выполнять инструменты на нескольких серверах MCP и функциях JavaScript. Позволяет иметь сокращенное событие контекста, если у вас сотни инструментов. Этот mcp действует как оболочка других mcps (или библиотек), выполняя своего рода Local RAG (Retrieval Augmented Generation) для уменьшения размера контекста, предоставляя llm 2 метода (discover и execute) и запрашивая у llm краткость в отношении обнаружения. Метод execute — это простой прокси-сервер

Мы настоятельно рекомендуем добавить конфигурацию discoverDescriptionExtras , чтобы она содержала подробную информацию о назначении инструментов и о том, для каких тем LM должен их использовать.

Функции

  • 🌉 Унифицированное обнаружение инструментов : поиск инструментов на нескольких серверах MCP

  • 🔌 Выполнение прокси : маршрутизация вызовов инструментов на соответствующий сервер

  • 🔍 Умный поиск : найдите лучший инструмент для работы с помощью нечеткого соответствия

  • 🧩 Интеграция JavaScript : предоставление пользовательских функций JavaScript в качестве инструментов MCP

  • 📝 Настраиваемость : загрузка конфигурации из файлов или аргументов командной строки

Related MCP server: mcp-compressor

Использование

🧱 Установка

Отредактируйте файл ~/Library/Application Support/Claude/claude_desktop_config.json

и добавьте следующее

{
  "mcpServers": {
    "mcp-openapi-proxy": {
      "command": "npx",
      "args": ["@nullplatform/meta-mcp-proxy","-f","config.json"]
    }
  }
}

Формат файла конфигурации

Ваш config.json должен иметь следующую структуру:

{
  "discoverDescriptionExtras": "Additional description for discovery",
  "discoverLimit": 10,
  "mcpServers": {
    "server-name": {
      "command": "command-to-execute",
      "args": ["arg1", "arg2"],
      "env": {
        "ENV_VAR1": "value1",
        "ENV_VAR2": "value2"
      },
      "transport": "stdio"
    }
  }
}

как пример

{
  "discoverDescriptionExtras": "Api used to manage a pet store with access to pets, pet types, users, orders and store",
  "mcpServers": {
    "mcp-petstore": {
        "command": "uvx",
        "args": ["mcp-openapi-proxy"],
        "env": {
            "OPENAPI_SPEC_URL": "https://petstore.swagger.io/v2/swagger.json",
            "API_KEY": "xxxxx"
       }
    }
  }
}

Пример разговора с Клодом в режиме 0-Shot

в примере используется демо-конфигурация с зоомагазином, практически без описания API

Пример нулевого выстрела

Как библиотека

Вы также можете использовать Meta MCP Proxy как библиотеку в своих собственных приложениях JavaScript:

import { MCPProxy } from '@nullplatform/meta-mcp-proxy';

// Create a new proxy instance
const mcpProxy = new MCPProxy({
  mcpServers: {
    "my-server": {
      "command": "path/to/server",
      "args": [],
      "env": {}
    }
  },
  discoverLimit: 10
});

// Register a custom JavaScript function
mcpProxy.registerJsFunction(
  "myFunction", 
  "Description of my function",
  {
    properties: {
      param1: {
        type: "string",
        description: "First parameter"
      },
      param2: {
        type: "number",
        description: "Second parameter"
      }
    },
    required: ["param1"]
  },
  async ({ param1, param2 }) => {
    // Implementation goes here
    return {
      content: [
        {
          type: "text",
          text: JSON.stringify({ result: `Processed ${param1}` })
        }
      ]
    };
  }
);

// Start the MCP server
await mcpProxy.startMCP();

Пример создания mcp с meta-mcp-proxy в качестве библиотеки

Лицензия

Массачусетский технологический институт

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    A context-efficient MCP tool proxy that uses semantic search to manage numerous backend tools through just three meta-tools. It minimizes agent context usage by enabling on-demand tool discovery and schema retrieval across multiple connected servers.
    Last updated
    1
  • A
    license
    -
    quality
    A
    maintenance
    A proxy server that wraps existing MCP servers to significantly reduce token consumption by compressing tool descriptions into a two-step interface. It enables users to integrate extensive toolsets without exceeding context limits or incurring high API costs.
    Last updated
    104
    Apache 2.0
  • A
    license
    -
    quality
    -
    maintenance
    A drop-in MCP proxy that aggregates multiple backend servers into two meta-tools for efficient tool discovery and execution. It enables AI clients to access hundreds of tools while minimizing context window usage through searchable indexing.
    Last updated
    1

View all related MCP servers

Related MCP Connectors

  • Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.

  • AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.

  • Free public MCP for AI agents — 193 tools, 44 workflows. No API key.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nullplatform/meta-mcp-proxy'

If you have feedback or need assistance with the MCP directory API, please join our Discord server