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.
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 registrationscripts/— setup/start/stop/health_check/uninstall wrappersrequirements.txt— pinned dependencies
Quick start (per-user)
- Make scripts executable
chmod +x scripts/*.sh
- Create a per-user install (targets $HOME/MCPServer by default)
./scripts/setup.sh --target "$HOME/MCPServer"
- 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
- Start the server
"$HOME/MCPServer/bin/start.sh"
- Check health and logs
"$HOME/MCPServer/bin/health_check.sh"
tail -f "$HOME/MCPServer/logs/mcp-server.log"
- 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_HOSTandport=$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
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.