MCP Linux Deployment

MCP Linux Deployment

Enables management of Windows servers from Linux through an MCP server with per-user installation. Provides tools to control Windows systems via API with secure credential management.

Category
Visit Server

README

MCP Linux Deployment

This repository contains an MCP server to manage Windows servers from Linux. It is designed for per-user installs under your home directory and does not write system-wide files.

Minimal runtime layout (after running ./scripts/setup.sh):

  • $HOME/MCPServer/ (per-user target)
    • bin/ (start, stop, health_check, uninstall)
    • config/ (application code and .env)
    • venv/ (Python virtualenv)
    • logs/
    • run/

Essentials (what to keep in the repo):

  • server.py — MCP server entrypoint and tool registration
  • scripts/ — setup/start/stop/health_check/uninstall wrappers
  • requirements.txt — pinned dependencies

Quick start (per-user)

  1. Make scripts executable
chmod +x scripts/*.sh
  1. Create a per-user install (targets $HOME/MCPServer by default)
./scripts/setup.sh --target "$HOME/MCPServer"
  1. Edit configuration and credentials
vi "$HOME/MCPServer/config/.env"
# set MCP_HOST, MCP_PORT, WIN_DASH_API_BASE, MCP_API_TOKEN, WIN_DEFAULT_USER, WIN_DEFAULT_PASS
  1. Start the server
"$HOME/MCPServer/bin/start.sh"
  1. Check health and logs
"$HOME/MCPServer/bin/health_check.sh"
tail -f "$HOME/MCPServer/logs/mcp-server.log"
  1. Stop the server
"$HOME/MCPServer/bin/stop.sh"

Installing dependencies into the repo venv (dev only)

./venv/bin/python -m pip install -r requirements.txt

Troubleshooting highlights

  • Port binding: This server explicitly starts uvicorn with host=$MCP_HOST and port=$MCP_PORT. Default is 0.0.0.0:3000. Check with:
ss -ltnp | grep :${MCP_PORT:-3000}
curl -v http://localhost:${MCP_PORT:-3000}/health
  • Missing packages: If you see ModuleNotFoundError, install requirements into the venv used by your install:
"$HOME/MCPServer/venv/bin/python" -m pip install -r requirements.txt
  • Logs and PIDs: logs are at <install>/logs/mcp-server.log; PID file at <install>/run/mcp-server.pid.

Support

Collect these artifacts if you need help debugging:

tail -n 200 "$HOME/MCPServer/logs/mcp-server.log" > mcp-debug.log
ss -ltnp > ss-output.txt
ps aux | grep server.py > ps-output.txt

This README is compact and contains runtime, install, and key troubleshooting steps to operate the MCP server on Linux.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured