Skip to main content
Glama

Server Details

The knowledge base your AI reads and writes, under your rules — over MCP, EU-hosted.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
OAuth
Works in Glama
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
rutash/brainattic-mcp
GitHub Stars
0
ChatGPT
–
Claude
brainattic.ai

TDQS

A3.7/5.0

Scored across 64 tools

Disambiguation4/5

Tools are grouped into clear resource domains (documents, attachments, groups, projects, revisions, rules, reminders, skills, tenants), and descriptions actively disambiguate the risky overlaps — e.g. kb_documents_search vs kb_chunks_retrieve, and get vs get_meta vs get_by_slug. The four attachment-ingestion paths (import, import_url, upload, begin_upload) are individually explained but still form a cluster an agent could misselect, and the edit-session trio (begin/apply/commit/discard) requires care. Overall mostly distinct with a few dense clusters.

Naming Consistency5/5

Every tool follows the same kb_<domain>_<verb_noun> pattern (kb_documents_edit_apply, kb_groups_pin_toggle, kb_attachments_begin_upload), with consistent plural resource prefixes and consistent verb vocabulary (list/get/create/update/archive/restore/toggle). Even the multi-word sub-resources (edit sessions, revisions) follow the same grammar. No mixed conventions anywhere.

Tool Count2/5

64 tools is far beyond a reasonable single-surface scope, even for a broad knowledge-base product; the attachment subsystem alone (9 tools) and the skills subsystem add substantial surface area. While each tool has a defensible role, the set would be better split into narrower servers or driven by progressive disclosure. The count creates real context and selection burden.

Completeness4/5

Coverage is strong: full CRUD plus archive/restore for documents, groups, and projects; revision history with promotion; a multi-path attachment lifecycle; and advisory rules and reminders. The visible gap is skills, where only read/search/history and a deletion_status tool exist with no create/update/delete counterparts, and there is no document comment or sharing/permission tool. These are workable around via the web UI but represent real missing operations.

Publisher details

Operator
Finite Software Systems Ltd. · Publisher source
Vendor relationship
First-party · Publisher source
Privacy policy
Not provided
Restrictions
A Brainattic workspace and individual OAuth 2.1 authentication are required. The service is currently a free pilot; no paid Brainattic subscription or custom OAuth application is required. Access is governed by workspace membership, roles and permissions. The service is intended for business users aged 18 or over. Some AI clients may require a compatible subscription or administrator approval to enable custom MCP connectors. · Publisher source

Available Tools

64 tools
kb_attachments_archiveA
Idempotent
Inspect

Soft-archive an attachment (sets archived_at). Reversible via kb_attachments_restore.

Inputs: attachment_uuid (required), tenant_slug. Returns: archived_at, attachment_uuid

kb_attachments_begin_uploadAInspect

Begin a short-lived direct attachment upload for a client that can transfer local file bytes. Provide document_id and the original filename; optionally provide expected_sha256. The result contains an HTTPS upload_url ending in #token=. The fragment is local to the client and is never sent to the server: extract its token and POST the raw file bytes with Content-Type: application/octet-stream and Authorization: Bearer . Send no multipart envelope; upload_url is the endpoint, not a file field, not the fragment. The capability expires in five minutes and succeeds once. The returned size limit is authoritative. Never put the token in a path, query, tool argument, or log.

Inputs: filename (required), document_id (required), tenant_slug, expected_sha256. Returns: expires_at, upload_url, max_size_bytes

kb_attachments_getA
Read-onlyIdempotent
Inspect

Retrieve attachment metadata, including the attachment_uuid used to embed the file in a document body as kb-attachment://<uuid>. Pass include_download_url=true to also mint a short-lived download URL.

Inputs: attachment_uuid (required), tenant_slug, include_download_url. Returns: attachment

kb_attachments_importAInspect

Save the actual bytes of a user-provided file reference as a downloadable document attachment. Pass the host-provided file object; the server downloads its public HTTPS URL with a bounded transfer and validates the bytes. Never invent a URL or substitute a description for the file. If the chat host cannot provide a downloadable reference, say so; a client holding local bytes can use kb_attachments_begin_upload. Optional expected_sha256 checks integrity without returning a hash. Returns attachment_uuid; embed alt for an image or label for a file. Active downloadable attachments remain until explicitly archived. Temporary source URLs and provider file IDs are not retained.

Inputs: file (required), document_id (required), filename, tenant_slug, +2 more. Returns: attachment

kb_attachments_import_urlAInspect

Attach the exact original bytes from a public HTTPS source URL to an existing document. Pass source_url as an ordinary string and the mandatory expected_sha256 independently supplied by the source service; never invent a URL, checksum or substitute file. Optional expected_size_bytes must match exactly. The server validates each redirect, bounds the transfer and verifies integrity before storage. Returns attachment_uuid without changing the document body or revision. To link the file, separately edit the document using label. Active downloadable attachments remain until explicitly archived. Source URLs and checksums are not returned or retained as source metadata. A failed one-use source must be replaced with a fresh source capability before a deliberate retry; the server never replays a failed request. For a chat-host file object use kb_attachments_import; for local bytes use kb_attachments_begin_upload.

Inputs: filename (required), source_url (required), document_id (required), expected_sha256 (required), +3 more. Returns: attachment

kb_attachments_listA
Read-onlyIdempotent
Inspect

Paginated list of a document's attachments. Active (non-archived) only by default. Each row carries the attachment_uuid used to embed the file in a document body as kb-attachment://<uuid>.

Inputs: document_id (required), limit, offset, tenant_slug, +1 more. Returns: total, attachments

kb_attachments_restoreA
Idempotent
Inspect

Restore a soft-archived attachment (clears archived_at). Reverse of kb_attachments_archive.

Inputs: attachment_uuid (required), tenant_slug. Returns: archived_at, attachment_uuid

kb_attachments_uploadAInspect

Upload a small file you already hold as text or bytes, up to 64 KiB. Supply exactly one of content_text or content_base64. Never invent file bytes or write out base64 for a photo or a file shown in chat. Use kb_attachments_import for a real downloadable file reference, or kb_attachments_begin_upload for a client that can transfer local bytes directly. When neither is available, give the user the document permalink, ask them to open it and use Attach, then call kb_attachments_list. The web file limit is deployment-configured; an inline refusal states the live limit. Returns attachment_uuid: embed as alt or label. Unreferenced inline uploads are eventually swept; active downloadable uploads remain until explicitly archived.

Inputs: filename (required), mime_type (required), document_id (required), tenant_slug, +3 more. Returns: attachment

kb_attachments_view_imageA
Read-onlyIdempotent
Inspect

Present an existing Brainattic image attachment. Native MCP image content is the default; presentation_mode=auto falls back to a short-lived Brainattic presentation URL only when the normalized rendition is above the 1 MiB native envelope. Use native to require ImageContent, or url to explicitly request the Brainattic presentation capability. This tool never exposes MinIO or returns the original image bytes as a download.

Inputs: attachment_uuid (required), tenant_slug, presentation_mode. Returns: image

kb_chunks_retrieveA
Read-onlyIdempotent
Inspect

Retrieves relevant passages from the connected private knowledge base. Call this whenever a question depends on the organisation's stored knowledge; the model may not otherwise have access to it. Returns a flat list of passages ordered by relevance; pass them as context when generating your answer and cite the source document for each claim. For "show me documents about X" browse-style queries, prefer kb_documents_search.

Inputs: query (required), k, mode, group_slugs, +2 more. Returns: chunks, confidence

kb_documents_archiveA
Idempotent
Inspect

Soft-archive a document (sets archived_at). Reversible via kb_documents_restore.

Inputs: document_id (required), tenant_slug, include_body. Returns: document

kb_documents_createAInspect

Create a new document. slug is auto-generated from title when omitted. project_slug must exist; group_slugs are created on demand.

Inputs: title (required), body_md (required), slug, group_slugs, +4 more. Returns: document

kb_documents_deleteA
DestructiveIdempotent
Inspect

Permanently delete a document and all its revisions. Admin-only. Irreversible — archive first if in doubt.

Inputs: document_id (required), tenant_slug. Returns: deleted, document_id

kb_documents_edit_applyAInspect

Apply an ordered batch of edits to an open edit session, all-or-nothing — if any edit cannot be applied (no match / ambiguous / overlapping / out of range) the whole batch is rejected and the buffer is left unchanged. Edit types: "replace" (old_string unique unless replace_all=true, new_string), "line_range" (start_line/end_line/content), "section" (heading + mode replace_body|insert_after_heading|delete_section, with level/parent to disambiguate). Returns the cumulative base→working unified diff; pass an empty edits array to just re-fetch the diff without mutating.

Inputs: edits (required), session_id (required), diff, tenant_slug. Returns: diff, expires_at, session_id

kb_documents_edit_beginA
Idempotent
Inspect

Open a surgical edit session on a document and snapshot its current revision. Stage edits with kb_documents_edit_apply, then kb_documents_edit_commit (lands one revision) or kb_documents_edit_discard. Calling this again for a document you already have an open session on resumes that session (resumed=true).

Inputs: document_id (required), tenant_slug, include_body. Returns: resumed, expires_at, session_id, document_id, +1 more

kb_documents_edit_commitA
Idempotent
Inspect

Commit an open edit session: flush its working buffer to a single new revision (title / project / groups preserved). Honors the begin-time revision snapshot — a concurrent edit returns kb.documents.stale_revision and leaves the session open to rebase or discard. Returns no_changes=true (no revision written) when the buffer equals the current document body.

Inputs: session_id (required), tenant_slug, include_body. Returns: document, no_changes

kb_documents_edit_discardA
DestructiveIdempotent
Inspect

Discard an edit session and throw its working buffer away — no revision is written. Idempotent: discarding an already-closed session is a no-op.

Inputs: session_id (required), tenant_slug. Returns: discarded, session_id

kb_documents_getA
Read-onlyIdempotent
Inspect

Retrieve a single document with its full markdown body. Optional include array bundles related rows in one round-trip: revisions / attachments / groups / project. Use kb_documents_get_meta when the body is not needed.

Inputs: document_id (required), include, tenant_slug. Returns: groups, project, document, revisions, +1 more

kb_documents_get_by_slugA
Read-onlyIdempotent
Inspect

Cheap slug-based lookup returning minimal metadata (no body). Returns null when no document with that slug exists in the tenant. Use kb_documents_get for the full body.

Inputs: slug (required), tenant_slug. Returns: document

kb_documents_get_metaA
Read-onlyIdempotent
Inspect

Cheap id-based lookup returning minimal metadata (no body). Useful for "is this doc tagged right?" follow-ups after a search or list. Use kb_documents_get when the body is needed.

Inputs: document_id (required), tenant_slug. Returns: document

kb_documents_listA
Read-onlyIdempotent
Inspect

Paginated browse of documents in the tenant. Filters: project_slug, group_slugs, archived, include_hidden. Sort: updated_desc (default) | created_desc | title_asc. By default, docs belonging to hidden projects (kb_projects_hide_toggle) are excluded — matches the web /docs default view. Pass include_hidden=true to include them. Hidden does NOT affect kb_documents_search or kb_chunks_retrieve. When project_slug is explicit, the caller named the project so the hidden filter is irrelevant and is bypassed.

Inputs: sort, limit, offset, archived, +4 more. Returns: items, total

kb_documents_restoreA
Idempotent
Inspect

Restore a soft-archived document (clears archived_at). Reverse of kb_documents_archive.

Inputs: document_id (required), tenant_slug, include_body. Returns: document

kb_documents_updateA
Idempotent
Inspect

Save a new revision of an existing document. Omit title/body_md/project_slug/group_slugs to preserve existing values. Pass expected_revision_id for optimistic-concurrency protection; omit for last-write-wins. Returns no_changes=true (and inserts no revision) when the save would change nothing.

Inputs: document_id (required), title, body_md, group_slugs, +5 more. Returns: document, no_changes

