mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 00:50:46 +08:00
feat(mcp): add netx-mcp package and HTTP stdio MCP
- Extract installable packages/netx-mcp (12 HTTP tools, mcp.json) - Delegate netx_api.mcp to netx_mcp; keep legacy db_server shim - Add docs/MCP.md, install payload, pyproject entry, tests Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
981347b5b1
commit
45ce9d3f7e
23 changed files with 1810 additions and 556 deletions
|
|
@ -1,15 +1,28 @@
|
|||
{
|
||||
"source_type": "local",
|
||||
"source_ref": "netx-local-mcp",
|
||||
"server_id": "netx-local",
|
||||
"version": "0.1.0",
|
||||
"source_ref": "netx-mcp",
|
||||
"server_id": "netx",
|
||||
"version": "0.2.0",
|
||||
"entry_command": "python",
|
||||
"entry_args": [
|
||||
"D:/project/chatgpt/netx/netx_api/mcp_server.py"
|
||||
],
|
||||
"env_schema": {},
|
||||
"entry_args": ["-m", "netx_mcp"],
|
||||
"env_schema": {
|
||||
"NETX_API_URL": {
|
||||
"type": "string",
|
||||
"description": "netx REST API base URL (no trailing slash)",
|
||||
"default": "http://127.0.0.1:8890"
|
||||
},
|
||||
"NETX_API_TOKEN": {
|
||||
"type": "string",
|
||||
"description": "Optional Bearer token when netx API auth is enabled"
|
||||
},
|
||||
"NETX_LANG": {
|
||||
"type": "string",
|
||||
"description": "Response language hint: zh or en",
|
||||
"default": "zh"
|
||||
}
|
||||
},
|
||||
"required_permissions": [],
|
||||
"risk_level": "medium",
|
||||
"enabled": true,
|
||||
"timeout_s": 30
|
||||
"timeout_s": 120
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue