MCPStudio is a powerful, user-friendly platform designed to create, test, manage, and discover Model Context Protocol (MCP) servers. Similar to how Postman revolutionized API development and testing, MCPStudio provides an intuitive visual interface for interacting with MCP servers, abstracting away the underlying technical complexities of the protocol.
The Model Context Protocol is a standard that enables AI systems (like large language models) to seamlessly connect with external tools, data sources, and services. MCPStudio makes this integration process accessible to both technical and non-technical users through a visual, user-friendly interface.
MCPStudio follows a clean domain-driven design with:
- Organized in layers: API, Application, Domain, and Infrastructure
- Uses dependency injection (via the
container.py
file) - Implements MCP protocol services that can connect to various external tools
- Has MongoDB integration for persistence
- Provides RESTful APIs for server and tool management
- Modern UI with components for servers, tools, and configurations
- Interactive tool testing interface
- Server deployment and management
- Dashboard for monitoring server status
- Create and configure MCP servers through an intuitive UI
- Monitor server status and health in real-time (deployed, deploying, failed)
- Organize servers with tags and collections
- View server details and configurations
- RESTful API endpoints for server CRUD operations
- Visually browse tools exposed by MCP servers
- Test tools with a parameter-driven interface
- View formatted responses with syntax highlighting
- Save tool executions for future reference
- OAuth flow support for service integrations
- Secure credential storage
- Automatic token refresh handling
- JWT-based authentication for the platform itself
- Connect to Google Drive via OAuth
- List and browse files
- Search for content
- Retrieve file content
- Create folders
- Share servers and tools with team members
- Collaborate on tool testing
- View execution history
- ✅ MongoDB repository implementations for servers and tools
- ✅ Event Bus for real-time updates via WebSockets
- ✅ JWT authentication system with OAuth integration
- ✅ Google Drive integration with OAuth flow
- ✅ Unit tests for core functionality
- ✅ RESTful API endpoints for server management
- ✅ Server controller with CRUD operations
- React frontend with modern toolchain
- Server connection management panel
- Tool discovery and browsing interface
- Parameter input forms for tool execution
- Response visualization components
- Authentication UI with OAuth flow integration
- API clients in the frontend
- WebSocket connections for real-time updates
- Consistent error handling
- GitHub as second integration
- Template system for new integrations
- Users can create and configure MCP servers through the UI
- MCPStudio connects to these servers using the MCP protocol
- It discovers available tools and presents them in a user-friendly interface
- Users can test tools with different parameters and view responses
- Servers can be deployed and their status monitored
- Language: Python 3.10+
- Framework: FastAPI
- Database: MongoDB
- Package Management: UV (ultra-fast Python package manager)
- Authentication: JWT + OAuth2
- Real-time Communication: WebSockets
- Framework: React
- State Management: Redux
- UI Components: Tailwind CSS
- API Communication: Axios
MCPstudio/
├── backend/ # Backend application
│ └── mcp_studio_backend/ # Python package
│ ├── src/ # Source code
│ │ └── mcp_studio/ # Main module
│ └── tests/ # Test suite
└── frontend/ # Frontend application
└── ai-server-forge/ # React application
├── src/ # Source code
│ ├── components/ # React components
│ ├── hooks/ # Custom React hooks
│ ├── lib/ # Utility functions
│ ├── pages/ # Page components
│ └── types/ # TypeScript type definitions
└── public/ # Static assets
- Python 3.10+
- Node.js 16+
- MongoDB
- UV package manager (optional, but recommended)
-
Clone the repository
git clone https://github.com/lonexreb/mcpstudio.git cd mcpstudio
-
Set up the backend
cd backend/mcp_studio_backend python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install uv uv pip install -e .
-
Set up the frontend
cd ../../frontend/ai-server-forge npm install
-
Start the development servers
Backend:
cd ../../backend/mcp_studio_backend uvicorn mcp_studio.main:app --reload
Frontend:
cd ../../frontend/ai-server-forge npm run dev
-
Open your browser and navigate to http://localhost:3000
POST /api/servers
- Create a new serverGET /api/servers
- List all serversGET /api/servers/{server_id}
- Get server detailsPUT /api/servers/{server_id}
- Update serverDELETE /api/servers/{server_id}
- Delete serverPOST /api/servers/{server_id}/connect
- Connect to serverPOST /api/servers/{server_id}/disconnect
- Disconnect from server
GET /api/servers/{server_id}/tools
- List tools for a serverGET /api/tools/{tool_id}
- Get tool detailsPOST /api/servers/{server_id}/tools/{tool_id}/execute
- Execute a tool
POST /api/auth/token
- Get JWT access tokenGET /api/auth/google/auth
- Get Google OAuth URLGET /api/auth/google/callback
- Process Google OAuth callbackGET /api/auth/me
- Get current user information
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.