U9 MCP Server
by limo08
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| U9_MCP_HOST | No | Optional host for HTTP/SSE transport. | |
| U9_MCP_PORT | No | Optional port for HTTP/SSE transport. | |
| U9_API_TOKEN | No | Optional directly injected U9C-issued token. If OAuth2 credentials are also configured, static token failure can fall back to OAuth2 login. | |
| MCP_USAGE_LOG | No | Optional tool invocation statistics log path. Default: usage_log.jsonl. | usage_log.jsonl |
| U9_SCHEMA_FILE | No | Optional path to the U9 data dictionary JSON file, used as fallback for table structure exploration when SQL Server is not configured. | |
| U9_API_ENT_CODE | No | Enterprise account set code (entCode). | |
| U9_API_LANGUAGE | No | Optional language. Default: zh-CN. | zh-CN |
| U9_API_ORG_CODE | No | Organization code (orgCode). | |
| U9_API_USERNAME | No | User code (userCode). | |
| U9_MCP_LOG_FILE | No | Optional start.sh runtime log path. Relative paths are based on the project root; absolute paths are supported. | |
| U9_MCP_PID_FILE | No | Optional start.sh PID file path. | |
| U9_API_CLIENT_ID | No | OAuth2 client id. | |
| U9_MCP_TRANSPORT | No | Optional transport mode. Supported values: stdio, sse, streamable-http. | |
| U9_API_ENTITY_MAP | No | Optional JSON mapping from form_id to U9C entity full name. Example: {"PUR_PurchaseOrder":"UFIDA.U9.PM.PO.PurchaseOrder"} | |
| U9_API_LOGIN_DATE | No | Optional login context date. | |
| U9_API_LOGIN_TYPE | No | Optional OAuth2 login type. Default: 1. | 1 |
| U9_API_SERVER_URL | No | U9C server root URL (do not include /webapi). Example: https://u9.example.com:8080 | |
| U9_MCP_STATE_FILE | No | Optional start.sh runtime state file path. | |
| MCP_SQLSERVER_HOST | No | Optional SQL Server host for database exploration tools. | |
| MCP_SQLSERVER_PORT | No | Optional SQL Server port. Default: 1433. | 1433 |
| MCP_SQLSERVER_USER | No | SQL Server user. A read-only account is recommended. | |
| U9_API_CLIENT_SECRET | No | OAuth2 client secret. | |
| U9_ATTACHMENT_TIMEOUT | No | Optional attachment transfer read/write timeout in seconds. Default: 120. | 120 |
| MCP_SQLSERVER_DATABASE | No | SQL Server database name. | |
| MCP_SQLSERVER_PASSWORD | No | SQL 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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues