Folio
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LLM_MODEL | No | The model identifier for the LLM | ollama_chat/qwen2.5:7b |
| LLM_PROVIDER | No | The LLM provider (ollama, cerebras, openrouter, anthropic, openai) | ollama |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_rootsA | List the folders this assistant is allowed to access. Call this first to discover where files live. |
| list_dirB | List the entries (files and sub-folders) of a directory inside a granted root. |
| read_fileA | Read the full text contents of a file inside a granted root. |
| searchA | Search the documents for the SIGNIFICANT WORDS in your query (case-insensitive; a line matches when it contains those words, in any order — so 'free shipping' matches 'shipping is free'). Returns matching lines with file and line number. For a full natural-language question, prefer the 'answer' tool. |
| edit_fileA | Edit a file inside a granted root by replacing an exact string with a new string, then saving it to disk. |
| summarizeA | Summarize a file using the host's own LLM (via MCP sampling). Returns a concise summary of the file's key points. |
| answerA | USE THIS to answer any natural-language question about the documents (e.g. 'how long are backups kept?'). It retrieves the relevant lines across the granted files and has the host's LLM answer from them in one step. Prefer this over 'search' for questions. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| summarize | Summarize a file in a granted folder. |
| format | Reformat a file into clean, well-structured markdown (saved in place). |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| roots_resource | Return the granted root folders as a JSON array of absolute paths. The host can read this at startup to show "you've granted: ~/Documents/notes". |
| files_resource | Return every readable text file across all granted roots, as absolute paths. This powers the web UI's file list and the CLI's @-mention autocompletion — the same role `docs://documents` played in Module 2, but over real files. We include only text files; binaries are skipped. |
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/Shahrukh19S/folio-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server