---
title: "MCP reference"
description: "Reference for the Alpacon MCP server, which extends Alpacon's zero-trust infrastructure access to AI assistants like Claude Desktop, Claude Code, and Cursor."
---

> Full documentation index: https://docs.alpacax.com/llms.txt

# MCP reference

## Alpacon MCP server

**Alpacon MCP server: operate your infrastructure from AI assistants, with every action governed and recorded**

### Overview

The Alpacon MCP server lets AI assistants operate your servers over the [Model Context Protocol](https://modelcontextprotocol.io), so tools like Claude Desktop, Claude Code, Cursor, and VS Code can run commands, transfer files, and inspect infrastructure through natural language instead of you switching between chat and terminal. Every action goes through the same identity, RBAC, and audit trail as the web console and CLI, and no SSH keys or VPN credentials are handed to the agent.

An agent connected to the Alpacon MCP server authenticates through the same identity layer as the web console and CLI. It can list and inspect servers, run commands, transfer files, read metrics and events, and manage IAM, certificates, and security policies—scoped by the same RBAC that governs human users.

### What it exposes

The server exposes three kinds of MCP primitives:

- **Tools**, grouped into categories that span everything from server inventory and command execution to IAM, certificates, and audit logs—see the [full list by category](/reference/mcp/tools/)
- **4 prompts** that teach an agent the Alpacon operating discipline—how to scope a Work Session, handle approval gates, and pick the right audit lens for a question
- **Read-only `alpacon://` resources**, each a thin wrapper over a read-only list or get tool, for clients that prefer to browse data as addressable resources instead of calling a tool—see the [full list by domain](/reference/mcp/resources/)

### Governance model

- **Authenticated and audited**: every tool call goes through Alpacon's identity layer—the same RBAC and audit trail as the web console and CLI. There's no separate, weaker credential path for AI agents.
- **Work Session-scoped mutations**: MCP OAuth/browser callers need an active, approved Work Session to create commands or REST file transfers. From December 1, 2026 (00:00 UTC), the same requirement applies to personal API tokens that still have command-execution or file-transfer scopes (see [Token restrictions](/use/settings/api-tokens/#token-restrictions)). The session scopes what the agent can touch and for how long; service tokens retain their endpoint-specific authorization rules.
- **Access levels on every tool**: each tool is annotated Read-only, Additive, Idempotent write, or Destructive, so a client—or a human reviewing a transcript—can tell at a glance whether a call only reads data or changes something. See the [tools](/reference/mcp/tools/) for the full legend.

  
    Install the server, configure your API token, and connect your first AI client
  
  
    Browse every tool by category, with parameters and access levels
  
  
    Workflow guides that teach an agent how to work inside Alpacon safely
  
  
    Read-only `alpacon://` resources for clients that browse data instead of calling tools

Source: https://docs.alpacax.com/reference/mcp/
