Expand description
Boost — Anvilforge’s AI-agent toolkit.
Boost adds an MCP server to your Anvilforge app so AI agents (Claude Code, Cursor, Continue, …) can introspect routes, models, components, schema, and logs without grepping the source tree.
Two surfaces:
- Library — your app calls
boost::serve(&app).awaitfrom a"mcp"subcommand case inmain.rs. The server runs on stdin/stdout and stays alive until the client disconnects. - CLI integration —
anvil mcpinvokes the user’s binary with themcpsubcommand and shuttles JSON-RPC for the editor.anvil boost:installwritesAGENTS.mdand.mcp.jsonto bootstrap the editor.
§Built-in tools
list-routes, list-migrations, list-models, list-components,
application-info, get-config, database-schema, database-query,
read-log-entries, last-error, search-docs, list-available-commands.
Re-exports§
Modules§
- browser
- Lazy shared Chromium instance used by the browser MCP tools.
- install
anvil boost:install— write the AGENTS.md + editor MCP config files an AI agent needs to discover and use Boost.- log_
capture - In-memory log capture layer for
read-log-entries/last-error. - protocol
- MCP wire types — JSON-RPC 2.0 over stdio, newline-delimited.
- server
- The MCP server. Reads newline-delimited JSON-RPC requests from stdin, dispatches to the tool registry, writes responses to stdout.
- tool
- The
Tooltrait — every MCP tool exposed by Boost implements this. - tools
- Built-in MCP tools.