Add MCP server upload and editor

This commit is contained in:
Codex
2026-04-28 19:28:13 +00:00
parent 2f3fe777d7
commit 0ef3a49c3b
2 changed files with 162 additions and 18 deletions
+5
View File
@@ -87,6 +87,11 @@ assert.match(registryRouteSource, /normalizeRegistryEntry/, 'MCP registry search
assert.match(registryRouteSource, /packageInstall/, 'MCP registry search should support package-backed stdio installs')
assert.match(registryRouteSource, /remoteInstall/, 'MCP registry search should support remote HTTP installs')
assert.match(panelSource, /Install Custom Server/, 'MCP page must expose a custom server install action')
assert.match(panelSource, /Upload Server/, 'MCP custom server accordion must support uploaded server JSON')
assert.match(panelSource, /serverPayloadFromJson/, 'MCP page must parse uploaded and edited server JSON')
assert.match(panelSource, /mcpServers/, 'MCP page upload must support common MCP client 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')
assert.match(panelSource, /Registry Search/, 'MCP page must expose official registry search')
assert.match(panelSource, /\/api\/mcp\/registry/, 'MCP page must query the registry search API')
assert.match(panelSource, /const REGISTRY_PAGE_SIZE = 4/, 'MCP registry search should page results four at a time')