kb_groups_archiveA
Idempotent
Inspect

Soft-archive a group (sets archived_at). Reversible via kb_groups_restore. Archiving does NOT touch the group's document links — they are preserved; the group just leaves active listings and the sidebar.

Inputs: slug (required), tenant_slug. Returns: group

kb_groups_attach_documentA
Idempotent
Inspect

Add a document to a group. Idempotent — no-op if the document is already in the group.

Inputs: group_slug (required), document_id (required), tenant_slug. Returns: attached, group_slug, document_id

kb_groups_createA
Idempotent
Inspect

Create a group. Idempotent on slug — returns the existing group if the slug already exists.

Inputs: name (required), slug, description, tenant_slug. Returns: group, created

kb_groups_deleteA
DestructiveIdempotent
Inspect

Delete a group. Documents tagged with it lose this group tag.

Inputs: slug (required), tenant_slug. Returns: slug, deleted

kb_groups_detach_documentA
Idempotent
Inspect

Remove a document from a group. Idempotent — no-op if the document is not in the group.

Inputs: group_slug (required), document_id (required), tenant_slug. Returns: detached, group_slug, document_id

kb_groups_getA
Read-onlyIdempotent
Inspect

Retrieve a single group by slug (active or archived). The archived_at field is null when active, an ISO 8601 timestamp when archived.

Inputs: slug (required), tenant_slug. Returns: group

kb_groups_listA
Read-onlyIdempotent
Inspect

Paginated browse of groups in the tenant, ordered by name. Active (non-archived) groups only by default; pass archived=true to list archived groups instead. Each row carries archived_at. Returns total (the full match count, independent of limit/offset) alongside the page.

Inputs: limit, offset, archived, tenant_slug. Returns: total, groups

kb_groups_pin_toggleA
Idempotent
Inspect

Toggle a group's sidebar-pin state. Pass pinned=true to pin, false to unpin.

Inputs: slug (required), pinned (required), tenant_slug. Returns: group

kb_groups_restoreA
Idempotent
Inspect

Restore (un-archive) a group: clears archived_at so the group returns to active listings and the sidebar. Reverses kb_groups_archive.

Inputs: slug (required), tenant_slug. Returns: group

kb_groups_updateC
DestructiveIdempotent
Inspect

Rename or update a group's name, slug, or description.

Inputs: slug (required), name, new_slug, description, +1 more. Returns: group

kb_health_pingA
Read-onlyIdempotent
Inspect

Health check; answers ok and your default workspace slug. Call kb_tenants_list to see every workspace the token grants.

Inputs: no named parameters. Returns: status, tenant

kb_projects_archiveA
Idempotent
Inspect

Soft-archive a project (sets archived_at). Reversible via kb_projects_restore. Archiving does NOT touch the project's documents — they keep their project link and stay reachable; the project just leaves active listings, the sidebar, and the dashboard "Active projects" count.

Inputs: slug (required), tenant_slug. Returns: project

kb_projects_createBInspect

Create a new project. slug is auto-generated from name when omitted.

Inputs: name (required), slug, description, tenant_slug. Returns: project

kb_projects_deleteA
DestructiveIdempotent
Inspect

Delete a project. Documents assigned to it become project-less (project_id set to null).

Inputs: slug (required), tenant_slug. Returns: slug, deleted

kb_projects_getA
Read-onlyIdempotent
Inspect

Retrieve a single project by slug (active or archived). The archived_at field is null when active, an ISO 8601 timestamp when archived.

Inputs: slug (required), tenant_slug. Returns: project

kb_projects_hide_toggleA
Idempotent
Inspect

Toggle a project's hidden flag. Hidden projects are filtered out of standard browse listings (the /docs page, the /admin/projects page, the sidebar Projects collapsible, the document editor's project picker) until "Show hidden" is selected. Hidden does NOT affect search or agent retrieval — kb_documents_search and kb_chunks_retrieve still surface content from hidden projects so grounding stays complete. Pass hidden=true to hide, false to unhide.

