MCP JoyPack
一个模块化、可扩展的系统,可以轻松安装和配置Windsurf/Codeium的MCP(模型上下文协议)服务器。
概述
MCP JoyPack提供了设置各种MCP服务器的最简单方法。它采用模块化设计,可以轻松添加对新MCP服务器的支持。
当前MCP服务器
- 亚托西亚
- MySQL
- 路障
- GitHub
先决条件
- Docker(https://docs.docker.com/get-docker/)
安装
📋 复制下面的命令并将其粘贴到您的终端中
bash -c "$(curl -fsSL https://bit.ly/MCPJoyPack)"就是这样!脚本将:
- 将MCP JoyPack下载到临时目录
- 运行交互式安装程序
- 指导您选择和配置所需的MCP服务器
- 完成后自动清理
无需克隆存储库或安装任何其他工具(Docker除外)。
模块化架构
MCP JoyPack采用模块化架构,其中:
- 每个MCP服务器在
servers/目录 - 主安装脚本动态发现并加载这些特定于服务器的脚本
- 所有服务器脚本共享通用实用程序功能
这使得在不修改核心安装逻辑的情况下,可以轻松添加对新MCP服务器的支持。
可用的MCP服务器
Atlassian MCP服务器
Atlassian MCP服务器通过MCP协议提供对Jira功能的访问。
配置
您需要提供:
- Jira URL
- Jira用户名(您的电子邮件)
- Jira API代币(https://id.atlassian.com/manage-profile/security/api-tokens)
- Jira项目筛选器(可选,逗号分隔的项目键)
快乐的SQL MCP服务器
Joyful SQL MCP服务器通过MCP协议提供对本地和ODI MySQL功能的访问。
配置
您需要提供:
- 本地主机
- 本地用户
- 本地密码
- 本地端口
- 去 主机
- Odi用户
- 输入密码
- 奥迪港
- 奥迪SSH端口
- Odi SSH密钥路径
Rollbar MCP服务器
Rollbar MCP服务器通过MCP协议提供对Rollbar功能的访问。
配置
您需要提供:
- Rollbar API代币
Github MCP服务器
Github MCP服务器通过MCP协议提供对Github功能的访问。
配置
您需要提供:
- Github API代币(https://github.com/settings/personal-access-tokens/new?target_name=BambooHR)
Windsurf/Codeium集成
MCP JoyPack通过以下方式自动配置您的MCP服务器以与Windsurf/Codeium一起使用:
- 在中创建必要的环境文件
~/.mcp/目录 - 更新Windsurf MCP配置
~/.codeium/windsurf/mcp_config.json
添加更多MCP服务器
使用模块化架构添加新的MCP服务器很简单:
- 在中创建新脚本
servers/目录(例如。,servers/new-server.sh) - 定义a
setup_[server-name]()处理服务器特定设置的函数 - 就是这样!主脚本将自动检测并包含它
新服务器的示例模板
#!/bin/bash
# New Server MCP Setup Script
# Define the name used in the MCP config
CONFIG_NAME="mcp-new-server"
# Documentation link for the new server this will be used as a clickable link in the installer
DOCUMENTATION_LINK="https://github.com/your-repo/new-server-mcp"
# Function to set up the new server
setup_new-server() {
echo -e "\n${BLUE}Setting up New Server MCP server...${NC}"
# Your server-specific setup code here
# ...
# Update MCP config
local server_config='{"command": "docker", "args": [...]}' # Your server config
update_mcp_config "filename" "$server_config"
echo -e "\n${GREEN}New Server MCP server installation completed!${NC}"
}故障排除提示
- 你明白了!
