Modern API Permission Management System with MCP Integration
๐ฏ Features โข ๐ Quick Start โข ๐ Documentation โข ๐ค Contributing โข ๐ Star History
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.
- ๐ค AI/LLM Applications - MCP-compatible API permission management
- ๐๏ธ Microservices Architecture - Centralized API permission control
- ๐ข Enterprise Applications - Multi-tenant permission management
- ๐ฅ Development Teams - Streamlined API access workflows
- ๐ DevOps Automation - Automated permission deployment
Get up and running in under 2 minutes: # 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!๐ Access URLs:
๐ Default Login:
ไฝฟ็จ้ขๆๅปบ็Docker้ๅๅฟซ้้จ็ฝฒ๏ผ # 1. ่ฟๅ
ฅ้จ็ฝฒ็ฎๅฝ
cd deploy
# 2. ้
็ฝฎ็ฏๅขๅ้
cp .env.production .env
# ็ผ่พ .env ๆไปถ๏ผ่ฎพ็ฝฎๅฟ
่ฆ็็ฏๅขๅ้
# 3. ไฝฟ็จGHCR้ๅๅฏๅจๆๅก
docker-compose -f docker-compose.ghcr.yml up -d
# 4. ๆฃๆฅๆๅก็ถๆ
docker-compose -f docker-compose.ghcr.yml ps๐ ่ฏฆ็ปๆๅ: ๆฅ็ # 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 psProduction URLs:
๐ Prerequisites# Navigate to backend directory
cd 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# Navigate to frontend directory
cd frontend
# Install Node.js dependencies
npm install
# Start development server with hot reload
npm run serve
# ๐จ Frontend running on http://localhost:8080# Navigate to MCP example directory
cd 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:8080Interactive API documentation is available once the system is running: ๐ Swagger UI: http://localhost:8081/swagger/index.html
๐ฏ ้ๆฉๅปบ่ฎฎ๏ผ
๐ ็ธๅ ณๅทฅๅ ท๏ผ
We welcome contributions from the community! Here's how you can help make MCP RAPI even better: Found a bug? Please create an issue with:
Have a great idea? We'd love to hear it! Please include:
This project is licensed under the MIT License - see the LICENSE file for details. Special thanks to these amazing projects that make MCP RAPI possible:
Made with โค๏ธ by the MCP RAPI Community โญ Star us on GitHub โข ๐ Report Bug โข ๐ก Request Feature โข ๐ฌ Join Discussion ๐ Ready to revolutionize your API permission management? Get started now! |