# FatalGuard

> FatalGuard is a freemium MCP server for developer tools. Read-only MCP endpoint inside WordPress for PHP error logs and captured fatal errors. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** self-hosted, API
- **Website:** https://wordpress.org/plugins/fatalguard/
- **Repository:** https://github.com/zinoodev85/fatalguard
- **MCP Registry name:** io.github.zinoodev85/fatalguard
- **Categories:** developer tools
- **Listing updated:** 2026-11-14

## About

The server is not a separate process: it is a route added to a WordPress site by the FatalGuard plugin, at `/wp-json/fatalguard/v1/mcp`. You generate an API key in wp-admin under FatalGuard, then pass it in an `X-FatalGuard-Key` header, which the README prefers over a bearer header because some Apache hosts strip Authorization.

Once connected, an assistant can answer questions such as what is crashing the site or which warnings keep coming back, using the site's own debug.log, PHP error log and captured fatals. Secrets are redacted from log text, and all six tools are read-only, so the assistant cannot change anything on the site. The key can be revoked from the same admin page.

The plugin itself also shows logs in an admin-bar viewer, groups repeated errors, and sends fatal alerts to Telegram with a one-tap recovery link that deactivates the crashing plugin. Telegram alerts are free; Slack, email and Discord alerts are in the Pro version. The MCP route works while WordPress can still load; for a fully down site the README points to the recovery link instead. A Docker sandbox with demo errors is included for trying the tools without a site.

## Features

- **Six read-only tools:** Exposes status, log sources, log tails, grouped errors and recent fatals without write access.
- **Per-site API key:** A revocable key generated in wp-admin and sent in an X-FatalGuard-Key header.
- **Secret redaction:** Database passwords, auth keys and tokens are scrubbed from logs before they are shown.
- **Grouped errors:** Repeated errors collapse into one entry with a count and last-seen time.
- **Fatal capture:** Records the message, file and line behind the WordPress critical-error screen.
- **Docker demo:** A sandbox WordPress with demo errors speaks MCP over stdio for a trial without a real site.

## Good for

- Ask an assistant why a WordPress site shows the critical-error page
- Review which PHP warnings recur most often
- Hand a developer's AI client log access without giving it write rights
- Triage a fatal error from a phone-friendly chat instead of FTP or SSH

## Tools

- `status`: Logging status and FatalGuard settings.
- `list_log_sources`: The logs FatalGuard can read, with their size.
- `tail_log`: The newest lines of one log, with secrets redacted.
- `list_errors`: Errors grouped with counts and last-seen time.
- `list_recent_fatals`: Recently captured fatal errors.
- `get_fatal`: One fatal error in detail.

## FAQ

### Can the AI change my site?

No. The README states all six tools are read-only.

### How do I authenticate?

Generate a key under FatalGuard, AI (MCP) in wp-admin and send it in the X-FatalGuard-Key header. It is shown once and can be revoked.

### Does it work if the site is completely down?

The MCP server works while WordPress can still load. For a fully down site the README recommends the recovery link from the fatal alert.

### Which clients are documented?

Claude Code, Cursor, VS Code and Claude Desktop through mcp-remote.

### What licence is it under?

The README says GPLv2 or later; the repository is a read-only mirror of the free plugin.

### Is FatalGuard free?

FatalGuard has a free plan, with paid plans for more usage or features.

### What are the best alternatives to FatalGuard?

The closest alternatives to FatalGuard are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/fatalguard
