pipe
Developer Collaboration Context Bridge - An MCP server that unifies developer context across platforms.
GitHubスター
1
ユーザー評価
未評価
お気に入り
0
閲覧数
4
フォーク
0
イシュー
0
Pipe MCP Server
Developer Collaboration Context Bridge - An MCP server that unifies developer context across platforms.
🚀 Live Demo | Documentation | API Reference
Overview
Pipe is a Model Context Protocol (MCP) server that bridges context from multiple developer platforms (GitHub, Slack, Jira, Linear, Notion) into a unified graph, enabling AI assistants to access comprehensive team collaboration context.
🌟 Features
- Unified Context Graph: Connects data from GitHub, Slack, Jira, Linear, and Notion
- Real-time Sync: WebSocket support for live updates
- MCP Protocol: Compatible with AI assistants supporting Model Context Protocol
- OAuth Integration: Secure authentication with major platforms
- Production Ready: Deployed on Railway with PostgreSQL and Redis
Tech Stack
- Runtime: Node.js 20+
- Language: TypeScript 5+
- Framework: Express + Socket.io
- Databases: PostgreSQL (with graph capabilities), Redis
- Queue: BullMQ
- Authentication: Passport.js with JWT
🚀 Deployment
Pipe is deployed on Railway and available at: https://pipe-production.up.railway.app/
Production Infrastructure
- Platform: Railway
- Databases: PostgreSQL & Redis (Railway managed)
- Graph Storage: PostgreSQL with recursive CTEs
- Monitoring: Built-in health checks and logging
Getting Started
Prerequisites
- Node.js 20+
- Docker and Docker Compose
- PostgreSQL and Redis (or use Docker)
Local Development
- Clone the repository:
git clone https://github.com/brownjer3/pipe.git
cd pipe
- Install dependencies:
npm install
- Copy environment variables:
cp .env.example .env
- Start infrastructure services:
docker-compose up -d
- Run database migrations:
npm run db:migrate
- Start development server:
npm run dev
Development
npm run dev
- Start development server with hot reloadnpm run build
- Build TypeScript to JavaScriptnpm run test
- Run comprehensive Vitest test suitenpm run test:coverage
- Run tests with coverage reportnpm run test:ui
- Open interactive test UInpm run lint
- Run ESLintnpm run format
- Format code with Prettiernpm run typecheck
- Type check without building
Architecture
The server implements the MCP protocol with WebSocket support for real-time collaboration. Key components:
- MCP Protocol Handler: Processes JSON-RPC messages
- WebSocket Server: Real-time connections and broadcasts
- Context Engine: Manages context graph and search
- Platform Manager: Handles platform integrations
- Job Processor: Background synchronization tasks
API Endpoints
Health Checks
GET /health
- Basic health checkGET /health/detailed
- Detailed service statusGET /health/ready
- Kubernetes readiness probe
Authentication
GET /auth/github
- GitHub OAuth flowGET /auth/slack
- Slack OAuth flowPOST /auth/login
- Email/password loginPOST /auth/register
- User registrationPOST /auth/refresh
- Refresh JWT token
MCP Protocol
- WebSocket
/ws
- MCP protocol over WebSocket
Deployment Guide
For detailed deployment instructions, see Railway Deployment Guide.
Quick Deploy to Railway
- Fork this repository
- Connect to Railway
- Add PostgreSQL and Redis
- Set environment variables:
DATABASE_URL=${{Postgres.DATABASE_URL}} REDIS_URL=${{Redis.REDIS_URL}} JWT_SECRET=<generate with: openssl rand -hex 32> REFRESH_SECRET=<generate with: openssl rand -hex 32> ENCRYPTION_KEY=<generate with: openssl rand -hex 32>
- Deploy!
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT