Skip to main content
Glama

MCP Basics

mcp-formatter

Format code in your project directory using Prettier. Avoid individual installations by leveraging MCP Basics server for consistent formatting across Cline projects.

Instructions

Execute mcp-formatter: npx prettier --write .

Input Schema

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

Input Schema (JSON Schema)

{ "properties": { "directory": { "description": "Directory to run the command in (optional, defaults to current directory)", "type": "string" } }, "required": [], "type": "object" }
Install Server

Other Tools from MCP Basics

Related Tools

    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