dsh-cc/dsh-cc--packages-mcp-mcp-client ↗★ 1
@dsh-cc/mcp-client
MCP client bridge: connects to MCP servers and registers their tools on ctx.tools 适合需要接入 MCP 工具的用户;需在配置中为每个服务器单独设置。
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗
Usage
One plugin instance per MCP server in cordis.yml:
- id: mcp-github
name: '@dsh-cc/mcp-client'
config:
serverName: github
transport: stdio
command: npx
args: ['-y', '@modelcontextprotocol/server-github']
env:
GITHUB_TOKEN: !!js process.env.GITHUB_TOKEN
- id: mcp-web
name: '@dsh-cc/mcp-client'
config:
serverName: web
transport: streamable-http
url: http://localhost:3000/mcp
headers:
Authorization: !!js '`Bearer ${process.env.MCP_TOKEN}`'
- id: mcp-feed
name: '@dsh-cc/mcp-client'
config:
serverName: feed
transport: sse
url: http://localhost:3001/sse
oauth:
redirectUrl: http://localhost:8787/callback
The model sees mcp__github__create_issue, mcp__web__search, … — the same server-qualified shape Claude Code and Codex use. HMR hot-swaps: editing the entry triggers disconnect + reconnect without process restart; an unchanged serverName reproduces identical tool names.