# kodey-pdf-mcp

MCP server for PDF operations — detect form fields, fill forms, and upload to Cloudflare R2

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add kodey_ai/kodey-pdf-mcp

# Browse available tools
npx -y @smithery/cli@latest tool list kodey_ai/kodey-pdf-mcp

# Get full schema for a tool
npx -y @smithery/cli@latest tool get kodey_ai/kodey-pdf-mcp detect_form_fields

# Call a tool
npx -y @smithery/cli@latest tool call kodey_ai/kodey-pdf-mcp detect_form_fields '{}'
```

## Direct MCP Connection

Endpoint: `https://kodey-pdf-mcp--kodey_ai.run.tools`

## Tools (2)

- `detect_form_fields` — Detect and list all form fields in a PDF file. Accepts file path or URL.
- `fill_form_fields` — Fill form fields in a PDF and upload to Cloudflare R2. Returns a pre-signed URL to download the filled PDF.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get kodey_ai/kodey-pdf-mcp <tool-name>
```
