OpsHaven

OpsHaven

A local MCP server for inspecting and operating Linux VPS deployments through restricted SSH.

Category
Visit Server

README

OpsHaven

Let AI troubleshoot your Linux VPS without giving it a shell.

OpsHaven is a local MCP server that gives AI clients structured access to approved VPS operations through restricted SSH. You choose the resources, capabilities, keys, and update policy. OpsHaven enforces that boundary locally and again on the server.

What it feels like

You: Why is my website returning 502?

AI through OpsHaven:
- application service is running
- health probe passes on port 3001
- Nginx points to port 3000
- likely cause: reverse-proxy upstream mismatch
- no changes were made

Instead of opening an SSH session, checking several tools manually, and copying logs into a chat, you can ask a question and let the AI inspect only the signals you approved.

Why operators can verify the boundary

OpsHaven does not ask you to trust the project author with your server.

  • You generate and own the SSH, approval, capability, and response-signing keys.
  • A separate read-only dispatcher contains no restart, deployment, rollback, sudo, or Docker control handlers.
  • Operator-signed capability manifests bind the exact operations, resources, limits, policy version, and dispatcher identity.
  • Requests and responses are authenticated, time-bounded, and replay-resistant.
  • The dispatcher accepts logical resource IDs, not arbitrary commands, paths, services, scripts, or flags.
  • Sensitive sources are summarized, bounded, and redacted before they reach the AI client.
  • Future builds declare their capabilities so authority expansion can be detected and blocked.
  • opshaven verify-boundary tests the installed restrictions.
  • opshaven trust-report explains the active boundary and remaining assumptions.

OpsHaven does not claim absolute security. The operator still trusts the VPS kernel, OpenSSH, Node.js, systemd, configured resource mappings, and operator-owned keys.

How it works

AI client
→ local OpsHaven MCP server
→ policy and authenticated request checks
→ restricted SSH account
→ independently validating VPS dispatcher
→ bounded authenticated response
→ audit log

Read operations are available by default. Controlled changes such as restarting a configured service, deploying an exact commit, or rolling back to a recorded release require explicit, short-lived approval.

Supported operations

Inspection

  • Host and deployed commit information
  • systemd service status
  • Docker and Docker Compose status in controlled mode
  • Runtime configuration presence
  • Nginx and firewall summaries
  • Health probes
  • Bounded, redacted logs
  • Monitoring and backup status
  • Restore readiness

Controlled changes

  • Restart a configured service
  • Deploy an exact Git commit
  • Restore the previous activation after failed health verification
  • Roll back to a recorded release

Recommended first run

1. Use a disposable VPS with no valuable data.
2. Install the isolated read-only dispatcher.
3. Register only the resources needed for one diagnosis.
4. Run opshaven verify-boundary.
5. Review opshaven trust-report.
6. Connect your MCP client.
7. Add controlled operations only after reviewing their exact authority.

See the setup guide for installation and the security guide for the trust model. The architecture guide explains the enforcement layers in more detail.

Development

Requirements:

Node.js 22 or newer

Install dependencies and run the full validation suite:

npm ci --ignore-scripts --no-audit --no-fund
npm run release:check
npm run security

Build and start the local stdio MCP server:

npm run build
node dist/src/index.js --config /absolute/path/to/local.config.json

Project links

Setup · Security · Architecture · Contributing · License

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