Token导航 LogoToken导航

MCP Server · 数据服务

VPS Docker MCP Server

一个容器化的VPS管理系统,集成Ollama、SQLite和MongoDB,提供基于phi3:mini模型的GPU加速聊天机器人接口。

stdio官方级别未说明来源级核验工具 0
聊天机器人Python容器化数据库集成

快速开始

作者 / 组织
WeirdSecurity
提供方
WeirdSecurity
运行时
Docker

工具数量

0

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

0

仓库热度

收录来源

1 个

MCP World

选型结论

VPS Docker MCP Server 属于数据服务类 MCP Server,公开资料标注 0 个工具,通过stdio 本地进程接入,客户端适配情况以官方文档为准,有可以直接复制的安装命令;接入前要先准备 会话凭据。

分类

数据服务

传输方式

stdio

认证方式

会话凭据

部署方式

公开资料未说明

安装与配置

安装命令

docker run --name vps-mongo -p 27017:27017 -d mongo:6.0

客户端配置示例

{
  "mcpServers": {
    "vps-docker-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "--name",
        "vps-mongo",
        "-p",
        "27017:27017",
        "-d",
        "mongo:6.0"
      ]
    }
  }
}

按公开安装命令拼出来的示例,字段名和参数以仓库 README 为准;带 YOUR_API_KEY 这类占位符的位置记得换成自己的值。

上手步骤

  1. 1

    准备运行环境

    stdio 服务在本地起进程,需要先装好 Docker,再按安装命令拉取依赖。

  2. 2

    安装服务

    复制下面的安装命令执行;命令里带占位符的位置换成自己的密钥或路径。

  3. 3

    写入客户端配置

    在客户端的 MCP 配置里填启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4

    验证是否可用

    连接成功后客户端会列出 0 个工具,随便调一个只读工具确认能返回结果。

接入前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

详细介绍

VPS Management System - Docker Setup

This is a containerized VPS management system with Ollama integration, SQLite, and MongoDB. Features a chatbot interface for VPS support using phi3:mini model with GPU acceleration.

Prerequisites

  1. Docker Desktop must be installed and running (Windows/Mac) or Docker Engine (Linux)
  2. Ollama must be installed and running on your host machine
  3. An Ollama model (like llama3) must be pulled

Installation and Setup

1. Install Prerequisites

Install Docker
  • Windows/Mac: Download and install
  • Linux: Install Docker Engine following
Install Ollama
  • Windows: Download from (Windows Preview)
  • Mac: brew install ollama or download from
  • Linux:
  curl -fsSL https://ollama.ai/install.sh | sh

2. Install and Configure Ollama

Start Ollama
ollama serve
Note: Keep this terminal session open while using the application
Pull Required Models
ollama pull phi3:mini
Note: The system is configured to use phi3:mini by default. You can also use other models like llama3, mistral, or any other available Ollama model

3. Clone and Set Up the Application

If you haven't already, clone or copy the project to your local machine and navigate to the project directory:

cd /path/to/your/VPS-Docker/VPS

4. Build and Run the Application

Build and Start All Services
docker-compose up --build -d
Note: The -d flag runs containers in detached mode (background)
Alternative: Run in Foreground (to see logs)
docker-compose up --build

5. Verify the Application is Running

Check if all containers are running:

docker-compose ps

You should see all services running:

  • vps_backend (port 8000)
  • vps_frontend (port 3000)
  • vps_mcp (port 8001)
  • vps_mongo (port 27017)

Application Ports and Services

ServicePortPurposeURL
Frontend3000Web interface for VPS managementhttp://localhost:3000
Backend8000Main API server and Swagger UIhttp://localhost:8000
API Documentationhttp://localhost:8000/docs
MCP Server8001Database operations and LLM integrationhttp://localhost:8001
MCP Health Checkhttp://localhost:8001/health
MongoDB27017Database for chat transcripts and datalocalhost:27017 (internal only)

Features

  • AI-Powered Chatbot: Interactive support chatbot using Ollama phi3:mini model with GPU acceleration
  • Hybrid Database Search: Intelligent query system that searches FAQ, client data, and VPS plans before using LLM
  • Automatic dummy data insertion: VPS plans, clients, invoices, FAQs, and troubleshooting guides are created on startup
  • Complete frontend interface: Web-based interface for managing VPS services with integrated chat
  • Backend API: RESTful API with full CRUD operations
  • Database support: Both SQLite and MongoDB for different use cases
  • VPS instance management: Create, start, stop, and manage VPS instances

Usage

Accessing the Application

  1. Web Interface: Visit http://localhost:3000 to access the VPS management dashboard
  2. Chatbot: Use the integrated chat interface on the main page for VPS support questions
  3. API Documentation: Visit http://localhost:8000/docs for the interactive API documentation
  4. API Endpoint: Make API calls to http://localhost:8000 for backend services

Default Credentials

  • Admin User: Username: admin, Password: secret (for backend API)
  • Sample Clients: Created automatically with dummy data

Example API Tests

# Test backend health
curl http://localhost:8000/health

# Test MCP server health  
curl http://localhost:8001/health

# Test chatbot query
curl -X POST http://localhost:8000/query \
  -H "Content-Type: application/json" \
  -d '{"query": "What VPS plans do you offer?"}'

Configuration

Environment Variables

The application uses these environment variables:

  • OLLAMA_HOST: Set to host.docker.internal:11434 for Windows/Docker Desktop
  • OLLAMA_MODEL: AI model to use (default: phi3:mini)
  • MONGODB_URL: MongoDB connection string (mongodb://mongo:27017/vps_mcp_db)
  • MCP_SERVER_URL: URL for the MCP server (http://mcp_server:8001 internally)

Ollama Model Configuration

To use a different Ollama model:

  1. Pull the model: ollama pull
  2. Update OLLAMA_MODEL in docker-compose.yml
  3. Restart the application: docker-compose down && docker-compose up --build

Current Model: phi3:mini (optimized for speed and GPU acceleration)

Troubleshooting

Common Issues

Ollama Connection Issues
  • Symptom: MCP server logs show Ollama connection errors
  • Solution: Ensure Ollama is running with ollama serve and the correct model is pulled
Docker Connection Issues
  • Symptom: Cannot access services on specified ports
  • Solution:

- Check if Docker Desktop is running - Run docker-compose ps to verify all services are running - Check container logs: docker-compose logs

Frontend Not Loading
  • Symptom: Blank page or resources not loading on port 3000
  • Solution: Verify all containers are running and the frontend service is healthy

Useful Commands

View Container Logs
# View all service logs
docker-compose logs

# View specific service logs
docker-compose logs backend
docker-compose logs mcp_server
docker-compose logs frontend
Stop the Application
docker-compose down
Stop and Remove Containers, Networks, and Volumes
docker-compose down -v
Rebuild and Restart
docker-compose down
docker-compose up --build -d
Access Container Shell
# Access backend container
docker-compose exec backend sh

# Access frontend container
docker-compose exec frontend sh

# Access MongoDB container
docker-compose exec mongo bash

Docker Images and Volumes

Images Created

  • vps-backend: Main application backend service
  • vps-mcp_server: MCP server for database and LLM operations
  • nginx:alpine: Frontend web server
  • mongo:6.0: MongoDB database

Volumes

  • mongo_data: Persistent storage for MongoDB data

Development

Running Without Docker Compose (Alternative)

# Start MongoDB separately
docker run --name vps-mongo -p 27017:27017 -d mongo:6.0

# Build and run the app
docker build -t vps-app .
docker run -p 8000:8000 -p 8001:8001 --network=host -e OLLAMA_HOST=host.docker.internal:11434 vps-app

Development Mode

If you're developing and want to mount local files:

  1. Modify docker-compose.yml to add volume mounts for hot reloading
  2. Use docker-compose up without -d to see logs in real-time

Reference Links

Stopping the Application

When you're done using the application:

  1. Stop the services: docker-compose down
  2. If you started Ollama separately, stop it with Ctrl+C in the terminal where it's running

工具与能力

工具数量

0

资源数量

0

提示词数量

0

能力标签

VPS管理Python本地部署容器化聊天机器人GPU加速数据库集成

数量来自来源目录的标注,具体工具清单以官方文档为准。

典型使用场景

用自然语言查库

不用手写 SQL,直接问数据,让模型组织查询语句。

数据巡检

定期拉指标、做对比,把异常项整理成一段说明。

打通业务数据

把数据库、数仓和接口接进同一个上下文,减少导出再上传。

选择建议

值得选的地方

  • 只提供 0 个工具,职责集中,接入后不容易误操作。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 公开说明写得比较完整,接入前能看清能力边界。

先想清楚的地方

  • stdio 方式要求本地装好 Docker,换机器要重新装一遍。
  • 需要自备会话凭据,没有凭据没法直接试。
  • 第三方目录整理,版本更新和行为细节以官方仓库为准。

更适合

  • 需要在数据服务场景里让模型直接调用外部能力的人。
  • 想先快速试一下、能接受在本地跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 暂时拿不到会话凭据的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
VPS Docker MCP Server

MCP World · 本页

0stdio有1 个2026-05-17
Memory 9d25f64e

MCP World

9未说明未标注1 个2026-05-17
Prisma MCP Server

MCP World

0stdio有3 个2026-05-17
Astr Bot

MCP World

0stdio有1 个2026-05-17
Getzep MCP

MCP World

9stdio有1 个2026-05-17

按同分类和工具数量挑出最接近的几条,字段以各自详情页为准。

常见问题

5 条

VPS Docker MCP Server 怎么安装?

公开资料给出的安装命令是 docker run --name vps-mongo -p 27017:27017 -d mongo:6.0,运行环境为 Docker。装完后按客户端要求写进 MCP 配置,重启客户端生效。

VPS Docker MCP Server 怎么在 Claude Desktop、Cursor 里配置?

它是stdio 本地进程,客户端配置里要写启动命令和参数,运行环境是 Docker;保存后完全退出客户端再打开,配置才会生效。

VPS Docker MCP Server 收费吗?

本站只整理公开资料,不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

VPS Docker MCP Server 需要 API Key 吗?

公开资料标注的认证方式是会话凭据,也就是要先拿到凭据才能连上;凭据只填在自己本地的配置里,不要写进公开仓库。

VPS Docker MCP Server 支持哪些客户端?

公开资料没有标注具体客户端;能配置本地 MCP 命令的客户端都能接,配置方式参照官方文档。

来源信息

继续浏览同类 MCP