What tools does Mcp Phpcs Server provide?
It provides `phpcs_check` (runs PHP_CodeSniffer) and `phpcbf_fix` (runs PHP Code Beautifier and Fixer). Both accept a required `path` parameter.
@larspohlmann
Basic information
A minimal Model Context Protocol (MCP) server implemented in pure PHP that exposes phpcs_check and phpcbf_fix.
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Mcp Phpcs Server is a Model Context Protocol (MCP) server implemented in pure PHP with no Composer dependencies. It provides two tools for PHP coding standards: phpcs_check runs PHP_CodeSniffer to report violations, and phpcbf_fix runs PHP Code Beautifier and Fixer to automatically fix them. Designed to be copied into any project, it communicates over JSON‑RPC 2.0 via STDIO.
Make the STDIo entrypoint executable (chmod +x path/to/bin/mcp-phpcs), then configure your MCP client to launch the server using the absolute path to bin/mcp-phpcs as the command. Optionally set environment variables MCP_PHPCS_PATH, MCP_PHPCBF_PATH, and MCP_PHPCS_RULESET in the client configuration (e.g., Claude Desktop’s mcpServers block) to specify binary paths and a ruleset file.
phpcs_check and phpcbf_fix toolsconfig/config.jsonphpcs.xml, phpcs.xml.dist, ruleset.xml)src/Domain, src/Application, src/Infrastructure)phpcbf_fixIt provides `phpcs_check` (runs PHP_CodeSniffer) and `phpcbf_fix` (runs PHP Code Beautifier and Fixer). Both accept a required `path` parameter.
Set the environment variables `MCP_PHPCS_PATH` and `MCP_PHPCBF_PATH` in your MCP client configuration. Defaults are `phpcs` and `phpcbf` on the system PATH.
No. The server is written in pure PHP and has no Composer dependencies. It only requires the `phpcs` and `phpcbf` binaries (from PHP_CodeSniffer) to be available.
If no `MCP_PHPCS_RULESET` is provided, the server searches upward from the current working directory for a file named `phpcs.xml`, `phpcs.xml.dist`, or `ruleset.xml`.
It speaks JSON‑RPC 2.0 over STDIN/STDOUT. All JSON‑RPC messages go to STDOUT; logs are written to STDERR.
Mandate Law is a law firm for AI products, agents, and the consumer apps they live in, built so coding agents can work with counsel directly. An agent can check whether a request is in scope and get the fixed fee (free a

Mail a real postal letter worldwide from a PDF or text. No account, pay per letter.

Connect your AI assistant to your own YOUB endurance training account. Read recorded activities with full analysis, planned sessions, race goals, wellness (HRV, sleep, resting HR) and your athletic profile. Create or mov

A free remote MCP server for The Living Bread. Bible passages read word for word from a stored public domain text with an evidence label, keyword search and cross references, real churches, gatherings and prayer groups w

B2B competitive intelligence, live sales battlecards, 5-axis ICP prospect fit scoring, and tech stack teardowns over MCP and REST with cited public-web evidence.
Comments