Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | debug / info / warn / error | info |
| GITHUB_REPO | Yes | Tên repo chứa brain | |
| CACHE_TTL_MS | No | Thời gian cache file reads (ms) | 30000 |
| GITHUB_OWNER | Yes | Username hoặc org trên GitHub | |
| GITHUB_TOKEN | Yes | GitHub Personal Access Token (quyền repo) | |
| GITHUB_BRANCH | No | Branch sử dụng | main |
| WRITE_RETRIES | No | Số lần retry khi gặp SHA conflict | 3 |
| BRAIN_BASE_PATH | No | Thư mục gốc trong repo | brain |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| initBrain | Initialize the brain repository structure. Creates all required folders and markdown files in a single commit. Only needs to be called once on a new/empty repo. |
| getTasks | Get all tasks grouped by file (today + backlog). Returns tasks with id, text, status, tags, priority, dueDate. |
| getTodayTasks | Get all tasks from today's task list |
| getBacklog | Get all tasks from the backlog |
| addTask | Add a new task to today's list or the backlog |
| markTaskDone | Mark a task as complete. Provide either a taskId (from getTasks) or searchText to fuzzy-match the task. |
| getNotes | Get notes from the ideas or learning section |
| addNote | Add a note to the ideas or learning section |
| getGoals | Get goals from short-term or long-term sections |
| getInbox | Get all items from the inbox/capture list |
| saveToInbox | Save a quick thought, idea, or item to the inbox for later processing |
| listTopics | List all knowledge topics. Returns topic names only (no content). Use this first to discover what knowledge exists before reading. |
| getKnowledge | Get all entries from a specific knowledge topic. Use listTopics first to see available topics. |
| addKnowledge | Add a new knowledge entry to a topic. Creates the topic if it doesn't exist. Use this to store facts, how-tos, decisions, or anything worth remembering. |
| searchKnowledge | Search across all knowledge topics by keyword. Returns matching entries with their topic, title, and content. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |