Selvedge
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SELVEDGE_DB | No | Path to the SQLite database file. Overrides project and global defaults. | |
| SELVEDGE_QUIET | No | Set to '1' to suppress warnings about using global database fallback. | |
| SELVEDGE_LOG_LEVEL | No | Logging level for the Selvedge server. One of DEBUG, INFO, WARNING, ERROR. | WARNING |
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 |
|---|---|
| log_changeA | Record a change to a codebase entity. Call this immediately after making any meaningful change. The event is
written to the local SQLite store and returned with its assigned id and
timestamp. If the reasoning fails the quality validator (empty, too
short, or a generic placeholder), or the entity_path doesn't match the
usual shape for its entity_type, the result includes a Renames: pass the new path in Superseding a reverted decision: when a reverted change becomes correct
again (the constraint that killed it no longer holds), do NOT delete or
edit history — log with On validation failure (invalid change_type, missing entity_path,
|
| diffA | Get change history for a codebase entity, newest first. Supports prefix matching — e.g. 'users' returns all events for the users
table and any users.* column. Each event carries a derived
|
| blameA | Most recent change to an entity — what changed, when, who, why. Like |
| historyA | Filtered change history across all entities, newest first. Combine |
| changesetA | All events that share a Use to reconstruct the full scope of a feature or task across multiple
entities. If the changeset has no events, returns
|
| searchA | Full-text search across entity paths, diffs, reasoning, and agents. Useful for questions like 'what changes were made for the billing feature?', 'which columns were added by cursor?', or 'show everything related to authentication'. |
| prior_attemptsA | Prior change attempts on an entity, each with an inferred outcome. Call this BEFORE editing an entity. If the same change was tried before
and reverted, you get the prior Each result is a change event plus the trail fields: Conservative by design — |
| stale_decisionsA | Decisions due for a revisit — past their date, or with a triggered stale condition. Two deterministic rules. Date-based ( Each result is the change event plus |
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
- 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/masondelan/selvedge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server