Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GW2MCP_DBNoPath to the SQLite database.$STATE_DIRECTORY or $XDG_DATA_HOME/gw2mcp/gw2mcp.sqlite3
GW2MCP_HOSTNoHTTP bind address.127.0.0.1
GW2MCP_LANGNoLanguage: en, de, es, fr, or zh.en
GW2MCP_PORTNoHTTP bind port.8000
GW2_API_KEYNoGW2 API key. Without it, only public data is available and no snapshots are taken. Can alternatively be provided via GW2_API_KEY_FILE or systemd credentials.
GW2MCP_HTTP_PATHNoMCP endpoint path for HTTP transport./mcp
GW2MCP_LOG_LEVELNoLog level.INFO
GW2MCP_TRANSPORTNoTransport mode: stdio or http.stdio
GW2_API_KEY_FILENoPath to a file containing the GW2 API key. Alternative to GW2_API_KEY.
GW2MCP_AUTH_TOKENNoRequire Authorization: Bearer <token> for HTTP. Mandatory when binding to a non-loopback address. Can alternatively be provided via GW2MCP_AUTH_TOKEN_FILE or systemd credentials.
GW2MCP_ALLOWED_HOSTSNoExtra accepted Host headers, comma separated. Needed behind a reverse proxy.
GW2MCP_SCHEMA_VERSIONNoX-Schema-Version sent to the GW2 API.latest
GW2MCP_SNAPSHOT_VALUENoWhether to record the trading post value of all items with each snapshot.true
GW2MCP_ALLOWED_ORIGINSNoExtra accepted Origin headers.
GW2MCP_AUTH_TOKEN_FILENoPath to a file containing the HTTP bearer auth token. Alternative to GW2MCP_AUTH_TOKEN.
GW2MCP_CATALOG_TTL_DAYSNoCache lifetime in days for public game data.7
GW2MCP_SNAPSHOT_INTERVALNoSeconds between snapshots. Set to 0 to disable snapshots.3600

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