Provides tools for validating TypeScript code with @derive decorators, expanding Macroforge macros to show generated code, and accessing Macroforge documentation and macro information.
@macroforge/mcp-server
MCP server for Macroforge documentation and code analysis
Overview
@macroforge/mcp-server
Macroforge MCP (Model Context Protocol) Server
This module provides the main entry point for the Macroforge MCP server, which enables AI assistants and other MCP clients to access Macroforge documentation, validate code with @derive decorators, and expand macros.
The server communicates over stdio transport and exposes the following tools:
list-sections- List available documentation sectionsget-documentation- Retrieve documentation contentmacroforge-autofixer- Validate TypeScript code with @derive decoratorsexpand-code- Expand Macroforge macros and show generated codeget-macro-info- Get documentation for macros and decorators
@example
Installation
Examples
Documentation
See the full documentation on the Macroforge website.
License
MIT