
Figcraft - Code-driven SVG Diagram Generator
@zeqinlee
关于 Figcraft - Code-driven SVG Diagram Generator
Code-driven SVG diagram library for TypeScript/Node.js. Generate publication-quality architecture diagrams, flowcharts, and neural network diagrams with just a few lines of code. Features 10
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"figcraft": {
"command": "npx",
"args": [
"figcraft-mcp"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Figcraft - Code-driven SVG Diagram Generator?
Figcraft is a code-driven SVG diagram generator that runs entirely in Node.js and exposes two MCP tools: create_diagram for generating SVG diagrams from TypeScript code, and get_element_types for listing all available shapes and parameters. It is built for developers who need to programmatically create diagrams without a browser dependency.
How to use Figcraft - Code-driven SVG Diagram Generator?
Install via npm install figcraft, then invoke the MCP tools create_diagram (to generate diagrams from TypeScript code) or get_element_types (to see available shapes and their parameters). Refer to the online documentation at https://figcraft.xflowing.com/docs.html for full usage details.
Key features of Figcraft - Code-driven SVG Diagram Generator
- 10 built-in shapes: Rect, Circle, Diamond, Trapezoid, Cylinder, Cuboid, Sphere, Stack, Text, Image
- 11 arrow head styles with open variants
- Smart auto-routing with obstacle avoidance (v0.2.0+)
- Layout helpers:
row(),col(),grid(),group() - Export to SVG, PNG, JPG, WebP, PDF
- Pure Node.js — no browser required
Use cases of Figcraft - Code-driven SVG Diagram Generator
- Generate flowcharts and architectural diagrams programmatically from TypeScript code
- Automate diagram creation in CI/CD pipelines or backend services
- Create diagrams with custom layouts using built-in layout helpers
- Export diagrams to multiple raster and vector formats for documentation
- Integrate diagram generation into MCP-compatible assistants and workflows
FAQ from Figcraft - Code-driven SVG Diagram Generator
What shapes are available in Figcraft?
Figcraft includes 10 built-in shapes: Rect, Circle, Diamond, Trapezoid, Cylinder, Cuboid, Sphere, Stack, Text, and Image.
Does Figcraft require a browser or headless browser?
No — Figcraft is pure Node.js and runs entirely server-side with no browser dependency.
What export formats are supported?
Figcraft can export diagrams to SVG, PNG, JPG, WebP, and PDF.
How do I install Figcraft?
Installation is done via npm: npm install figcraft. No additional runtime dependencies are required.
Does Figcraft support automatic routing of connectors?
Yes, as of version v0.2.0+, Figcraft provides smart auto-routing with obstacle avoidance for connector lines.
开发工具 分类下的更多 MCP 服务器
Huoshan Test
volcengineSerena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
MCP Containers
metorialConnect any AI model to 1200+ integrations (MCP, CLI, API)
Grafana MCP server
grafanaMCP server for Grafana
test
cloudwegoThe ultimate LLM/AI application development framework in Go.
评论