mcp-tool-gateway

mcp-tool-gateway

A universal MCP tool gateway that manages multiple remote tool processes, enabling LLMs to dynamically invoke web scraping, summarization, and knowledge retrieval through standardized Function Calling.

Category
Visit Server

README

mcp-tool-gateway

项目简介

基于标准 MCP(Model Context Protocol)协议开发的通用工具调度网关,实现多远端工具进程统一管理,解决 Agent 工具硬耦合、无法跨业务复用问题。 内置网页爬取、文本摘要、向量知识库检索三类标准化 Skills,服务端通过list_tools暴露全部工具元数据、call_tool统一分发业务逻辑;客户端批量启停 MCP 服务并建立工具路由映射,自动将工具转换为 LLM Function Calling 标准格式,支持大模型自主识别、调用远端能力。 可无缝对接 CrewAI 多智能体、ReAct 对话 Agent,已配套法律文档检索、智能客服两大 RAG 业务场景落地验证,新增业务工具仅需独立开发 MCP 服务,无需修改 Agent 核心调度逻辑,大幅降低研发工具接入成本。

技术栈

Python / MCP SDK / Crawl4AI / OpenAI Function Calling / 多进程调度

核心能力

  1. 单 MCP 服务支持多业务工具注册与统一分发
  2. 批量管理多 MCP 进程,自动维护工具名路由映射
  3. MCP 工具自动适配大模型 Function Calling 规范
  4. 内置检索、爬虫、文本处理开箱即用工具
  5. 进程异常捕获、安全启停资源回收机制

配套业务项目

  1. 法律多智能体 RAG 系统:https://github.com/zike678/paralegal-agent
  2. 客服 ReAct 对话智能体:https://github.com/zike678/Robot_Vacuum_Agent

使用方式

  1. 安装依赖:uv sync / pip install -r requirements.txt
  2. 启动 MCP 服务端:python mcp_server.py
  3. 多服务调度测试:python mcp_multi_client.py
  4. LLM 自动调用 Demo:python agent_llm_entry.py

极简短版(仓库顶部一句话简介,用于 Github 仓库主页短描述)

通用 MCP 标准化工具网关,多进程统一调度,打通 LLM 与远端检索、爬虫等业务工具,可复用至多套 RAG Agent 智能体项目

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured