HarleyVader/js-bambisleep-chat-mcp-server
3.1
If you are the rightful owner of js-bambisleep-chat-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A comprehensive Model Context Protocol (MCP) server with GitHub integration and OAuth authentication.
MCP Server & Agent Docking System
A comprehensive Model Context Protocol (MCP) server with GitHub integration and OAuth authentication.
Quick Start
-
Clone and setup:
git clone https://github.com/HarleyVader/js-bambisleep-chat-mcp-server.git cd js-bambisleep-chat-mcp-server npm install -
Configure environment:
cp .env.example .env # Edit .env with your OAuth credentials and settings -
Start development:
npm run dev
Project Structure
js-bambisleep-chat-mcp-server/
├── server/ # MCP Server implementation
│ ├── src/
│ │ ├── auth/ # OAuth strategies and session management
│ │ ├── mcp/ # MCP protocol implementation
│ │ ├── routes/ # Express routes
│ │ ├── models/ # Database models
│ │ └── app.js # Main server entry point
│ ├── tests/
│ └── package.json
├── agent/ # Agent for GitHub integration
│ ├── src/
│ │ ├── github/ # GitHub API integration
│ │ ├── git/ # Git operations
│ │ └── agent.js # Main agent entry point
│ ├── tests/
│ └── package.json
├── shared/ # Shared utilities and types
├── docker/ # Docker configurations
├── .env.example
├── docker-compose.yml
├── package.json # Root package.json for monorepo
└── README.md
Features
- MCP Protocol Support: Full implementation of Model Context Protocol
- OAuth Authentication: GitHub and Patreon integration
- GitHub Integration: Automated PR creation and repository management
- Real-time Communication: WebSocket and SSE support
- Tool Management: Dynamic tool registration and execution
- Docker Support: Complete containerization
Development
Scripts
npm run dev- Start both server and agent in development modenpm run build- Build all workspacesnpm run test- Run tests across all workspacesnpm run lint- Lint all codenpm run format- Format code with Prettier
Environment Setup
Copy .env.example to .env and configure:
- GitHub OAuth: Create OAuth app in GitHub settings
- Patreon OAuth: Create OAuth app in Patreon developer console
- Database: Configure your preferred database
- Session: Generate secure session secret
Architecture
The system consists of three main components:
- Server: Express-based MCP server with OAuth and real-time communication
- Agent: GitHub integration service for automated repository operations
- Shared: Common utilities and type definitions
Contributing
- Create feature branch
- Make changes with tests
- Ensure lint/format passes
- Submit pull request
License
MIT