npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@xen-orchestra/mcp

v1.2.0

Published

MCP server for Xen Orchestra — allows AI assistants to query and manage XO infrastructure

Downloads

290

Readme

@xen-orchestra/mcp

Package Version License PackagePhobia Node compatibility

MCP server for Xen Orchestra — allows AI assistants to query and manage XO infrastructure

Install

Installation of the npm package:

npm install --global @xen-orchestra/mcp

Usage

MCP (Model Context Protocol) is an open standard that lets AI assistants interact with external tools. This package provides an MCP server that connects AI assistants like Claude to your Xen Orchestra infrastructure, allowing natural language queries about your pools, hosts, and VMs.

Quick Start

Claude Desktop — Add to your config (~/.config/claude-desktop/config.json):

Using a token (recommended):

{
  "mcpServers": {
    "xo": {
      "command": "npx",
      "args": ["@xen-orchestra/mcp"],
      "env": {
        "XO_URL": "https://your-xo-server",
        "XO_TOKEN": "your-token"
      }
    }
  }
}

Using username/password:

{
  "mcpServers": {
    "xo": {
      "command": "npx",
      "args": ["@xen-orchestra/mcp"],
      "env": {
        "XO_URL": "https://your-xo-server",
        "XO_USERNAME": "[email protected]",
        "XO_PASSWORD": "your-password"
      }
    }
  }
}

Claude Code:

# Using a token (recommended)
claude mcp add xo \
  -e XO_URL=https://your-xo-server \
  -e XO_TOKEN=your-token \
  -- npx @xen-orchestra/mcp

# Using username/password
claude mcp add xo \
  -e XO_URL=https://your-xo-server \
  -e [email protected] \
  -e XO_PASSWORD=your-password \
  -- npx @xen-orchestra/mcp

Multiple XO instances

To connect several XO servers at once, add one entry per instance with a different name (e.g., xo-production, xo-staging). Each entry runs its own process with its own credentials.

See the full documentation for configuration examples.

Prerequisites

  • Node.js >= 20
  • Xen Orchestra instance with REST API enabled
  • An AI assistant that supports MCP (Claude Desktop, Claude Code, etc.)

Configuration

Two authentication modes are supported: token (recommended) or username/password.

| Variable | Required | Description | | ------------- | ----------------------- | --------------------------------------------------------- | | XO_URL | Yes | Xen Orchestra server URL (e.g., https://xo.example.com) | | XO_TOKEN | If no username/password | Authentication token | | XO_USERNAME | If no token | XO user with admin privileges | | XO_PASSWORD | If no token | XO password |

To generate a token, go to the XO user page (/user) or run xo-cli create-token. If both XO_TOKEN and XO_USERNAME/XO_PASSWORD are set, token authentication takes priority.

Available Tools

| Tool | Description | | ---------------------------- | ------------------------------------------------------------------------------------- | | check_connection | Test the connection to the Xen Orchestra server | | list_pools | List all pools in Xen Orchestra with their basic information | | get_pool_dashboard | Get aggregated dashboard for a pool including hosts status, top consumers, and alarms | | list_hosts | List all hosts (hypervisors) in Xen Orchestra | | list_vms | List virtual machines in Xen Orchestra with optional filtering | | list_vdis | List virtual disks (VDIs) in Xen Orchestra with optional filtering | | list_srs | List storage repositories (SRs) in Xen Orchestra with optional filtering | | get_sr_details | Get detailed information about a specific storage repository | | get_vm_details | Get detailed information about a specific virtual machine | | list_networks | List all networks in Xen Orchestra with optional filtering | | get_network_details | Get detailed information about a specific network | | get_infrastructure_summary | Get a high-level summary of the entire XO infrastructure (pools, hosts, VMs counts) | | search_documentation | Search and retrieve Xen Orchestra documentation |

Full documentation with tool parameters, examples, and troubleshooting: docs.xen-orchestra.com/mcp

Contributions

Contributions are very welcomed, either on the documentation or on the code.

You may:

  • report any issue you've encountered;
  • fork and create a pull request.

License

AGPL-3.0-or-later © Vates SAS