Skip to main content
Glama
jonasley

Lexware Office MCP Server

by jonasley

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoInterface to bind (set to 0.0.0.0 in containers).127.0.0.1
PORTNoPort to listen on.8080
SERVER_URLNoThis server's public URL, used for upload links and as token audience. Alias for OAUTH_RESOURCE.
OAUTH_ISSUERNoOAuth authorization-server issuer URL. Setting it enables OAuth mode.
MCP_AUTH_TOKENNoStatic bearer token clients send to reach /mcp. Used when OAuth is not enabled.
OAUTH_AUDIENCENoComma-separated additional accepted aud values (e.g. for Microsoft Entra client ID).
OAUTH_JWKS_URLNoOverride the JWKS endpoint (default derived from issuer).
OAUTH_RESOURCENoThis server's public URL, used as the token audience / Resource Indicator. Required in OAuth mode (same as SERVER_URL).
LEXWARE_API_KEYYesYour Lexware API key (required). Create one at https://app.lexware.de/addons/public-api
LEXWARE_READ_ONLYNoRegister only read tools (hard override).false
OAUTH_USERINFO_URLNoOverride the OIDC userinfo endpoint (default derived from issuer).
LEXWARE_API_BASE_URLNoBase URL for the Lexware API.https://api.lexware.io
LEXWARE_APP_BASE_URLNoBase URL for Lexware web app document deeplinks.https://app.lexware.de
OAUTH_TOKEN_ENDPOINTNoOverride the token endpoint (default derived from issuer).
LEXWARE_DEBUG_LOGGINGNoEnable verbose logging (never logs secrets/bodies).false
LEXWARE_ENABLE_DRAFTSNoEnable create-draft tools.true
OAUTH_VERIFY_AUDIENCENoVerify the token aud matches OAUTH_RESOURCE. Keep true unless using a dedicated single-audience issuer.true
OAUTH_SCOPES_SUPPORTEDNoScopes advertised as scopes_supported. Separate with commas or spaces.
LEXWARE_ENABLE_FINALIZENoEnable finalize / legally-binding tools (also enables drafts).false
LEXWARE_ENABLE_URL_UPLOADNoEnable the upload-file-from-url tool (requires drafts tier).false
LEXWARE_REQUEST_STATE_KEYNoHMAC key (≥32 bytes) for confirmation round-trip state. Set when multiple instances serve the same client.
MCP_ALLOW_UNAUTHENTICATEDNoOpt out of authentication entirely (trusted local use only).false
OAUTH_ALLOWED_EMAIL_DOMAINSNoComma-separated allow-list of email domains (e.g. example.com)
OAUTH_REGISTRATION_ENDPOINTNoOverride the registration endpoint. Set to 'none' if your issuer does not support Dynamic Client Registration.
LEXWARE_FINALIZE_ELICITATIONNoHuman confirmation before finalized documents: 'off', 'when-supported', or 'required'.off
LEXWARE_UPLOAD_ALLOWED_HOSTSNoComma-separated hosts allowed for server-side URL uploads. Empty blocks all; defaults to Microsoft file-sharing hosts.
OAUTH_AUTHORIZATION_ENDPOINTNoOverride the authorization endpoint (default derived from issuer).

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