Skip to main content
Glama
U9 MCP Server

U9 MCP Server

by limo08

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
U9_MCP_HOSTNoOptional host for HTTP/SSE transport.
U9_MCP_PORTNoOptional port for HTTP/SSE transport.
U9_API_TOKENNoOptional directly injected U9C-issued token. If OAuth2 credentials are also configured, static token failure can fall back to OAuth2 login.
MCP_USAGE_LOGNoOptional tool invocation statistics log path. Default: usage_log.jsonl.usage_log.jsonl
U9_SCHEMA_FILENoOptional path to the U9 data dictionary JSON file, used as fallback for table structure exploration when SQL Server is not configured.
U9_API_ENT_CODENoEnterprise account set code (entCode).
U9_API_LANGUAGENoOptional language. Default: zh-CN.zh-CN
U9_API_ORG_CODENoOrganization code (orgCode).
U9_API_USERNAMENoUser code (userCode).
U9_MCP_LOG_FILENoOptional start.sh runtime log path. Relative paths are based on the project root; absolute paths are supported.
U9_MCP_PID_FILENoOptional start.sh PID file path.
U9_API_CLIENT_IDNoOAuth2 client id.
U9_MCP_TRANSPORTNoOptional transport mode. Supported values: stdio, sse, streamable-http.
U9_API_ENTITY_MAPNoOptional JSON mapping from form_id to U9C entity full name. Example: {"PUR_PurchaseOrder":"UFIDA.U9.PM.PO.PurchaseOrder"}
U9_API_LOGIN_DATENoOptional login context date.
U9_API_LOGIN_TYPENoOptional OAuth2 login type. Default: 1.1
U9_API_SERVER_URLNoU9C server root URL (do not include /webapi). Example: https://u9.example.com:8080
U9_MCP_STATE_FILENoOptional start.sh runtime state file path.
MCP_SQLSERVER_HOSTNoOptional SQL Server host for database exploration tools.
MCP_SQLSERVER_PORTNoOptional SQL Server port. Default: 1433.1433
MCP_SQLSERVER_USERNoSQL Server user. A read-only account is recommended.
U9_API_CLIENT_SECRETNoOAuth2 client secret.
U9_ATTACHMENT_TIMEOUTNoOptional attachment transfer read/write timeout in seconds. Default: 120.120
MCP_SQLSERVER_DATABASENoSQL Server database name.
MCP_SQLSERVER_PASSWORDNoSQL Server password.

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