This repository now contains a complete MCP (Model Context Protocol) server infrastructure for the DEAF-FIRST platform with 5 specialized services, a frontend, and a backend.
DEAF-FIRST-PLATFORM/
├── frontend/ # React + Vite frontend
├── backend/ # Express backend API
├── services/
│ ├── deafauth/ # Authentication service + MCP server
│ ├── pinksync/ # Real-time sync service + MCP server
│ ├── fibonrose/ # Optimization engine + MCP server
│ └── accessibility-nodes/ # Accessibility features + MCP server
├── ai/ # AI services + MCP server
├── configs/deployment/ # Docker Compose configuration
├── package.json # Root workspace configuration
├── mcp-config.json # MCP servers configuration
├── README.md # Main documentation
├── MCP-SERVERS.md # MCP server documentation
└── .env.example # Environment variables template
npm install
cp .env.example .env
# Edit .env with your configuration
npm run build
# Run all services
npm run dev
# Or run individual services
npm run dev:frontend
npm run dev:backend
npm run dev:deafauth
npm run dev:pinksync
npm run dev:fibonrose
npm run dev:a11y
Each service can be run as an MCP server:
# Build first
npm run build
# Run individual MCP servers
npm run mcp --workspace=services/deafauth
npm run mcp --workspace=services/pinksync
npm run mcp --workspace=services/fibonrose
npm run mcp --workspace=services/accessibility-nodes
npm run mcp --workspace=ai
Use the included test script:
node test-mcp.mjs services/deafauth/dist/mcp-server.js
node test-mcp.mjs services/pinksync/dist/mcp-server.js
node test-mcp.mjs services/fibonrose/dist/mcp-server.js
node test-mcp.mjs services/accessibility-nodes/dist/mcp-server.js
node test-mcp.mjs ai/dist/mcp-server.js
Add to your Claude Desktop configuration:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"deafauth": {
"command": "node",
"args": ["/absolute/path/to/DEAF-FIRST-PLATFORM/services/deafauth/dist/mcp-server.js"]
},
"pinksync": {
"command": "node",
"args": ["/absolute/path/to/DEAF-FIRST-PLATFORM/services/pinksync/dist/mcp-server.js"]
},
"fibonrose": {
"command": "node",
"args": ["/absolute/path/to/DEAF-FIRST-PLATFORM/services/fibonrose/dist/mcp-server.js"]
},
"accessibility-nodes": {
"command": "node",
"args": ["/absolute/path/to/DEAF-FIRST-PLATFORM/services/accessibility-nodes/dist/mcp-server.js"]
},
"ai": {
"command": "node",
"args": ["/absolute/path/to/DEAF-FIRST-PLATFORM/ai/dist/mcp-server.js"]
}
}
}
Purpose: Accessible authentication and user management
MCP Tools:
authenticate_user: Login with username/passwordcreate_user: Create new user with accessibility preferencesget_user: Retrieve user profileREST API:
POST /api/auth/login: User authenticationPOST /api/auth/register: User registrationGET /api/users/:userId: Get user infoPurpose: Real-time data synchronization
MCP Tools:
sync_data: Synchronize data across channelssubscribe_channel: Subscribe to sync channelget_sync_status: Get sync statusREST API:
POST /api/sync: Sync dataGET /api/sync/status: Get sync statusPurpose: Mathematical optimization engine
MCP Tools:
optimize_schedule: Optimize task schedulingcalculate_fibonacci: Calculate Fibonacci numbers (optimized O(n) algorithm)golden_ratio_analysis: Golden ratio calculationsREST API:
POST /api/optimize/schedule: Schedule optimizationGET /api/fibonacci/:n: Calculate FibonacciPOST /api/golden-ratio: Golden ratio analysisPurpose: Modular accessibility features
MCP Tools:
get_sign_language_interpretation: Sign language for text (ASL/BSL/ISL)apply_high_contrast: Apply high contrast modesimplify_text: Text simplificationget_accessibility_recommendations: Get WCAG recommendationsREST API:
POST /api/sign-language: Get sign language interpretationPOST /api/high-contrast: Apply high contrastPOST /api/simplify-text: Simplify textGET /api/recommendations/:contentType: Get recommendationsPurpose: AI-powered workflows
MCP Tools:
process_text: Summarize, translate, or simplify textgenerate_content: Generate accessible contentanalyze_accessibility: Analyze accessibility issuesREST API:
POST /api/process/text: Process text with AIPOST /api/generate: Generate contentPOST /api/analyze/accessibility: Analyze accessibilityPurpose: Main backend API
REST API:
GET /health: Health checkGET /api/status: Service statusPurpose: React-based user interface
Features:
# Build Docker images
npm run build:docker
# Start all services
npm run docker:up
# View logs
npm run docker:logs
# Stop all services
npm run docker:down
# Development
npm run dev # Run all services
npm run dev:frontend # Frontend only
npm run dev:backend # Backend only
npm run dev:deafauth # DeafAUTH only
npm run dev:pinksync # PinkSync only
npm run dev:fibonrose # FibonRose only
npm run dev:a11y # Accessibility nodes only
# Building
npm run build # Build all workspaces
# Testing
npm run test # Run all tests
npm run test:e2e # End-to-end tests
# Code Quality
npm run lint # Lint code
npm run format # Format with Prettier
npm run type-check # TypeScript type checking
# Database
npm run db:setup # Setup databases
npm run db:migrate # Run migrations
npm run db:seed # Seed data
# Cleanup
npm run clean # Clean all artifacts
Key environment variables (see .env.example for complete list):
# Databases
DATABASE_URL=postgresql://user:password@localhost:5432/deafirst
DEAFAUTH_DATABASE_URL=postgresql://user:password@localhost:5432/deafauth
# Redis
REDIS_URL=redis://localhost:6379
# JWT
JWT_SECRET=your-secret-key
JWT_EXPIRY=7d
# Service Ports
BACKEND_PORT=3000
DEAFAUTH_PORT=3002
PINKSYNC_PORT=3003
FIBONROSE_PORT=3004
A11Y_PORT=3005
AI_PORT=3006
# AI Services
OPENAI_API_KEY=your-api-key
✅ Complete Monorepo: npm workspaces with all services ✅ MCP Protocol: 5 MCP servers for programmatic access ✅ TypeScript: Full type safety across all services ✅ REST APIs: HTTP endpoints for all services ✅ WebSocket: Real-time communication (PinkSync) ✅ Docker Ready: Complete Docker Compose setup ✅ Accessibility First: All services designed with accessibility in mind ✅ Documentation: Comprehensive docs for all components ✅ Testing: Test infrastructure included ✅ Production Ready: Linting, type-checking, building all working
.env with your settingsnpm installnpm run buildnpm run devREADME.md: Main project documentationMCP-SERVERS.md: Detailed MCP server documentationinfrastructure.md: Architecture overview.env.example: Environment configuration templateFor issues or questions:
MIT License - See LICENSE file
Built by 360 Magicians
DEAF-FIRST Platform v2.0.0