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