Inputs: slug (required), hidden (required), tenant_slug. Returns: project

kb_projects_listA
Read-onlyIdempotent
Inspect

Paginated browse of projects in the tenant. Active (non-archived) projects only by default; pass archived=true to list archived projects instead. Hidden projects (see kb_projects_hide_toggle) are excluded by default; pass include_hidden=true to include them. Each row carries hidden + archived_at so callers can branch. Returns total (the full match count, independent of limit/offset) alongside the page.

Inputs: limit, offset, archived, tenant_slug, +1 more. Returns: total, projects

kb_projects_pin_toggleA
Idempotent
Inspect

Toggle a project's sidebar-pin state. Pass pinned=true to pin, false to unpin.

Inputs: slug (required), pinned (required), tenant_slug. Returns: project

kb_projects_restoreA
Idempotent
Inspect

Restore (un-archive) a project: clears archived_at so the project returns to active listings, the sidebar, and the "Active projects" dashboard count. Reverses kb_projects_archive.

Inputs: slug (required), tenant_slug. Returns: project

kb_projects_updateC
DestructiveIdempotent
Inspect

Rename or update a project's name, slug, or description.

Inputs: slug (required), name, new_slug, description, +1 more. Returns: project

kb_reminders_cancelA
DestructiveIdempotent
Inspect

Cancel a single reminder (by reminder_id) or an entire schedule (by schedule_id). Idempotent — already-cancelled rows are no-ops. Only reminders and schedules you created or receive are reachable; anything else answers not_found.

Inputs: reminder_id, schedule_id, tenant_slug. Returns: cancelled

kb_reminders_createA
Destructive
Inspect

Create a one-off reminder for one or more tenant members. When it fires, it SENDS a message through email, Slack, or SMS, and a message that has been delivered cannot be recalled — cancelling only stops a reminder that has not fired yet. Create one only when the user asked for it, addressed to the people the user named. Omit recipients to send to yourself; omit channels to use each recipient's preferred channel.

Inputs: due_at (required), summary (required), body, channels, +3 more. Returns: reminders, recipient_count

kb_reminders_create_scheduleA
Destructive
Inspect

Create a recurring reminder schedule. Validates the RFC 5545 rrule before persistence; expansion to per-occurrence kb_reminders rows happens in the materialiser. Every occurrence SENDS a message through email, Slack, or SMS to the selected recipients, and a delivered message cannot be recalled — cancelling the schedule only stops occurrences that have not fired yet. Create one only when the user asked for a repeating reminder, addressed to the people the user named.

Inputs: dtstart (required), summary (required), timezone (required), body, +6 more. Returns: schedule

kb_reminders_getA
Read-onlyIdempotent
Inspect

Fetch a single reminder by id with its delivery rows. Only reminders you created or receive are reachable; anything else answers not_found.

Inputs: reminder_id (required), tenant_slug. Returns: reminder

kb_reminders_listA
Read-onlyIdempotent
Inspect

Paginated browse of the actor's reminders on the active tenant, most-due-soon first. Filters: status, due window. Returns total (the full match count, independent of limit/offset) alongside the page.

Inputs: limit, offset, status, due_after, +2 more. Returns: total, reminders

kb_revisions_getA
Read-onlyIdempotent
Inspect

Retrieve a specific document revision with its full markdown body.

Inputs: revision_id (required), tenant_slug. Returns: revision

kb_revisions_listA
Read-onlyIdempotent
Inspect

List the revision history of a document. Newest first.

Inputs: document_id (required), limit, offset, tenant_slug. Returns: items, total

kb_revisions_restoreA
Idempotent
Inspect

Promote a past revision to a new current revision. The body is copied forward — historical rows are never mutated (ADR-0027).

Inputs: revision_id (required), tenant_slug, include_body. Returns: document

kb_rules_getA
Read-onlyIdempotent
Inspect

Fetch the rule document linked to one scope. Pass scope=tenant|project|group; for project/group also pass owner_slug. Returns linked=false with rule=null when the scope has no rule doc. Use kb_rules_list_for_context instead when you want every rule that applies to an authoring context at once. Rules are advisory conventions, not machine-enforced.

