Metadata-Version: 2.4
Name: aryn-mcp-server
Version: 0.1.8
Summary: The Official Local Aryn MCP Server
Author: Aryn AI
Author-email: Aryn AI <info@aryn.ai>
License-Expression: Apache-2.0
License-File: LICENSE
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Dist: mcp>=1.9.4,<2.0.0
Requires-Dist: pillow>=11.2.1,<12.0.0
Requires-Dist: pydantic>=2.11.7,<3.0.0
Requires-Dist: aryn-sdk>=0.2.8,<0.3.0
Requires-Python: >=3.12
Description-Content-Type: text/markdown

# Aryn Local MCP Server

## Installation

### Prerequisites
* Python 3.12 or higher. Install it [here](https://www.python.org/downloads/)
* [uv](https://github.com/astral-sh/uv) - Fast Python package installer and resolver
* An Aryn API key. You can create an account and receive a key for free [here](https://app.aryn.ai/)
* This MCP server works best in combination with a file system MCP server (see installation instructions below)
* An MCP server client like Claude Desktop (Recommended) or Claude Code

### Filesystem MCP
The Aryn MCP server requires absolute file paths to pdfs you want processed as inputs, so it works best when paired with an MCP server that can automatically manage files on your computer. Here is how to install one for Claude Desktop:
![inc_1](./images/install_inc_1.png)
![inc_2](./images/install_inc_2.png)
![inc_3](./images/install_inc_3.png)
![inc_4](./images/install_inc_4.png)
![inc_5](./images/install_inc_5.png)

More documentation for the filesystem MCP server can be found [here](https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem).

### One-Click Install for Claude Desktop (Claude Desktop only)

Instead of manually installing this MCP server, Claude Desktop allows for an easy one-click extension:

**Download the extension**: Retrieve the provided `.dxt` file from this repository, or download it [here](https://github.com/aryn-ai/mcp-server/releases/latest/download/mcp-server-extension.dxt).


Open the Claude Desktop settings
![inc_6](./images/install_inc_6.png)
![inc_7](./images/install_inc_7.png)
![inc_8](./images/install_inc_8.png)

**Find the folder where the .dxt extension was downloaded and double click to install. Follow the installation steps when prompted**

![inc_9](./images/install_inc_9.png)

**Now you're ready to go!**

For more details, refer to the [Claude Desktop Extensions documentation](https://www.anthropic.com/engineering/desktop-extensions).

### Manual Installation
If you're manually installing this MCP server, you need to install `uv` first, which provides the `uvx` command. Install it [here](https://docs.astral.sh/uv/getting-started/installation/).

After installation, you'll have access to both `uv` and `uvx` commands. The `uvx` command is what you'll use to run this MCP server.

Next, add the following configuration to your MCP client config file

```json
{
  "mcpServers": {
    "Aryn Local MCP Server": {
      "command": "uvx",
      "args": [
        "aryn-mcp-server"
      ],
      "env": {
        "ARYN_API_KEY": "YOUR_ARYN_API_KEY",
        "ARYN_MCP_OUTPUT_DIR": "<full path to directory where files will get saved (ie Users/username/Downloads)>"
      }
    }
  }
}
```

For client specific config implementation, see below:
* [Claude](https://docs.anthropic.com/en/docs/claude-code/mcp#use-mcp-prompts-as-slash-commands)
* [Cursor](https://docs.cursor.com/en/context/mcp)

### Troubleshooting

If you encounter `spawn uvx ENOENT` errors:

1. **Verify uv installation**: Run `which uvx` in your terminal to find the correct path

2. **Use the full path to uv**: Replace `"command": "uvx"` with `"command": "<full path to uvx>"`
