Skip to main content
Glama
MuhammadQassem

AVEVA PI System MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HTTP_BINDNoHTTP transport bind address. Does not wildcard-bind by default.
MCP_READ_ONLYNoWhen true (default), the server runs read-only and refuses write tools. Set to false to allow writes.
MCP_TRANSPORTNoTransport to use for the MCP server. Use stdio for local clients (default stdio).
PIWEBAPI_BASE_URLYesThe web address of your PI Web API service (e.g. https://pi-server.company.com/piwebapi).
MCP_EDGE_AUTH_MODENoInbound edge authentication mode required for HTTP transport (bearer token or mTLS).
PIWEBAPI_AUTH_MODEYesTells the server how to log in. Must be either kerberos, basic, bearer, or anonymous.
PIWEBAPI_BASIC_USERNoUsername for basic authentication (e.g. company_domain\service-username).
PIWEBAPI_TLS_VERIFYNoNon-production debugging escape hatch. Set to false to disable TLS verification. Rejected when NODE_ENV=production, over HTTP transport, or when combined with certificate pinning.
MCP_EDGE_WRITE_ROLESNoCaller role required for write-capable tools over HTTP transport.
PIWEBAPI_TLS_CA_FILENoPath to a PEM CA file for private/internal certificate authorities. The server trusts the union of this file and the system's public roots.
PIWEBAPI_KERBEROS_SPNNoKerberos Service Principal Name for the PI Web API server (e.g. HTTP/pi-web-api-server.company.com).
PIWEBAPI_BEARER_ISSUERNoOIDC issuer URL for bearer token authentication.
MCP_BUILD_TOOLS_ALLOWEDNoPlaceholder for MCP_BUILD_ALLOWED_DATABASES (see that property).
MCP_BUILD_TOOLS_ENABLEDNoSet to true to enable AF build tools (pi.*). Off by default. Requires MCP_READ_ONLY=false and MCP_BUILD_ALLOWED_DATABASES.
MCP_WRITE_TOOLS_ENABLEDNoSet to true to allow write-capable tools. Requires MCP_READ_ONLY=false. Default false.
PIWEBAPI_BASIC_PASSWORDNoPassword for basic authentication.
MCP_MODIFY_TOOLS_ENABLEDNoSet to true to enable AF modify tools. Off by default. Requires build tools and MCP_READ_ONLY=false.
PIWEBAPI_ALLOW_ANONYMOUSNoSet to true to allow anonymous access (no authentication).
PIWEBAPI_BEARER_AUDIENCENoOIDC audience for bearer token authentication.
PIWEBAPI_BEARER_CLIENT_IDNoOIDC client ID for bearer token authentication.
PIWEBAPI_SEND_CSRF_HEADERNoSet to false to disable sending the X-Requested-With CSRF header on write requests (default true).
MCP_BUILD_ALLOWED_DATABASESNoSemicolon-separated list of AF databases allowed for build/modify tools, or a whole AF server with \\Server\*.
PIWEBAPI_BEARER_CLIENT_SECRETNoOIDC client secret for bearer token authentication.
PIWEBAPI_BASIC_ALLOW_ANONYMOUSNoPlaceholder for anonymous access flag (see PIWEBAPI_ALLOW_ANONYMOUS).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources