Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TESLA_CLIENT_IDYesClient ID for your Tesla developer application.
MCP_BEARER_TOKENYesBearer token required for MCP clients to authenticate to /mcp. If unset, every /mcp request is refused.
TESLA_VEHICLE_IDNoOptional Tesla vehicle ID to target.
NIGHTLY_LOCK_TIMENoLocal time for the nightly automatic lock.22:00
TESLA_CLIENT_SECRETYesClient secret for your Tesla developer application.
TESLA_FLEET_BASE_URLNoFleet API base URL for your region. Change this if your Tesla account is outside North America.North America Fleet API host
TESLA_PUBLIC_KEY_PEMYesPEM contents of the P-256 public command key, served at the Tesla well-known public-key endpoint.
TOKEN_ENCRYPTION_KEYYesAES-256-GCM key used to encrypt Tesla tokens at rest in a Durable Object.
NIGHTLY_LOCK_TIMEZONENoTimezone for the nightly automatic lock.America/New_York
DANGEROUS_COMMANDS_ENABLEDNoGate for dangerous commands. Defaults to "false"; must be explicitly enabled before any dangerous tool could be registered.false
TESLA_BOOTSTRAP_REFRESH_TOKENYesTesla OAuth refresh token used to seed the encrypted token store.
TESLA_COMMAND_PRIVATE_KEY_PKCS8_B64YesBase64-encoded PKCS#8 DER private key used to sign Tesla Vehicle Command Protocol messages.

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