# Bounteous MCP Server A Model Context Protocol (MCP) server implementation for Bounteous organization, enabling seamless integration between LLM applications and version control systems (GitHub and GitLab). ## Overview This MCP server provides a standardized way to connect Large Language Models (LLMs) with version control systems, enabling powerful automation and integration capabilities. Built following the [Model Context Protocol](https://github.com/modelcontextprotocol) specifications. ## Features ### Version Control Integration - **GitHub Integration** - Repository management - Issue tracking - Pull request handling - Code review workflows - Advanced search capabilities - Branch management - File operations - **GitLab Integration** - Project management - Issue tracking - Merge request handling - Code review workflows - Repository operations - Branch management - File operations ### Common Features - Automatic branch creation - Comprehensive error handling - Git history preservation - Batch operations support - File and directory management - Code search capabilities ## Getting Started ### Prerequisites - Node.js (v16 or higher) - npm or yarn package manager - GitLab or GitHub account with appropriate permissions - Personal Access Token for the respective service ### Installation 1. Clone the repository: ```bash git clone https://github.com/ravi-accolite/mcpserver.git cd mcpserver ``` 2. Install dependencies: ```bash npm install # or yarn install ``` 3. Configure environment variables: ```bash cp .env.example .env # Edit .env with your configuration ``` ### Usage #### Docker ```bash # Build and run GitHub MCP Server docker build -t mcp/github -f packages/bounteous-hulk/src/github/Dockerfile . docker run -e GITHUB_PERSONAL_ACCESS_TOKEN= mcp/github # Build and run GitLab MCP Server docker build -t mcp/gitlab -f packages/bounteous-hulk/src/gitlab/Dockerfile . docker run -e GITLAB_PERSONAL_ACCESS_TOKEN= -e GITLAB_API_URL=https://gitlab.com/api/v4 mcp/gitlab ``` #### NPX ```bash # Run GitHub MCP Server npx -y bounteous-hulk --github-token # Run GitLab MCP Server npx -y bounteous-hulk --gitlab-token --gitlab-api-url https://gitlab.com/api/v4 ``` ### Configuration (Local Setup) Add the following to your `.cursor/mcp.json` (project level mcp server) or global level: ```json { "mcpServers": { "bounteous-hulk": { "command": "node", "args": [ "/mcpserver/packages/bounteous-hulk/dist/index.js" ], "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "", "VERSION_CONTROL": "