Skip to content

MCP integration #12

@danielrothmann

Description

@danielrothmann

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions