From superlore
Registers a superlore knowledge base's MCP server with the user's Claude client so their agent can search and read the corpus directly. Asks permission and for missing details like URL or credentials.
How this skill is triggered — by the user, by Claude, or both
Slash command
/superlore:superlore-connect-mcpThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
superlore exposes its content to agents over a first-class **MCP** (Streamable HTTP), by default at
superlore exposes its content to agents over a first-class MCP (Streamable HTTP), by default at
/api/mcp. This skill registers that endpoint with the user's MCP client — usually Claude — so
the agent can query the corpus directly (search, get_page, list, navigate,
get_component_data) instead of scraping pages.
This skill touches the user's own configuration, so it has two hard rules:
<deploy-origin><mcp.path> — e.g. https://kb.acme.com/api/mcp. Get the
origin and path from:
superlore.json → mcp.path (defaults to /api/mcp), plus the deploy origin, orhttp://localhost:3000/api/mcp (or whatever port superlore dev printed).superlore.json, ask — don't assume localhost
or any host.superlore, or superlore-<kb-name> if the user runs more
than one KB. Confirm if there might be a collision with an existing entry.superlore.json has auth.enabled: true (or the URL 401s), the
MCP inherits the site's auth policy and the client needs a credential. Ask the user how
they authenticate (e.g. a bearer token / header) and how they want to supply it — never ask
them to paste a secret into the chat or hard-code one. Prefer an env-var reference. If you can't
get a credential cleanly, stop and tell the user what's needed.Prefer the Claude CLI, registering at the user scope so it's available across the user's projects. Show the command and ask first, then run on approval:
# Public KB (no auth) — user-level (-s user)
claude mcp add --transport http -s user superlore https://YOUR-DEPLOY/api/mcp
For a gated deploy that needs a header, add it with --header (ask the user for the header name
and how to supply the value; use an env-var reference, not a literal secret):
claude mcp add --transport http -s user superlore https://YOUR-DEPLOY/api/mcp \
--header "Authorization: Bearer ${SUPERLORE_MCP_TOKEN}"
If claude (the CLI) isn't available, fall back to writing the client's mcp.json entry — again,
show it and ask before writing:
{
"mcpServers": {
"superlore": {
"type": "http",
"url": "https://YOUR-DEPLOY/api/mcp"
}
}
}
(The repo's connect docs use type: "http" with the URL — match that. For a gated deploy, add the
auth headers per the client's format, sourcing the value from the environment, not a literal.)
After it's registered, confirm the connection works (a fresh client session may be needed to load the new server). Ask the agent to:
search for a term you know is in the KB, andget_page a known path (e.g. /docs/index or the KB's home),and confirm real structured data comes back. If it 401s, the deploy is gated and you need the
credential step above. If it 404s, re-check the URL/path (mcp.path in superlore.json).
| Tool | Does |
|---|---|
search | Ranked page hits across the corpus |
get_page | A page's full structured content (frontmatter + nodes) |
list | Knowledge nodes filtered by kind / tag / entityType |
navigate | Outgoing refs + backlinks for a path / node id / ref |
get_component_data | The typed knowledge face behind one rendered component, by id |
npx claudepluginhub krishnansg/superlore --plugin superloreGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
Dispatches multiple subagents concurrently for independent tasks without shared state. Use when facing 2+ unrelated failures or subsystems that can be investigated in parallel.