Frontmatter MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FRONTMATTER_BASE_DIR | Yes | Base directory for files | |
| FRONTMATTER_CACHE_DIR | No | Cache directory for embeddings | FRONTMATTER_BASE_DIR/.frontmatter-mcp |
| FRONTMATTER_EMBEDDING_MODEL | No | Embedding model name | cl-nagoya/ruri-v3-30m |
| FRONTMATTER_ENABLE_SEMANTIC | No | Enable semantic search | false |
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
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| query_inspectB | Get frontmatter schema from files matching glob pattern. |
| queryC | Query frontmatter with DuckDB SQL. |
| updateA | Update frontmatter properties in a single file. Only the changed keys are rewritten; other keys, comments, quoting, list style, and the body stay as they are. |
| batch_updateC | Update frontmatter properties in multiple files matching glob pattern. |
| batch_array_addB | Add a value to an array property in multiple files. |
| batch_array_removeC | Remove a value from an array property in multiple files. |
| batch_array_replaceC | Replace a value in an array property in multiple files. |
| batch_array_sortC | Sort an array property in multiple files. |
| batch_array_uniqueC | Remove duplicate values from an array property in multiple files. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
Most tools are clearly distinct: update vs batch_update differs by scope, and the batch_array_* tools each perform a different array operation. The main ambiguity is between query and query_inspect, which both involve querying and could be confused at selection time, though their descriptions clarify the difference.
The batch_ and batch_array_ prefixes are used consistently, and operation names like add/remove/replace/unique are predictable. However, query_inspect is an outlier pattern, and the lone query and update names break the otherwise clear scope-prefix convention.
Nine tools is well-scoped for a frontmatter inspection, querying, and editing server. Each tool covers a distinct operation, and the set avoids both thinness and excessive surface area.
The surface covers schema inspection, SQL querying, single-file updates, batch updates, and common batch array operations. Minor gaps remain, such as explicit property deletion/renaming and single-file array helpers, but agents can likely work around these with update and query.