# StayPut

> StayPut is an open-source MCP server for files and documents. Merge, split, rotate and number PDFs and strip photo GPS locally, with nothing uploaded. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted, macOS, Windows, Linux
- **Website:** https://stayput.dev/mcp
- **Repository:** https://github.com/keenanlk/stayput/tree/HEAD/mcp
- **MCP Registry name:** io.github.keenanlk/stayput
- **Categories:** files and documents, developer tools
- **Listing updated:** 2026-11-16

## About

Every operation runs on your own disk using the same code as the Stayput website, and the server makes no network requests, a claim the README says you can check in the source. Each tool writes a new file and returns its path; originals are never changed and existing files never overwritten, so you get a numbered copy instead.

Nine tools handle merging PDFs in a named order, extracting or reordering pages, splitting by page or every N pages, rotating by 90, 180 or 270 degrees, stamping page numbers like Page 3 of 12, reading page count and size, turning JPG and PNG into a PDF and inspecting or stripping EXIF, GPS and XMP metadata without re-encoding. Password-protected PDFs are unlocked locally when a password is supplied.

HEIC, WebP and AVIF conversion, compression, PDF to image and signing stay on the website. It needs Node.js 20 or newer and is MIT licensed.

## Features

- **Local processing:** No uploads and no network calls.
- **PDF editing:** Merge, extract, split, rotate and number pages.
- **Photo privacy:** Inspect and strip GPS and EXIF.
- **Image to PDF:** Combine JPG and PNG without recompression.
- **Safe outputs:** Always writes new files.
- **Encrypted PDFs:** Unlock locally with a password.

## Good for

- Merge two invoices in Downloads
- Pull pages 2 to 5 from a contract
- Check if a photo reveals your location
- Number thesis pages starting on page 3

## Install

### Claude Code (Terminal)

```sh
claude mcp add stayput -- npx -y stayput-mcp
```

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "stayput": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "stayput-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `merge_pdfs`: Combine PDFs
- `extract_pdf_pages`: Keep, reorder or drop pages
- `split_pdf`: Split by page or every N pages
- `rotate_pdf`: Rotate pages
- `number_pdf_pages`: Stamp page numbers
- `pdf_info`: Page count, sizes and title
- `images_to_pdf`: Images into one PDF
- `inspect_image_metadata`: Show hidden photo metadata
- `strip_image_metadata`: Copy a photo without EXIF, GPS or XMP

## FAQ

### Are files uploaded?

No, nothing leaves your machine.

### Does it overwrite files?

No, it writes a new copy.

### What does it need?

Node.js 20 or newer.

### Is it open source?

Yes, MIT.

### Is StayPut free?

Yes. StayPut is open source, so you can use and self-host it for free.

### How do I add StayPut to Claude Code?

Run this command in your terminal: claude mcp add stayput -- npx -y stayput-mcp

### What are the best alternatives to StayPut?

The closest alternatives to StayPut 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/stayput
