Prettier MCP Server

Stabledevelopment
60 starsTypeScriptcommunity
GitHub
About

Overview

The Prettier MCP Server enables AI agents to format code using Prettier. It supports JavaScript, TypeScript, CSS, HTML, JSON, Markdown, and many other languages. Provides tools for formatting files, checking formatting status, and resolving Prettier configuration.
Capabilities

Tools & Capabilities

format

Format code using Prettier

check

Check if code is already formatted

get_config

Get the resolved Prettier configuration

Setup

Installation

bash
Install
npx -y mcp-server-prettier
Examples

Example Usage

javascript
Usage
{
  "mcpServers": {
    "prettier": {
      "command": "npx",
      "args": ["-y", "mcp-server-prettier"]
    }
  }
}

Quick Info

Authorcommunity
LanguageTypeScript
StatusStable
Stars 60
Last UpdatedFeb 12, 2026

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow.

Get in Touch

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow. From proprietary data sources to internal tools, we have you covered.

Contact Us
CortexAgent Customer Service

Want to skip the form?

Our team is available to help you get started with CortexAgent.

This chat may be recorded for quality assurance. You can view our Privacy Policy.