Skip to content

megaease/megacloud-mcp-client

Repository files navigation

Megacloud MCP Client

A modern frontend application for AI chat interactions and Model Context Protocol (MCP) server management.

查看中文版

✨ Features

  • AI Chat Interface: Engage in fluid, interactive conversations with AI models, including DeepSeek and others.
  • Chat History: Automatically save and easily browse past conversations for seamless continuity.
  • MCP Server Management:
    • Add and configure SSE or STDIO type MCP servers
    • Monitor server status in real-time (online, offline, error, connecting)
    • Start/stop server operations
    • Customize server configurations (URL, commands, environment variables, headers)
    • Edit or delete existing servers
  • Responsive Design: Adapts to different devices and screen sizes for a consistent user experience.

🚀 Tech Stack

🛠️ Local Development

  1. Clone the repository:

    git clone <your-repository-url>
    cd megacloud-mcp-client
  2. Install dependencies:

    pnpm install
  3. Start local PostgreSQL database:

    Use the provided script to start a Docker container (if Docker is installed):

    ./start-database.sh

    Or configure a local PostgreSQL instance manually.

  4. Set up environment variables:

    Copy .env.example to .env and fill in the necessary environment variables:

    cp .env.example .env

    Then edit the .env file to configure:

    • Database connection string (DATABASE_URL)
    • AI model API keys
  5. Database migration:

    pnpm db:push
  6. Start development server:

    pnpm dev

    Open http://localhost:3000 in your browser.

  7. Other useful commands:

    • Type checking: pnpm typecheck
    • Code linting: pnpm check
    • Code auto-fixing: pnpm check:write
    • Database management UI: pnpm db:studio

📦 Deployment

Multiple deployment options are supported:

📝 Development Notes

This project uses the T3 Stack ecosystem and follows modern React and Next.js best practices. When developing, ensure that:

  1. Database operations are only performed in server components
  2. TanStack Query is used for client-side data management
  3. Environment variables follow the correct pattern (refer to src/env.js)
  4. Type-safe development practices are followed

🤝 Contributing

Contributions, issues, and feature requests are welcome. Please ensure you follow the project's code style and commit message conventions.


About

A modern frontend application for AI chat interactions and Model Context Protocol (MCP) server management.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages