You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MCP RAPI (Model Context Protocol - Role-based API) is a modern, enterprise-grade API permission management system built with Go and Vue.js, designed specifically for MCP (Model Context Protocol) environments. It provides comprehensive RBAC (Role-Based Access Control) capabilities for managing API access permissions across your organization with seamless MCP integration.
๐ฏ Perfect for:
๐ค AI/LLM Applications - MCP-compatible API permission management
๐๏ธ Microservices Architecture - Centralized API permission control
# 1. Clone the repository
git clone https://github.com/chuangyeshuo/mcprapi.git
cd mcprapi
# 2. Start development environment (with hot reload & admin tools)
docker-compose -f docker-compose.dev.yml up -d
# 3. Check service status
docker-compose -f docker-compose.dev.yml ps
# ๐ Your MCP RAPI system is now running!
# 1. Configure environment variables
cp .env.example .env
# Edit .env file with your production settings# 2. Start production environment
docker-compose up -d
# 3. Check service status
docker-compose ps
# Navigate to backend directorycd backend
# Install Go dependencies
go mod download
# Copy and edit configuration
cp configs/dev.yaml.example configs/dev.yaml
# Edit configs/dev.yaml with your database settings# Initialize database (creates admin user)
go run scripts/init_admin.go
# Start the backend server with hot reload
go run cmd/main.go --config configs/dev.yaml
# ๐ Backend running on http://localhost:8081
๐จ Frontend Setup
# Navigate to frontend directorycd frontend
# Install Node.js dependencies
npm install
# Start development server with hot reload
npm run serve
# ๐จ Frontend running on http://localhost:8080
๐ค MCP Server Setup (Optional)
# Navigate to MCP example directorycd mcp-example
# Install Python dependencies
pip install -r requirements.txt
# Start FastMCP HTTP server
./start_fastmcp_http_server.sh
# ๐ค MCP Server running on http://localhost:8080
๐ Documentation
๐ API Documentation
Interactive API documentation is available once the system is running: