
warpdev/mcp-hub-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
warpdev/mcp-hub-mcp는 MCP 서버 후보가 https://github.com/warpdev/mcp-hub-mcp.에서 수입됩니다
개요
warpdev/mcp-hub-mcp는 MCP 서버 후보가 https://github.com/warpdev/mcp-hub-mcp.에서 수입됩니다
개요(AI 번역)
다른 MCP (Model Context Protocol) 서버를 연결하고 관리하는 허브 서버.
개요
이 프로젝트는 MCP 허브 서버를 구축하여 단일 인터페이스를 통해 여러 MCP (모델 Context Protocol) 서버를 관리하고 관리합니다. Infrequently used MCPs (e.g., Atlassian MCP, Playwright MCP)를 사용하여 과도한 컨텍스트 사용 및 오염을 방지하는 데 도움이됩니다. AI 실수를 줄이고 능동적 도구 세트를 유지하여 성능을 향상시키고 관리 할 수 있습니다.
키 기능
- 구성 파일을 통해 다른 MCP 서버에 자동 연결
- 연결된 서버에서 사용 가능한 도구 목록
- 연결된 서버에서 통화 도구 및 반환 결과
구성
mcp.json에 이것을 추가하십시오:
npx 사용
설치 및 실행
요구 사항
- Node.js 18.0.0 이상
- npm, 원사, pnpm
설치
구조
실행
개발 모드
구성 파일
MCP-Hub-MCP 서버는 Claude Desktop 형식 구성 파일을 사용하여 다른 MCP 서버에 연결할 수 있습니다. 다음과 같은 방법으로 구성 파일을 지정할 수 있습니다:
- 명세.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
MCP-Hub-MCP Server
A hub server that connects to and manages other MCP (Model Context Protocol) servers.
Overview
This project builds an MCP hub server that connects to and manages multiple MCP (Model Context Protocol) servers through a single interface. It helps prevent excessive context usage and pollution from infrequently used MCPs (e.g., Atlassian MCP, Playwright MCP) by allowing you to connect them only when needed. This reduces AI mistakes and improves performance by keeping the active tool set focused and manageable.
Key Features
- Automatic connection to other MCP servers via configuration file
- List available tools on connected servers
- Call tools on connected servers and return results
Configuration
Add this to your mcp.json:
Using npx
{
"mcpServers": {
"other-tools": {
"command": "npx",
"args": [
"-y",
"mcp-hub-mcp",
"--config-path",
"/Users/username/mcp.json"
]
}
}
}
Installation and Running
Requirements
- Node.js 18.0.0 or higher
- npm, yarn, or pnpm
Installation
# Clone repository
git clone
cd mcp-hub-mcp
# Install dependencies
npm install
# or
yarn install
# or
pnpm install
Build
npm run build
# or
yarn build
# or
pnpm build
Run
npm start
# or
yarn start
# or
pnpm start
Development Mode
npm run dev
# or
yarn dev
# or
pnpm dev
Configuration File
The MCP-Hub-MCP server uses a Claude Desktop format configuration file to automatically connect to other MCP servers. You can specify the configuration file in the following ways:
- Environment variable: Set the
MCP_CONFIG_PATHenvironment variable to the configuration file path - Command line argument: Use the
--config-pathoption to specify the configuration file path - Default path: Use
mcp-config.jsonfile in the current directory
Configuration file format:
{
"mcpServers": {
"serverName1": {
"command": "command",
"args": ["arg1", "arg2", ...],
"env": { "ENV_VAR1": "value1", ... }
},
"serverName2": {
"command": "anotherCommand",
"args": ["arg1", "arg2", ...]
}
}
}
Example:
{
"mcpServers": {
"filesystem": {
설치
npx -y mcp-hub-mcp --config-path /Users/username/mcp.json설정
{
"mcpServers": {
"other-tools": {
"command": "npx",
"args": [
"-y",
"mcp-hub-mcp",
"--config-path",
"/Users/username/mcp.json"
]
}
}
}