Connect Claude to your knowledge base

This API answers MCP as well as its own routes. Give Claude the URL below, sign in, and approve what it asks for — nothing else has to be registered by hand.

The URL

https://knowledge-api.hayes2.com/mcp

It has to be this URL exactly. Tokens issued for this API name it, and an address it is not reached by refuses them.

Claude on the web, desktop or mobile

  1. Open Settings → Connectors.
  2. Choose Add custom connector and paste the URL above.
  3. Press Connect, sign in, and approve the access it asks for.

Claude Code

claude mcp add --transport http mainframe-knowledge https://knowledge-api.hayes2.com/mcp

Then run /mcp inside Claude Code and pick this server to sign in. Add --scope user to the command to have it available in every project rather than just this one.

What you are approving

Signing in shows a consent screen naming the client and everything it asked for:

AccessWhat it means
knowledge:readRead your bundles and the concepts in them
knowledge:writeWrite, move, verify and delete concepts
offline_accessStay connected without signing in again every hour

Approving is what grants anything. Registering a client on its own grants nothing.

What Claude can do once connected

ToolNeedsWhat it does
Bundles - List
bundles_list
knowledge:readThe bundles, with how many concepts each holds
Concepts - List
concepts_list
knowledge:readEvery path in a bundle, or in one subtree of it
Concepts - Search
concepts_search
knowledge:readConcepts whose title, description or body mentions the words given
Concept - Read
concept_read
knowledge:readOne concept as a whole document, with its trust tier and staleness
Bundle - Create
bundle_create
knowledge:writeAn empty bundle to file concepts under
Concept - Write
concept_write
knowledge:writeWrites a path, creating it or replacing what is there
Concept - Move
concept_move
knowledge:writeMoves a concept, or a directory of them, with everything beneath it
Concept - Verify
concept_verify
knowledge:writeRecords that an actor checked a concept, raising its trust tier
Concept - Delete
concept_delete
knowledge:writeDeletes the concept at a path, leaving anything below it

Claude is only offered the tools your approval covers, and this api enforces the same scopes on every route — so an approval that covers reading cannot change anything by any other means.

Managing or removing access

Every connection shows up under Connected apps on your account page. Disconnecting one there signs it out and forgets the approval, so it has to be approved again rather than quietly reconnecting.

If it will not connect