mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 05:30:46 +08:00
Gate netx Web/API/WebCRT with JWT and per-user API tokens, bootstrap an admin with forced password change, and expose users/audit/API-key management under a System section. MCP can reuse data/auth/mcp_token without extra env for local labs. Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
269 B
JSON
14 lines
269 B
JSON
{
|
|
"mcpServers": {
|
|
"netx": {
|
|
"command": "python",
|
|
"args": ["-m", "netx_mcp"],
|
|
"env": {
|
|
"NETX_API_URL": "http://127.0.0.1:8890",
|
|
"NETX_LANG": "zh",
|
|
"PYTHONIOENCODING": "utf-8",
|
|
"PYTHONUTF8": "1"
|
|
}
|
|
}
|
|
}
|
|
}
|