remote -with-ui-template
A production-ready template for building remote Model Context Protocol (MCP) servers with OAuth2 authentication, PostgreSQL storage, and a React UI(with MCP UI capability). Perfect for creating custom MCP integrations with enterprise-grade security and user experience.
How to use
The remote -with-ui-template server provides a robust starting point for developers looking to implement a production-ready Model Context Protocol (MCP) server. This template features OAuth2 authentication for secure access, PostgreSQL for reliable data storage, and a React UI that comes with MCP UI capabilities, making it ideal for custom MCP integrations in enterprise environments.
Once connected to the remote -with-ui-template server, you can interact with it by sending HTTP requests that adhere to the MCP specifications. You can perform queries to retrieve model context data or execute commands to manipulate that data, leveraging the built-in OAuth2 security to ensure that your requests are authenticated. This server is designed to work seamlessly with the React UI, allowing you to create smooth user experiences while managing your data effectively.
How to install
To install the remote -with-ui-template, you'll need to have Node.js installed on your system.
Prerequisites
- Node.js (version 14 or higher)
- PostgreSQL database setup
Option A: Quick start with npx
If you prefer a quick start, you can run the following command:
npx -y https://github.com/Donovan-Ye/remote-mcp-server-with-ui-template
Option B: Global install alternative
If you want to install it globally, clone the repository and run the following commands:
git clone https://github.com/Donovan-Ye/remote-mcp-server-with-ui-template
cd remote-mcp-server-with-ui-template
npm install
npm start
Additional notes
When configuring the remote -with-ui-template, ensure you set the required environment variables for OAuth2 and PostgreSQL connection strings. Common variables include DATABASE_URL for your PostgreSQL connection and OAUTH2_CLIENT_ID and OAUTH2_CLIENT_SECRET for authentication. Pay attention to the database schema as it may require manual adjustments based on your specific use case.
Related MCP Servers
iterm
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance
mcp
Octopus Deploy Official MCP Server
furi
CLI & API for MCP management
editor
MCP Server for Phaser Editor
DoorDash
MCP server from JordanDalton/DoorDash-MCP-Server
mcp
MCP сервер для автоматического создания и развертывания приложений в Timeweb Cloud