-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Motivation
Firm works well as a plain-text business infrastructure layer for LLMs. While a chatbot can interact with Firm DSL directly and use the CLI through tool calls, adding MCP support would open the possibility of using a chatbot as "notetaker" using voice commands in the Claude app, etc.
This is a workflow I'd like to experiment with supporting.
Proposal
An MCP server that operates on a given firm workspace. It would expose actions for LLMs to add, edit and query entities. The official Rust MCP SDK could potentially be used to scaffold this.
Backward compatibility
Wouldn't break compatibility, I think.
Considerations
Bidirectional DSL edit is not yet supported. That would be required in order to let LLMs edit existing entities using the Firm tooling, unless they are given access to the DSL directly.