mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-08 22:20:54 +08:00
- 在 oclaw/ 下重新初始化 Git 仓库 - 补齐子仓库 .gitignore,避免提交本地运行态数据(_local、node_modules、logs 等) - 提交当前工程代码与配置 Made-with: Cursor
38 lines
1 KiB
JSON
38 lines
1 KiB
JSON
{
|
||
"_comment": "供 scripts/seed_mcp_registry.py 写入 SQLite mcp_server_registry。可按需增删;CONTEXT7 等密钥仍放在 src/_local/mcp_local.env。",
|
||
"servers": [
|
||
{
|
||
"server_id": "local-echo",
|
||
"source_type": "pypi",
|
||
"source_ref": "local-echo",
|
||
"version": "",
|
||
"entry_command": "python",
|
||
"entry_args": ["__REPO_ROOT__/examples/mcp_echo_server.py"],
|
||
"env_schema": {},
|
||
"required_permissions": [],
|
||
"risk_level": "low",
|
||
"enabled": true,
|
||
"timeout_s": 30,
|
||
"dry_run": true
|
||
},
|
||
{
|
||
"server_id": "mcp-context7",
|
||
"source_type": "npm",
|
||
"source_ref": "@upstash/context7-mcp",
|
||
"version": "",
|
||
"entry_command": "npx",
|
||
"entry_args": ["-y", "@upstash/context7-mcp"],
|
||
"env_schema": {
|
||
"CONTEXT7_API_KEY": {
|
||
"type": "string",
|
||
"description": "Context7 API key"
|
||
}
|
||
},
|
||
"required_permissions": [],
|
||
"risk_level": "medium",
|
||
"enabled": true,
|
||
"timeout_s": 60,
|
||
"dry_run": false
|
||
}
|
||
]
|
||
}
|