Skip to main content
Glama

mcp-formatter

Format code files in a directory using Prettier to maintain consistent style and improve readability across development projects.

Instructions

Execute mcp-formatter: npx prettier --write .

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directoryNoDirectory to run the command in (optional, defaults to current directory)

Latest Blog Posts

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/caroline-davis/mcp-basics'

If you have feedback or need assistance with the MCP directory API, please join our Discord server