Support Python module MCP uploads
This commit is contained in:
@@ -99,6 +99,10 @@ assert.match(uploadRouteSource, /requirements\.txt/, 'MCP upload API must instal
|
||||
assert.match(uploadRouteSource, /pyproject\.toml/, 'MCP upload API must install Python projects when present')
|
||||
assert.match(uploadRouteSource, /package\.json/, 'MCP upload API must install Node dependencies when present')
|
||||
assert.match(uploadRouteSource, /\.venv/, 'MCP upload API must isolate Python uploads in a per-server virtualenv')
|
||||
assert.match(uploadRouteSource, /entryMode/, 'MCP upload API must support non-file launch modes')
|
||||
assert.match(uploadRouteSource, /python-module/, 'MCP upload API must support Python module launch')
|
||||
assert.match(uploadRouteSource, /console-script/, 'MCP upload API must support installed console script launch')
|
||||
assert.match(uploadRouteSource, /resolveProjectRoot/, 'MCP upload API must find project manifests inside uploaded directories')
|
||||
assert.match(uploadRouteSource, /installMcpServer/, 'MCP upload API must install uploaded server bundles')
|
||||
assert.match(healthRouteSource, /listBrokerServerTools/, 'MCP health API must inspect server tools through the broker client')
|
||||
assert.match(healthRouteSource, /enabledServers/, 'MCP health API must check enabled MCP servers')
|
||||
@@ -114,6 +118,9 @@ assert.match(panelSource, /Choose Archive/, 'MCP custom server upload must accep
|
||||
assert.match(panelSource, /\/api\/mcp\/upload/, 'MCP custom server upload must call the upload API')
|
||||
assert.match(panelSource, /dependencyInstall/, 'MCP custom server upload must surface dependency bootstrap results')
|
||||
assert.match(panelSource, /uploadEntrypoint/, 'MCP custom server upload must collect an entrypoint')
|
||||
assert.match(panelSource, /uploadEntryMode/, 'MCP custom server upload must collect a launch mode')
|
||||
assert.match(panelSource, /Python module/, 'MCP custom server upload must expose Python module launch mode')
|
||||
assert.match(panelSource, /Console script/, 'MCP custom server upload must expose console script launch mode')
|
||||
assert.match(panelSource, /serverPayloadFromJson/, 'MCP page must parse edited server JSON')
|
||||
assert.match(panelSource, /startEditingServer/, 'MCP installed server list must expose edit state')
|
||||
assert.match(panelSource, /Server JSON/, 'MCP installed server editor must render an inline JSON file editor')
|
||||
|
||||
Reference in New Issue
Block a user