MCP.so
登录

Multi-User MCP Server with Chatbot and Agent

@r16academy

关于 Multi-User MCP Server with Chatbot and Agent

Multi user Full Stack App with Chatbot and Agent in Javascript, FastAPI and PyMongo

基本信息

分类

AI 与智能体

许可证

MIT license

传输方式

stdio

发布者

r16academy

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-server-beginner-app": {
      "command": "python",
      "args": [
        "main.py"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Multi-User MCP Server with Chatbot and Agent?

A full-stack web application implementing the Model Context Protocol (MCP) that provides two AI assistant experiences: a conversational Chatbot and a tool-using Agent. It includes user authentication, persistent chat history, real-time WebSocket messaging, and file upload for document analysis. Designed for developers and teams wanting a production-ready, multi-user AI chat platform deployable on Heroku.

How to use Multi-User MCP Server with Chatbot and Agent?

Clone the repository, install Python dependencies with pip install -r requirements.txt, set environment variables (OpenAI key, MongoDB URI, email credentials) in a .env file, optionally install MCP server dependencies with npm install, then run python main.py. The app becomes available at http://localhost:5000/. Use the /register, /login, /chatbot, and /agent endpoints for respective features.

Key features of Multi-User MCP Server with Chatbot and Agent

  • User authentication with registration, login, and password recovery.
  • Dual AI interfaces: Chatbot for Q&A, Agent for tool usage.
  • Real-time WebSocket-based chat messaging.
  • Persistent, user-specific conversation history.
  • File upload for document analysis during chat.
  • Responsive, mobile-friendly HTML/CSS/JS frontend.

Use cases of Multi-User MCP Server with Chatbot and Agent

  • Deploy a multi-user AI chat platform with account management.
  • Provide a chatbot for general Q&A and an agent for tool-driven tasks.
  • Enable document analysis through file uploads in conversations.
  • Host a production-ready MCP server integration on Heroku.

FAQ from Multi-User MCP Server with Chatbot and Agent

What platforms does it integrate with?

It integrates with OpenAI API or compatible LLM providers via the Agent and Chatbot interfaces, and uses MongoDB for data storage.

What are the runtime requirements?

Python 3.10+, MongoDB (local or Atlas), and optionally Node.js for MCP server dependencies. Heroku deployment requires the Heroku CLI.

How is data stored and persisted?

Conversation history is stored per user in MongoDB, with authentication tokens secured via cookies/localStorage and passwords hashed before storage.

Does it support real-time communication?

Yes, it uses WebSocket-based instant messaging for real-time chat.

What transports and authentication are available?

The server uses HTTP for REST endpoints and WebSocket for real-time chat. Authentication is handled via registration and login with email verification, and tokens stored securely in cookies/localStorage.

评论

AI 与智能体 分类下的更多 MCP 服务器