jms-mcp
by abchw517
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | 独立生成的 MCP 入站密钥,仅填密钥本身,客户端通过 Authorization: Bearer <api_key> 认证。 | |
| api_token | Yes | JumpServer 访问 Token。Bearer 令牌写成 Bearer <token> 或裸 token(默认添加 Bearer 前缀);私有 Token 写成 Token <token> 或裸 token 并设置 auth_scheme=Token。 | |
| ca_bundle | No | 自定义 CA 证书文件路径,用于内网 CA;需挂载 CA 文件。 | |
| max_tools | No | 注册工具数量上限;超过上限时服务启动失败并提示收窄白名单。 | 100 |
| read_only | No | 是否只允许 GET 操作。启用写操作需要同时配置 read_only=false 和精确 operationId 白名单。 | true |
| trust_env | No | 是否继承环境 HTTP 代理设置。 | false |
| jms_org_id | No | 为文档请求与业务请求统一发送 X-JMS-ORG 组织头;不允许工具参数覆盖上游认证。 | |
| tls_verify | No | 是否校验上游 TLS 证书;默认校验,仅在临时排障时设为 false。 | true |
| auth_scheme | No | api_token 的认证方案前缀;使用裸私有 Token 时设置为 Token。 | Bearer |
| server_host | No | MCP 服务监听地址。 | 0.0.0.0 |
| server_port | No | MCP 服务监听端口。 | 8099 |
| allowed_hosts | No | MCP 入站 Host 白名单(非 JumpServer 地址)。通过域名/IP 访问时设置,例如 allowed_hosts=mcp.example.com:*,127.0.0.1:*,localhost:*。 | localhost |
| include_paths | No | 路径过滤 glob,针对合并后的完整 API 路径;Swagger basePath 含部署前缀时需相应调整,例如 /jms/api/v1/assets/*。 | /api/v1/assets/* |
| jumpserver_url | Yes | JumpServer 主机根地址,不能附加 /api/v1;部署在子路径时可填 https://example.com/jms。 | |
| allowed_origins | No | MCP 入站 Origin 白名单;需要浏览器来源时显式配置,不提供通配 CORS。 | |
| include_operations | No | 精确 operationId 白名单,逗号分隔;使用文档中的原始 operationId,不支持正则或通配符。 |
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