aifmt
Provides rendering profiles optimized for GitHub's emoji rendering (2.5 monospace columns) to ensure proper alignment in visual text content such as boxes, tables, and diagrams.
Allows generation of diagrams using Mermaid syntax via the generate tool, converting Mermaid definitions into visual diagrams.
1. Click on "Install Server".
2. Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
3. In the chat, type `@` followed by the MCP server name and your instructions, e.g., "`@aifmt` Fix this misaligned table: | Item | Qty |
| Apple | 3 |"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a [step-by-step guide with screenshots](https://glama.ai/blog/2025-07-08-how-to-install-and-use-mcp-servers).aifmt
Make visual text content just work.
An MCP server that fixes, validates, and generates visual text content for AI coding assistants.
LLMs can't count visual columns. len("📦") returns 1, but it renders wider. Every AI-generated box, table, and tree diagram ends up misaligned. aifmt fixes it.
Install
pip install aifmtRelated MCP server: Vison-MCP
Configure
Add to your MCP client (Copilot CLI, Claude Code, Cursor, VS Code, Windsurf, Gemini CLI):
{
"mcpServers": {
"aifmt": {
"command": "uvx",
"args": ["aifmt"]
}
}
}Tools
Tool | Description |
| Repair misaligned boxes, tables, bars, and tree diagrams |
| Check for alignment issues without modifying |
| Create diagrams via Mermaid or PlantUML |
| List rendering profiles (GitHub, terminal, custom) |
Key Insight
GitHub renders emoji at 2.5 monospace columns — not 2.0. aifmt uses rendering-profile-aware width calculation to handle this. Read how we discovered it →
Documentation
📖 ericchansen.github.io/aifmt
Getting Started — Install and configure
Tools Reference — fix, validate, generate, targets
Python API — Use the library directly
The 2.5 Discovery — Fractional emoji width story
Contributing — Development setup and guidelines
License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server that adds image recognition to AI coding tools, enabling them to analyze images, extract text, and perform OCR via multimodal APIs and traditional OCR engines.Last updated312MIT
- AlicenseAqualityBmaintenanceMCP server for vision AI — screenshots to code, OCR, error diagnosis, and image analysis via OpenAI-compatible APIs.Last updated82MIT
- Alicense-qualityDmaintenanceAn MCP server for verifying AI-generated code quality, security, and performance, addressing trust gaps in AI coding assistants.Last updatedMIT
Related MCP Connectors
MCP server for Wan AI video generation
MCP server for Flux AI image generation
MCP server for NanoBanana AI image generation and editing
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ericchansen/aifmt'
If you have feedback or need assistance with the MCP directory API, please join our Discord server