CLI Reference
Core commands:
berth search <query>
berth info <server>
berth list
berth install <server[@version]>
berth import-github <owner/repo>
berth uninstall <server>
berth update <server|--all>
berth publish [manifest]
berth config <server>
berth config <server> --interactive
berth config <server> --set key=value --secure
berth config export [file]
berth config import <file>
Install runtimes supported by metadata:
- Node (
npx) - Python (
uvx) - Binary artifacts (local path or URL)
Runtime commands:
berth start [server]
berth stop [server]
berth restart <server>
berth status [--health-check]
berth logs <server>
berth proxy <server>
Security commands:
berth permissions <server>
berth policy [server]
berth audit [server]
berth analytics [server]
Registry API command:
berth registry-api [--bind 127.0.0.1:8787] [--max-requests N]
Registry API endpoints:
GET /healthGET /serverswith optionalq|query,category,platform,trustLevel,offset,limit,sortBy,orderGET /servers/suggestwith optionalq|query,limit,categoryGET /servers/facetswith optionalq|query,category,platform,trustLevelGET /servers/filtersGET /servers/trendingwith optionallimit,offset,category,platform,trustLevelGET /statswith optionaltopGET /servers/<name>GET /servers/<name>/relatedwith optionallimit,offsetGET /servers/<name>/downloadsGET /servers/<name>/communityGET /servers/<name>/reportswith optionallimit,offsetGET /reports/filtersGET /reportswith optionalserver,reason,offset, andlimitGET /analyticswith optionalserver,since, andtopGET /publish/submissionswith optionalstatus,server,offset, andlimitGET /publish/submissions/filtersGET /publish/submissions/<id>POST /publish/submissions/<id>/statuswith JSON bodystatusand optionalnoteGET /publish/review-eventswith optionalstatus,server,submission,offset, andlimitGET /publish/review-events/filtersGET /publisherswith optionalmaintainer,verified,offset, andlimitGET /publishers/filtersGET /publishers/<maintainer>POST /servers/<name>/starPOST /servers/<name>/reportGET /publishers/verifiedPOST /publishers/verifyPOST /publishers/unverifyGET /site(HTML registry catalog with filters, sorting, and pagination query params)GET /site/reports(HTML moderation feed withserver,reason,limit,offset)GET /site/submissions(HTML publish review queue withstatus,server,limit,offset)GET /site/review-events(HTML publish review event feed withstatus,server,submission,limit,offset)GET /site/publishers(HTML publisher verification dashboard withmaintainer,verified,limit,offset)GET /site/publishers/<maintainer>(HTML publisher detail page with maintainer signals and server list)GET /site/analytics(HTML usage analytics dashboard withserver,since, andtop)GET /site/submissions/<id>(HTML submission detail with manifest and quality checks)GET /site/servers/<name>(HTML server detail page with install copy button and star/report controls)OPTIONS <endpoint>for browser preflight (CORS)
GET /servers and GET /servers/<name> responses include:
maintainerVerified+badgesqualityScorereadmeUrlpermissionsSummaryinstallCommandCopy
Client integration:
berth link <client> [--watch]
berth unlink <client>
Supported clients:
claude-desktopcursorwindsurfcontinuevscode
For complete argument details, use:
berth --help
berth <command> --help
Registry source overrides (advanced):
BERTH_REGISTRY_INDEX_URL(remote JSON index)BERTH_REGISTRY_INDEX_FILE(local JSON index file)BERTH_REGISTRY_CACHE(cache file path)