SpinupWP MCP Server

SpinupWP MCP Server

Enables AI assistants to manage SpinupWP infrastructure, including servers, WordPress sites, and SSH keys through the SpinupWP v1 JSON API. Users can perform actions like provisioning sites, purging caches, and restarting services via natural language commands.

Category
Visit Server

README

SpinupWP MCP Server

A Model Context Protocol (MCP) server integration for the SpinupWP v1 JSON API. This allows AI assistants (like Claude, Cursor, and custom agents) to seamlessly observe and control your SpinupWP infrastructure.

Features

This server currently exposes the following tools:

  • list_servers: List all SpinupWP servers and their hardware/update status.
  • get_server: Retrieve detailed information for a specific server.
  • reboot_server: Reboot a specific SpinupWP server.
  • restart_service: Restart a specific service (nginx, php, mysql, redis) on a server.
  • list_sites: List all WordPress sites hosted on a specific server.
  • get_site: Retrieve detailed information for a specific WordPress site.
  • purge_site_cache: Purge the page cache for a specific WordPress site.
  • run_site_git_deployment: Trigger a Git deployment for a specific site.
  • correct_site_file_permissions: Correct the file permissions for a site.
  • list_events: List recent SpinupWP events (async background tasks).
  • get_event: Get the specific details and status of a single event ID.
  • list_ssh_keys: List the SSH keys configured in the SpinupWP account.
  • add_ssh_key: Add a new SSH public key for server access.
  • create_site: Provision a brand new WordPress site on a server.
  • delete_site: Delete an existing site.
  • create_server: Provision a brand new custom server.
  • delete_server: Delete a server entirely.

Prerequisites

  1. Node.js (v18 or newer recommended).
  2. A SpinupWP API Token. You can generate this from the "API Tokens" tab in your SpinupWP account settings.

Installation

  1. Clone this repository:

    git clone https://github.com/farukgaric/spinupwp-mcp.git
    cd spinupwp-mcp
    
  2. Install dependencies:

    npm install
    
  3. Build the TypeScript files:

    npm run build
    
  4. Configure your environment: Copy .env.example to .env and insert your SpinupWP API token.

    cp .env.example .env
    

    Edit .env:

    SPINUPWP_API_TOKEN=your_actual_token_here
    

Usage

This server is designed to be consumed by an MCP client over standard I/O (stdio).

Example: Claude Desktop Configuration

Update your claude_desktop_config.json (on macOS, usually located at ~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "spinupwp-local": {
      "command": "node",
      "args": [
        "/absolute/path/to/spinupwp-mcp/build/index.js"
      ]
    }
  }
}

(Ensure you use the absolute path to your cloned repository.)

Development

  • Start the server manually (ensure your .env is loaded):
    npm start
    
  • To make changes to the tools, edit src/index.ts and rebuild using npm run build.

Author

Faruk Garic (https://farukgaric.com)

License

This project is licensed under the MIT 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