Inputs: scope (required), owner_slug, tenant_slug. Returns: rule, scope, linked, owner_slug

kb_rules_list_for_contextA
Read-onlyIdempotent
Inspect

Lists the rule documents that apply to a given authoring context — the conventions your authoring should follow. Returns a list of MCP resource URIs in canonical order: tenant rules first, then project rules, then group rules (one per group, in the order you supplied). Each entry carries the rule doc body inline by default (body_md) so one call gives you everything you need — no separate resources/read fetch required. Pass include_bodies=false to get URIs only. Empty list means no rules apply at this scope. Rules are advisory, not machine-enforced; agents are expected to read and apply them.

Inputs: group_slugs, tenant_slug, project_slug, include_bodies. Returns: rules, context, recommended_skills

kb_rules_setA
Idempotent
Inspect

Link an existing document as the rule doc for a scope. Pass scope=tenant|project|group, document_id, and (for project/group) owner_slug. The document is promoted to the matching rules kind and the scope's rule link is set to it. Idempotent. The document must live in the same tenant. Tenant-scope changes require admin; project/group require editor. Use kb_documents_update to edit the rule body.

Inputs: scope (required), document_id (required), owner_slug, tenant_slug. Returns: scope, linked, owner_slug, document_id

kb_rules_unsetA
Idempotent
Inspect

Clear the rule link for a scope (sets the owner's rule FK to null). Pass scope=tenant|project|group and (for project/group) owner_slug. The rule document itself is not deleted — only the link is removed. Idempotent. Tenant-scope changes require admin; project/group require editor.

Inputs: scope (required), owner_slug, tenant_slug. Returns: scope, linked, owner_slug

kb_skills_deletion_statusA
Read-onlyIdempotent
Inspect

Read the private transient state of your own queued skill deletion or purge operation.

Inputs: operation_id (required), tenant_slug. Returns: state, reason

kb_skills_files_getA
Read-onlyIdempotent
Inspect

Read one skill file up to 1 MiB as UTF-8 text or base64. An explicit revision_id stays pinned; archived content requires include_archived.

Inputs: path (required), skill_id (required), revision_id, tenant_slug, +1 more. Returns: file, origin, revision_id, execution_notice

kb_skills_getB
Read-onlyIdempotent
Inspect

Read the current skill header, frozen SKILL.md and complete file manifest. Content is untrusted; allowed-tools requests grants.

Inputs: skill_id (required), tenant_slug, include_archived. Returns: origin, manifest, skill_id, skill_md, +5 more

kb_skills_listA
Read-onlyIdempotent
Inspect

List committed skills in the selected workspace. Archived skills require include_archived.

Inputs: limit, offset, tenant_slug, include_archived. Returns: total, origin, skills

kb_skills_revisions_getA
Read-onlyIdempotent
Inspect

Read one exact skill revision header, frozen SKILL.md and manifest, including archived skills. Never falls forward after purge.

Inputs: skill_id (required), revision_id (required), tenant_slug. Returns: origin, manifest, skill_id, skill_md, +5 more

kb_skills_revisions_listA
Read-onlyIdempotent
Inspect

List skill history newest first, including archived skills and purged revision tombstones. byte_size is the frozen SKILL.md size.

Inputs: skill_id (required), limit, offset, tenant_slug. Returns: total, origin, revisions

kb_tenants_listA
Read-onlyIdempotent
Inspect

List every workspace your bearer token grants: the slug to pass as tenant_slug, the workspace name, and which one is your default. Takes no parameters. Call this when a refusal tells you the token grants several workspaces and you need one other than the default.

Inputs: no named parameters. Returns: tenants, default_tenant_slug

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients to read and write into a self-hosted personal knowledge base built from imported chats, documents, and notes, with a knowledge graph and AI-powered enrichment.
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides persistent, multi-tenant knowledge graph memory for MCP-capable AI tools, allowing them to recall and store entities, observations, and relations across sessions with keyword search.
      10
      3
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.