akb
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AKB_PAT | Yes | ||
| AKB_MCP_URL | Yes |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| akb_list_vaultsA | List accessible vaults as {name, description} pairs. Response is slim — no metadata (id/role/created_at) — to fit large tenants in agent context. Returns {vaults, total, returned, truncated?, hint?}. Optional args:
|
| akb_create_vaultA | Create a new knowledge base vault (a separate, access-controlled repository for documents). Pass |
| akb_putB | Store a new document. The response carries the canonical |
| akb_getA | Retrieve a document by its URI. Returns full content with metadata. Use akb_browse or akb_search first to obtain the URI. Optionally pass a commit hash (from akb_history) to read a previous version. |
| akb_updateA | Update an existing document. Only provide fields you want to change. The |
| akb_editA | Edit a single document by replacing exact text. Scope is one document. old_string must be unique within the document (or use replace_all). If old_string is not found or appears multiple times, the call fails with a clear error. Use this for inserting, replacing, or removing an inline image without resending the complete document body. For find-and-replace across many documents, use akb_grep with replace instead. |
| akb_moveA | Move or rename a document — change its collection and/or slug while keeping its identity and full git history. The old akb:// URI keeps resolving (a redirect is recorded), and graph links/publications are rewritten. Provide collection and/or slug (at least one must change). The title is unchanged; use akb_update to change the displayed title. |
| akb_deleteB | Delete a document. Removes from Git, search index, and knowledge graph. |
| akb_browseA | Browse ALL vault content — documents, tables, and files — under a browse root. The browse root can be addressed two ways: pass a canonical
The response includes metadata for the current browse root in |
| akb_searchA | Search documents with hybrid retrieval — dense vector (semantic) fused with BM25 sparse (keyword) via Reciprocal Rank Fusion. Handles both natural-language questions and short keyword queries well. For exact string / regex matches (code, URLs, version numbers) prefer akb_grep. Returns each hit's |
| akb_grepA | Search for exact text or regex patterns across document content. On a native Document backend, optionally include admitted searchable text Files with |
| akb_drill_downA | Read section-level (L3) content of a document, or list its section headings. Two modes:
|
| akb_activityA | Get activity history for a vault — who changed what, when, and why. Returns Git commit history with changed file list. Use akb_diff to see the actual content changes for a specific commit. |
| akb_diffA | Get the content diff for a document at a specific commit. Shows what was added/removed/modified. Use akb_history or akb_activity to find commit hashes first. |
| akb_relationsA | Get relations for any resource (document, table, or file). Shows same-vault cross-type connections: doc→table, doc→file, table→file, etc. Each row identifies whether it is an explicit link or implicit document-derived edge. |
| akb_graphA | Get a same-vault knowledge graph — nodes (documents, tables, files) and edges (relations). Provide |
| akb_linkA | Create a relation between any two resources (documents, tables, files). Source and target are AKB URIs in the same vault. Relation types: depends_on, related_to, implements, references, attached_to, derived_from. Example: link a design doc to its data table, or attach a diagram file to a spec. |
| akb_unlinkA | Remove an explicit same-vault relation between two resources. Implicit relations are removed by editing their source document. If relation type is omitted, removes all explicit relations between the two resources. |
| akb_provenanceA | Get provenance for a document — who created it, when, which entities were extracted, and its visible same-vault relations. |
| akb_create_tableA | Create a structured data table in a vault. The response carries the canonical |
| akb_sqlA | Execute SQL on vault tables. Tables are real PostgreSQL tables. Use table names directly (e.g. 'pipeline', 'partners') — they are auto-resolved to the vault's tables. For cross-vault queries, list all vaults in the vaults parameter. Prefix table names with vault name for cross-vault: sales__pipeline, external_projects__partners. SELECT requires reader role. INSERT/UPDATE/DELETE requires writer role. Add a LIMIT to SELECTs unless you truly need every row — the full result set is returned (nothing is silently truncated), so an unbounded SELECT on a large table can send back a very large response. |
| akb_drop_tableA | Permanently delete a table and all its rows. Cannot be undone. Requires admin role on the vault. |
| akb_alter_tableC | Modify a table's schema — add, remove, or rename columns via ALTER TABLE DDL. Requires admin role. |
| akb_publishA | Create a public, no-auth share URL for a document, file, or table query. Document/file: pass the resource |
| akb_unpublishA | Remove publication(s). Pass |
| akb_publicationsA | List every publication in a vault. Each item is the canonical publication dict (same shape as |
| akb_publication_snapshotA | Freeze a table_query publication's current result to S3 and flip its mode to 'snapshot' (subsequent visits return the cached result). Identified by |
| akb_vault_infoA | Get detailed vault information: owner, member count, document/table/file/edge counts, last activity. |
| akb_vault_membersA | List all members of a vault with their roles (owner, admin, writer, reader). |
| akb_grantA | Grant vault access to a user. You must be owner or admin of the vault. A rule-driven grantor should name its own source_key so it can later withdraw its own reason without deleting anybody else's. |
| akb_revokeA | Revoke a user's vault access. You must be owner or admin. Omit source_key and the person is out of the vault entirely; name one and only that basis is withdrawn, which may downgrade rather than remove. |
| akb_explain_accessA | Explain why a user holds the role they hold on a vault: every independent basis, and the effective role derived from them. A member list shows the result, never the reasons. |
| akb_search_usersA | Search for users by username, display name, or email. Use this to find users before granting vault access. |
| akb_whoamiA | Get your current profile — username, email, display name, role. Use this to check who you are authenticated as. |
| akb_transfer_ownershipA | Transfer vault ownership to another user. The current owner or a system admin can do this. |
| akb_archive_vaultA | Archive a vault (makes it read-only). Only the owner can do this. |
| akb_delete_vaultA | Permanently delete a vault and ALL its data — documents, chunks, tables, files, edges, Git repo. This cannot be undone. Owner or admin only. |
| akb_create_collectionA | Create an empty collection (folder) inside a vault. Idempotent — returns {created: false} if the collection already exists. Writer or higher role. |
| akb_delete_collectionA | Delete a collection. If empty, removes the metadata row. If non-empty, requires recursive=true to cascade delete every document, file, and table under the path. Cascade emits one git commit for the document batch. Writer or higher role; admin or higher when any table is included. |
| akb_set_publicA | Set vault public access level. Owner only. 'none'=private, 'reader'=public read, 'writer'=public read+write. |
| akb_historyA | Get version history of a document — who changed it, when, and why. Each entry is a Git commit. Use the commit hash with akb_get to read a previous version. |
| akb_helpA | Get help on AKB tools and workflows. Call with no arguments for an overview. Drill down into categories or specific tools for details and examples. START HERE if you're new to AKB. |
| akb_exportA | Export an entire vault as a portable knowledge bundle. Returns the bundle inline as a {path: content} map. The |
| akb_importA | Import a knowledge bundle into a vault. Pass |
| akb_put_fileA | Upload a local file to a vault's file storage (S3-backed). Use for PDFs, images, datasets, or any binary content too large for akb_put. Response includes the canonical |
| akb_put_imageA | Upload a local PNG, JPEG, GIF, or WebP (maximum 10 MiB) for inline use in an AKB Markdown document. Returns a stable |
| akb_discard_imageA | Discard a document image upload that was never committed in an AKB document. Use this only to clean up after a failed or abandoned akb_put/akb_update. Images already claimed by a document or retained Git revision cannot be discarded through this tool. |
| akb_get_fileA | Download a file from vault storage to a local path. Pass the file URI — |
| akb_update_fileA | Replace the bytes of an existing vault file while preserving its URI. The local file is hashed before transfer; identical content is skipped. Pass expected_content_hash and/or expected_version from akb_get_file to reject stale writes with HTTP 409 instead of overwriting a concurrent change. |
| akb_delete_fileC | Delete a file from vault storage by its URI. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dnotitia/akb'
If you have feedback or need assistance with the MCP directory API, please join our Discord server