For Perses MCP Server

MCP Server for Perses

Local serverstdio

What is the For Perses MCP server?

MCP Server for Perses. That is what the for perses mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

The Perses MCP Server is a local Model Context Protocol (MCP) Server that enables the LLM hosts (OpenCode, Claude Desktop, VS Code, Cursor) to interact with the Perses Application in a standardized way.

The tools it exposes

The server publishes 9 tools. What each one is for:

  • Flag — Default
  • OpenCode — The OpenCode tool exposed by this server
  • Prerequisites — The Prerequisites tool exposed by this server
  • Projects — The Projects tool exposed by this server
  • Dashboards — For dashboard configuration, see Perses Dashboards
  • Datasources — The Datasources tool exposed by this server
  • Roles — The Roles tool exposed by this server
  • Plugins — The Plugins tool exposed by this server
  • Variables — The Variables tool exposed by this server

Getting it running

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

What it needs from you

Configuration is passed through the environment: PERMCP_PERSES_SERVER_NATIVE_AUTH_LOGIN, PERMCP_PERSES_SERVER_NATIVE_AUTH_PASSWORD, YOUR_TOKEN, PERMCP_PERSES_SERVER_URL, PERSES_SERVER_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • A running Perses instance - The MCP server binary — download from the releases page, extract it, and make it executable:

How it compares

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. For Perses's toolset — Flag, OpenCode, Prerequisites and 6 more — is a fair guide to whether it matches your workflow. It is maintained by perses; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch For Perses.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
FlagDefault
OpenCodeThe OpenCode tool exposed by this server.
PrerequisitesThe Prerequisites tool exposed by this server.
ProjectsThe Projects tool exposed by this server.
DashboardsFor dashboard configuration, see [Perses Dashboards](https://github.com/perses/perses/blob/main/docs/api/dashboard.md)
DatasourcesThe Datasources tool exposed by this server.
RolesThe Roles tool exposed by this server.
PluginsThe Plugins tool exposed by this server.
VariablesThe Variables tool exposed by this server.

How to install the For Perses MCP server

{
  "mcpServers": {
    "perses-mcp": {
      "command": "<ABSOLUTE_PATH_TO_PERSES_MCP_BINARY>",
      "args": [
        "--config",
        "<ABSOLUTE_PATH_TO_CONFIG_YAML>"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • A running Perses instance - The MCP server binary — download from the releases page, extract it, and make it executable:
VariableDescriptionRequired
PERMCP_PERSES_SERVER_NATIVE_AUTH_LOGINConfiguration value read at startup.Optional
PERMCP_PERSES_SERVER_NATIVE_AUTH_PASSWORDConfiguration value read at startup.Optional
YOUR_TOKENCredential the server authenticates with.Yes
PERMCP_PERSES_SERVER_URLEndpoint or connection string the server talks to.Yes
PERSES_SERVER_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use For Perses to Flag.
  • Use For Perses to OpenCode.
  • Use For Perses to Prerequisites.

Frequently asked questions

It provides a set of MCP tools that allow LLM hosts to perform operations on a Perses server, such as listing projects, creating dashboards, and managing datasources.