mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-04-23 13:37:12 +08:00
feat: add app MCP Inspector
This commit is contained in:
50
apps/inspector/0.16.2/data.yml
Normal file
50
apps/inspector/0.16.2/data.yml
Normal file
@@ -0,0 +1,50 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 6274
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Web UI Port
|
||||
labelZh: Web界面端口
|
||||
label:
|
||||
en: Web UI Port
|
||||
zh: Web界面端口
|
||||
zh-Hant: Web界面埠
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 6277
|
||||
envKey: PANEL_APP_PORT_PROXY
|
||||
labelEn: Proxy Port
|
||||
labelZh: 代理端口
|
||||
label:
|
||||
en: Proxy Port
|
||||
zh: 代理端口
|
||||
zh-Hant: 代理埠
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
envKey: DANGEROUSLY_OMIT_AUTH
|
||||
labelEn: Disable Authentication
|
||||
labelZh: 禁用身份验证 (默认不选择则不禁用)
|
||||
label:
|
||||
en: Disable Authentication
|
||||
zh: 禁用身份验证 (默认不选择则不禁用)
|
||||
zh-Hant: 禁用身份驗證
|
||||
required: false
|
||||
type: select
|
||||
values:
|
||||
- label: "True"
|
||||
value: "true"
|
||||
- label: "False"
|
||||
value: ""
|
||||
- default: ""
|
||||
envKey: MCP_PROXY_AUTH_TOKEN
|
||||
labelEn: Proxy Auth Token (openssl rand -hex 32)
|
||||
labelZh: 代理认证令牌 (使用命令openssl rand -hex 32生成)
|
||||
label:
|
||||
en: Proxy Auth Token (openssl rand -hex 32)
|
||||
zh: 代理认证令牌 (使用命令openssl rand -hex 32生成)
|
||||
zh-Hant: 代理認證令牌
|
||||
random: false
|
||||
required: false
|
||||
type: text
|
||||
21
apps/inspector/0.16.2/docker-compose.yml
Normal file
21
apps/inspector/0.16.2/docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
services:
|
||||
inspector:
|
||||
image: ghcr.io/modelcontextprotocol/inspector:0.16.2
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:6274
|
||||
- ${PANEL_APP_PORT_PROXY}:6277
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- DANGEROUSLY_OMIT_AUTH=${DANGEROUSLY_OMIT_AUTH}
|
||||
- MCP_PROXY_AUTH_TOKEN=${MCP_PROXY_AUTH_TOKEN:-}
|
||||
- HOST=0.0.0.0
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user