集装箱MCP服务器
基于Docker的MCP(模型上下文协议)服务器设置,具有多种集成功能。
目录结构
.
├── scripts/ # Utility scripts
│ ├── setup/ # Setup and installation scripts
│ ├── utils/ # Utility and maintenance scripts
│ └── testing/ # Testing scripts
├── mcp-servers/ # MCP server implementations
│ ├── shellcheck/ # ShellCheck MCP server
│ ├── ruff/ # Ruff Python linter MCP server
│ └── start-mcp-servers.sh
├── config/ # Configuration files
│ └── .env
├── docs/ # Documentation
│ └── agent.md
├── logs/ # Log files
├── mcp-data/ # MCP data directory
├── mcp-proxy/ # MCP proxy directory
├── .github/ # GitHub configuration
├── Dockerfile
├── Dockerfile.stdio-proxy
└── docker-compose.yml快速开始
设置
# Setup MCP Gateway
./scripts/setup/setup_mcp_gateway.sh
# Setup MCP servers
./scripts/setup/install-mcp-servers.sh重新启动网关
./scripts/utils/restart-gateway.sh脚本参考
设置脚本
setup_mcp_gateway.sh-设置MCP网关setup-mcp-catalog.sh-设置MCP目录setup-zsh-shell.sh-为opencode配置zsh shellinstall-mcp-servers.sh-安装MCP服务器(ruff、shellcheck)
实用脚本
restart-gateway.sh-使用承载令牌更新重新启动MCP网关restart-gateway.py-Python版本的重启脚本rebuild-and-deploy.sh-重建和部署容器run-container.sh-运行容器脚本
测试脚本
test-mcp-tools.sh-测试MCP工具(凸缘、外壳检查)
MCP服务器
包含的服务器
- ShellCheck -Shell脚本linting(
mcp-servers/shellcheck/) - 拉夫 -Python linting和格式化(
mcp-servers/ruff/) - 标记下线 -Markdown跳转(
mcp-servers/)
- 端口:3005(HTTP模式)
- 织物MCP -Microsoft Fabric集成(
ms-fabric-mcp-server)
- 端口:3011 - 用于Microsoft Fabric操作的基于Python的MCP服务器
码头工人
跑
docker-compose up -d许可证
有关详细信息,请参阅LICENSE文件。
