HarborHarbor
DocumentationGuidesPlugins
Authoring

Custom MCP plugin

Bring your own MCP server and discover its tools through Harbor.

Custom MCP setup is a control-plane flow. Use the dashboard or SDK/admin APIs to register the source, then use the real CLI inspect surface to verify readiness and search tools.

Register

Add the custom MCP server from the dashboard or SDK/admin flow with its endpoint, transport, auth mode, and visibility.

Verify

hrbr inspect 'return await hrbr.sources.list()'
hrbr inspect 'return await hrbr.sources.search({ query: "internal wiki" })'
hrbr inspect 'return await hrbr.tools.search({ query: "search internal wiki", limit: 5 })'

Execute

Use the namespace and callable example returned by search:

hrbr exec 'return await internalWiki.searchPages({ q: "incident" })'

If the source is not ready, finish OAuth/credentials setup before executing.