# mendapi [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/mendapi/mendapi  
**GitHub Stars:** 1  
**npm Downloads (last month):** 385  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mendapi

## Description
Detect API breaking changes, scan your codebase for impact, and draft the fix. Runs locally.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mendapi": {
    "command": "npx",
    "args": ["-y","mendapi"]
  }
}
```

## Documentation

## What the mendapi MCP server does

The mendapi MCP server exposes mendapi's local API-maintenance workflow to an AI coding agent. It can inspect a repository for affected dependencies, identify upstream breaking changes that match the code in use, propose migration edits, and report available changes. Results use the same versioned JSON format as the command-line interface.

The scanner looks beyond simple text matching. It considers SDK imports, API hosts, and environment variables, then reports affected files, lines, and symbols with confidence levels. An optional review step can apply an LLM-based semantic check to medium-confidence findings. The fixer produces a diff first and does not modify files unless the user explicitly applies the changes.

## How it works

Run `mendapi sync` separately to fetch the current upstream change feed into local SQLite. That is the network-enabled part of the workflow. After synchronization, the MCP process operates on the local database and repository files. The scanner, fixer, and review commands contain no network code according to the project’s stated security model.

The server starts over standard input and output with `mendapi mcp`. Its tools invoke the local CLI behavior rather than a hosted service. It supports the current MCP revision described by the project and retains compatibility with older clients using the earlier initialization handshake.

## Setup and configuration

Node.js 22.13 or later is required, and the package has no npm dependencies. With the package available through `npx`, register the server with Claude Code using:

```bash
claude mcp add mendapi -- npx mendapi mcp
```

For Cursor or another JSON-configured MCP client, define a server whose command is `npx` and whose argument is `mendapi mcp`.

## Tools and capabilities

The mendapi MCP server exposes these tools:

- `scan` checks the repository for code affected by recorded breaking changes.
- `deps` examines the dependencies or provider usage detected in the repository.
- `fix` generates migration changes from an impact report.
- `revalidate` supports checking findings again against the local data and code.
- `changes` retrieves recorded API changes.

Fix output is intended for review. The command-line workflow can also create a branch, commit, and PR-ready description, but pushing is not implied. The available migration rules include provider-specific packs such as OpenAI, AWS, Cloudflare, PayPal, Vercel, Stripe, and Shopify examples documented by the project.

## Limitations and notes

The MCP server is offline-first after the change database has been synchronized. It cannot provide fresher upstream information until `sync` is run. Its findings depend on the providers and migration rules represented in the local change feed, rather than arbitrary APIs.

Source code remains local by default. The project describes optional reporting as an explicit, separate operation with metadata-only payload construction and secret redaction; that reporting behavior is not required by the MCP setup. GitHub pull-request automation also requires the separately described GitHub App permissions and is not implied by starting the MCP server.

_Full upstream README: https://allmcps.com/mcp/mendapi/readme_

