Skip to content

MCP extensions#48

Merged
danielrothmann merged 4 commits into
mainfrom
feature/mcp_extensions
Feb 10, 2026
Merged

MCP extensions#48
danielrothmann merged 4 commits into
mainfrom
feature/mcp_extensions

Conversation

@danielrothmann
Copy link
Copy Markdown
Member

This PR adds three new MCP tools and improves error handling for add_entity, addressing common issues agents run into when working with Firm workspaces.

New tools:

  • source_tree — shows the workspace file layout as an indented tree, grouped by directory
  • delete_source — deletes .firm files with the same rollback/force safety pattern as write_source and replace_source
  • search_source — case-insensitive text search across all source files, returning matching lines with file paths and line numbers (truncates at 50 matches)

Improved:

  • add_entity datetime errors — clear message showing the correct RFC 3339 format and explicitly noting it differs from DSL format
  • add_entity tool description — now documents all field value formats upfront, so agents don't have to look up the DSL reference for JSON field conventions

@danielrothmann danielrothmann merged commit 8ca98b6 into main Feb 10, 2026
4 checks passed
@danielrothmann danielrothmann deleted the feature/mcp_extensions branch February 11, 2026 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant