akb
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AKB_PAT | Yes | ||
| AKB_MCP_URL | Yes |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| akb_list_vaultsA | List all accessible knowledge base vaults. |
| akb_create_vaultA | Create a new knowledge base vault (a separate, access-controlled repository for documents). Pass |
| akb_putA | 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_updateB | Update an existing document. Only provide fields you want to change. |
| 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. For find-and-replace across many documents, use akb_grep with replace instead. |
| akb_deleteA | Delete a document. Removes from Git, search index, and knowledge graph. |
| akb_browseA | Browse ALL vault content — documents (by collection), tables, and files. Without collection: shows top-level collections, tables, and files. With collection: shows documents and files in that collection. Each item carries its canonical |
| 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. Unlike akb_search (semantic/meaning-based), this finds exact string matches — use it for specific terms, URLs, code snippets, version numbers, etc. Returns matching documents (each with its |
| akb_drill_downA | Get section-level (L3) content of a document. Returns all sections with their heading paths, or a specific section if filtered. Use this to read specific parts without loading the entire document. |
| akb_session_startB | Start an agent work session. Documents created during the session are automatically linked. |
| akb_session_endB | End an agent work session and record a summary. |
| 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_relationsB | Get relations for any resource (document, table, or file). Shows cross-type connections: doc→table, doc→file, table→file, etc. |
| akb_graphA | Get a 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. 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 a relation between two resources. If relation type is omitted, removes ALL relations between the two resources. |
| akb_provenanceA | Get provenance for a document — who created it, when, which entities were extracted. |
| 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. |
| akb_drop_tableA | Permanently delete a table and all its rows. Cannot be undone. Requires admin role on the vault. |
| akb_alter_tableA | Modify a table's schema — add, remove, or rename columns via ALTER TABLE DDL. Requires admin role. |
| akb_todoA | Create a todo for yourself or someone else. Todos are personal task items — like assigning a ticket. Use akb_todos to check your pending items. |
| akb_todosA | List todos — yours or someone else's. Call at session start to see what needs your attention. Shows open todos by default. |
| akb_todo_updateC | Update a todo — mark as done, change priority, reassign, or edit. |
| akb_rememberA | Store something in your persistent memory. Memories persist across sessions — use this to remember important context, decisions, preferences, or learnings for future sessions. Categories: context (current work), preference (how you like to work), learning (things you learned), work (completed work), general. |
| akb_recallA | Retrieve your persistent memories from previous sessions. Call this at the start of a session to recall what you were working on. Filter by category for specific types of memory. |
| akb_forgetB | Delete a specific memory by its ID. |
| akb_publishA | Create a public share URL for a document, table query, or file. For a document or file, pass the resource |
| akb_unpublishA | Remove a public share. Pass |
| akb_publicationsB | List all publications in a vault (documents, table queries, files). |
| akb_publication_snapshotA | Create a snapshot of a table_query publication. Saves the current query result to S3 and switches mode to 'snapshot'. |
| akb_vault_infoA | Get detailed vault information: owner, member count, document/table/file/edge counts, last activity. |
| akb_vault_membersB | 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. |
| akb_revokeB | Revoke a user's vault access. You must be owner or admin. |
| 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_update_profileC | Update your display name or email. |
| akb_transfer_ownershipA | Transfer vault ownership to another user. Only the current owner 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 and file under the path. Cascade emits one git commit for the entire batch. Writer or higher role. |
| 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_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_get_fileA | Download a file from vault storage to a local path. Pass the file URI (akb://{vault}/file/{id}) from akb_browse or akb_put_file. |
| akb_delete_fileB | 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
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