Skip to content

Connect the MCP server

Blenau exposes a remote Model Context Protocol (MCP) server. Once connected, your agent can search, read and write your knowledge base — backed by your GitHub repos — without you writing any glue code.

https://api.blenau.com/mcp/sse?token=blenau_tk_xxxxxxxx

It’s an SSE MCP endpoint. The server is remote and multi-tenant; your token scopes every call to your workspace.

From the Blenau dashboard → Settings, create an MCP token. It looks like blenau_tk_…. Treat it like a password.

Terminal window
claude mcp add --transport sse blenau "https://api.blenau.com/mcp/sse?token=blenau_tk_xxxxxxxx"

Add an SSE server entry pointing at the endpoint above. After connecting, reconnect / refresh the tool list so the client picks up the latest tools.

ToolPurpose
search_knowledgeSemantic search across the workspace. Start here.
list_reposList connected repos and their path_prefix (routing).
get_document / get_document_structure / get_sectionRead docs and section versions.
ingest_documentCreate a new doc (commits to GitHub).
edit_section / patch_sectionEdit/append a section (optimistic locking via content_hash).
create_asset_uploadAttach an image/file to a doc — see Images & assets.
crystallize_session / smart_crystallizeTurn raw session notes into structured docs.
audit_links / suggest_crosslinksKeep the cross-link graph healthy.
  1. Search first, write later. Run search_knowledge before creating anything.
  2. If a result is a strong match, edit the existing section instead of creating a duplicate. Fetch get_section right before writing to pass the current expected_version.
  3. Route by prefix. Call list_repos to learn each repo’s path_prefix and prepend it to the document path.
  4. Cite sources. Pass a sources list whenever you record something learned from external material — unsourced claims show up in audit_links.
  • Tools missing after a deploy / idle period → reconnect the MCP session; the tool list refreshes on reconnect.
  • session_expired / session_invalid → the SSE stream was dropped (edge idle timeout, server restart). Re-open the SSE connection.