UT

universal-tool-calling-protocol/utcp-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

219 stars 27 forks Качество 63 Тренд 20

universal-tool-calling-protocol/utcp-mcp — это кандидат-сервер MCP, импортированный из https://github.com/universal-tool-calling-protocol/utcp-mcp.

Обзор

universal-tool-calling-protocol/utcp-mcp — это кандидат-сервер MCP, импортированный из https://github.com/universal-tool-calling-protocol/utcp-mcp.

Обзор (машинный перевод)

Последний сервер MCP, который вам когда-либо понадобится.

Универсальный, универсальный MCP-сервер, который использует всю мощь Универсального протокола вызова инструментов (UTCP) в экосистему MCP.

🚀 Быстрый старт

Добавьте эту конфигурацию в ваш MCP-клиент (Claude Desktop и др.):

**Вот и всё! ** Установка не требуется. Мост автоматически:

  • Скачать и запустить последнюю версию через npx
  • Загрузите конфигурацию UTCP по указанному пути
  • Зарегистрировать все ваши руководства по UTCP как инструменты MCP
  • Предоставить единый интерфейс для управления экосистемой вашего инструмента

🔧 Конфигурация

Создайте файл .utcp_config.json для настройки ваших инструментов и сервисов:

Код Клода (CLI)

Для Claude Code (расширение CLI / IDE) зарегистрируйте мост как пользовательский MCP-сервер:

Затем перезапустите Claude Code. Проверьте с помощью claude mcp list. Удалите с помощью claude mcp remove utcp --scope user.

🧪 Местное развитие у моста

Если вы работаете с @utcp/sdk или любым другим typescript-utcp пакетом и хотите использовать его через Claude Code, используйте скрипты разработки:

Обе скрипты идэмпотентны и никогда не мутируют package.json.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

UTCP-MCP Bridge

The last MCP server you’ll ever need.

A universal, all-in-one MCP server that brings the full power of the Universal Tool Calling Protocol (UTCP) to the MCP ecosystem.

🚀 Quick Start

Add this configuration to your MCP client (Claude Desktop, etc.):

{
  "mcpServers": {
    "utcp": {
      "command": "npx",
      "args": ["@utcp/mcp-bridge"],
      "env": {
        "UTCP_CONFIG_FILE": "/path/to/your/.utcp_config.json"
      }
    }
  }
}

That’s it! No installation required. The bridge will automatically:

  • Download and run the latest version via npx
  • Load your UTCP configuration from the specified path
  • Register all your UTCP manuals as MCP tools
  • Provide a unified interface to manage your tool ecosystem

🔧 Configuration

Create a .utcp_config.json file to configure your tools and services:

{
    "load_variables_from": [
      {
        "variable_loader_type": "dotenv",
        "env_file_path": ".env"
      }
    ],
    "manual_call_templates": [
      {
          "name": "openlibrary",
          "call_template_type": "http",
          "http_method": "GET", 
          "url": "https://openlibrary.org/static/openapi.json",
          "content_type": "application/json"
      }
    ],
    "post_processing": [
      {
          "tool_post_processor_type": "filter_dict",
          "only_include_keys": ["name", "description"],
          "only_include_tools": ["openlibrary.*"]
      }
    ],
    "tool_repository": {
      "tool_repository_type": "in_memory"
    },
    "tool_search_strategy": {
      "tool_search_strategy_type": "tag_and_description_word_match"
    }
}

Claude Code (CLI)

For Claude Code (the CLI / IDE extension), register the bridge as a user-scoped MCP server:

claude mcp add-json --scope user utcp '{"type":"stdio","command":"npx","args":["@utcp/mcp-bridge"],"env":{"UTCP_CONFIG_FILE":"/absolute/path/to/.utcp_config.json"}}'

Then restart Claude Code. Verify with claude mcp list. Remove with claude mcp remove utcp --scope user.

🧪 Local development against the bridge

If you’re hacking on @utcp/sdk or any other typescript-utcp package and want to exercise it through Claude Code, use the dev scripts:

cd utcp-mcp
npm install
npm run dev:register     # builds typescript-utcp packages, overlays each into the bridge's node_modules, builds the bridge, and registers it as 'utcp-dev' in Claude Code
# restart Claude Code

# After every edit:
npm run dev:register     # rebuilds, re-registers; restart Claude Code

# When done:
npm run dev:unregister   # removes the MCP entry and restores registry node_modules

Both scripts are idempotent and never mutate package.json. The overlay strategy avoids npm link, which under modern npm aliases unlink to uninstall --save and would silently strip the dependency.

Открыть полный README на GitHub

Установка

npx @utcp/mcp-bridge
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "utcp": { "command": "npx", "args": ["@utcp/mcp-bridge"], "env": { "UTCP_CONFIG_FILE": "/path/to/your/.utcp_config.json" } } } }