Beaunifi
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Beaunifibeautify this minified JS file"
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.
Beaunifi
An MCP (Model Context Protocol) server that intelligently beautifies and minifies JavaScript and CSS files. It can detect if a file is minified and automatically beautify it before processing, then re-minify it afterward.
Features
π§ Beautify JS/CSS code for easier editing
π¦ Minify JS/CSS code for production
π§ Auto-detect minified files and handle them intelligently
π Workflow mode: Beautify β Edit β Minify (automatic)
π MCP Compatible: Works with Claude Code, Cursor, Antigravity, and more
Related MCP server: ellmos-codecommander-mcp
Installation
Using UV (Recommended)
# Navigate to the project directory
cd E:\Projects\OSP\beaunifi
# Create virtual environment and install dependencies
uv venv
uv pip install -e ".[dev]"Using pip
pip install -e .MCP Configuration
Claude Code
Add to your Claude Code settings:
{
"mcpServers": {
"beaunifi": {
"command": "uv",
"args": [
"run",
"--python",
"python",
"-m",
"beaunifi.server"
],
"cwd": "E:\\Projects\\OSP\\beaunifi"
}
}
}Or use the provided config file:
# Copy the config to Claude Code directory
cp mcp-configs/claude-code.json ~/.claude/mcp-servers/beaunifi.jsonCursor
Add to your Cursor settings (~/.cursor/mcp.json):
{
"mcpServers": {
"beaunifi": {
"command": "uv",
"args": [
"run",
"--python",
"python",
"-m",
"beaunifi.server"
],
"cwd": "E:\\Projects\\OSP\\beaunifi"
}
}
}Antigravity
Add to your Antigravity MCP config:
{
"name": "beaunifi",
"transport": {
"type": "stdio",
"command": "uv",
"args": ["run", "--python", "python", "-m", "beaunifi.server"],
"cwd": "E:\\Projects\\OSP\\beaunifi"
}
}Available Tools
1. beautify_js
Beautify JavaScript code
Parameters:
code(string): JavaScript code to beautifyindent_size(number, optional): Indentation size (default: 2)
2. minify_js
Minify JavaScript code
Parameters:
code(string): JavaScript code to minify
3. beautify_css
Beautify CSS code
Parameters:
code(string): CSS code to beautifyindent_size(number, optional): Indentation size (default: 2)
4. minify_css
Minify CSS code
Parameters:
code(string): CSS code to minify
5. is_minified
Check if code appears to be minified
Parameters:
code(string): Code to checkfile_type(string): Either "js" or "css"
6. smart_process
Smart workflow: auto-detect minification, beautify if needed, and re-minify
Parameters:
code(string): Code to processfile_type(string): Either "js" or "css"action(string): Action to perform ("read", "edit", or "write")modifications(string, optional): Modifications to apply (for "edit" action)
Usage Examples
Direct Python Usage
from beaunifi.utils import beautify_js, minify_js, is_minified
# Check if code is minified
code = "function test(){return 1}"
if is_minified(code, "js"):
pretty = beautify_js(code)
# ... make edits ...
final = minify_js(pretty)MCP Tool Usage
When using with an MCP client:
"Please beautify this minified JS file: [code]"
"Minify this CSS for production: [code]"
"Smart process this file - detect if minified and handle appropriately: [code]"Smart Process Workflow
The smart_process tool provides an intelligent workflow:
Detect if the code is minified
Beautify if minified (for easier editing)
Perform the requested action (read/edit)
Re-minify if the original was minified
This is perfect for AI assistants that need to edit minified files without losing the minification.
Development
# Run tests
uv run pytest
# Type checking
uv run mypy src/beaunifi
# Linting
uv run ruff check src/beaunifiLicense
MIT
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
- AlicenseBqualityCmaintenanceAn MCP server that provides utilities for web developers to automate API integration, convert Figma designs to code, and optimize development workflows with tools for asset management and code generation.81238Mozilla Public 2.0
- AlicenseAqualityAmaintenanceDeveloper-focused MCP server for code analysis and local engineering workflows. Provides tools for JSON repair, encoding fixes, import organization, format conversion, diff inspection, and regex testing.226323MIT
- Alicense-qualityDmaintenanceAn MCP server for intelligently reading Java source code, supporting extraction from Maven dependencies and local projects with dual decompilers.155Apache 2.0
- AlicenseAqualityDmaintenanceA lightweight MCP server that provides 40 tools for TypeScript/JavaScript refactoring and code intelligence, directly mapping to TypeScript's tsserver protocol commands for accurate structural changes and workspace analysis.40513MIT
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personalβ¦
MCP server for Tinify image optimization β one tool, max optimization
MCP server for understanding Javascript internals from ECMAScript specification.
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/hussainbiedouh/beaunifi'
If you have feedback or need assistance with the MCP directory API, please join our Discord server