What You’ll Learn
By the end of this tutorial, you’ll be able to:- Install the Aryn MCP Server extension in Claude Desktop
- Configure your API key and settings
- List your Aryn DocSets through natural conversation
- Partition and process PDF documents using file paths
Step 1: Download the Extension
First, download the appropriate.dxt
extension file for your system:
The
.dxt
file is a Claude Desktop extension that automatically configures the MCP server for you.Step 2: Install the Extension
-
Locate the downloaded file in your Downloads folder (usually named
mcp-server-macos-latest.dxt
ormcp-server-ubuntu-latest.dxt
) -
Double-click the
.dxt
file to begin installation - Follow the installation prompts - the extension will automatically configure itself
- Restart Claude Desktop when prompted
Make sure Claude Desktop is completely closed before installing the extension. You may need to quit it from the menu bar or dock.
Step 3: Configure Your API Key
After restarting Claude Desktop:-
Open Claude Desktop Settings
- On macOS:
Claude Desktop → Preferences
orCmd + ,
- On Linux:
File → Preferences
orCtrl + ,
- On macOS:
- Navigate to the MCP Servers section
- Find “Aryn Local MCP Server” in the list of installed servers
-
Add your API key:
- Click the settings/edit button next to the Aryn MCP Server
- Enter your Aryn API key in the
ARYN_API_KEY
field - If you don’t have an API key, get one free here
-
Set output directory (optional):
- Set
ARYN_MCP_OUTPUT_DIR
to your preferred download location - Default is usually your Downloads folder
- Set
- Enable the server by toggling the switch to “On”
- Save and restart Claude Desktop
Your API key should look like:
ey1234567890abcdef...
and start with ey
Step 4: Verify Installation
Let’s test that everything is working properly:- Start a new conversation in Claude Desktop
-
Ask Claude to list your DocSets:
-
Expected response: Claude should use the MCP server to call the
list_aryn_docsets
function and show you any existing DocSets, or indicate that you don’t have any yet.
If this is your first time using Aryn, you might not have any DocSets yet - that’s perfectly normal!
Step 5: Process Your First Document
Now let’s partition a PDF document. For this example, we’ll use a sample document path:- Prepare a PDF file on your computer (or use any existing PDF)
-
Ask Claude to partition the document:
Replace
/Users/yourname/Documents/sample-report.pdf
with the actual path to your PDF file. -
Claude will process the document using the
partition_pdf
function and return:- Structured text content
- Tables (if any)
- Images (if any)
- Metadata about the document
- Review the results - you’ll see the extracted content organized by type (text, tables, images)
Step 6: Advanced Usage
Now that you have the basics working, try these more advanced features:Create a DocSet
Add Documents to DocSets
Search Across Documents
Extract Custom Properties
Troubleshooting
Extension won't install
Extension won't install
- Make sure Claude Desktop is completely closed
- Try downloading the extension again
- Check that you’re using the correct version for your operating system
API key errors
API key errors
- Verify your API key is valid at app.aryn.ai
- Make sure the key starts with
ak-
- Check there are no extra spaces before or after the key
File path issues
File path issues
- Use absolute file paths (start with
/Users/
on macOS or/home/
on Linux) - Make sure the file exists and is readable
- Ensure the file is a supported format (PDF, DOCX, etc.)
MCP server not responding
MCP server not responding
- Restart Claude Desktop
- Check that the server is enabled in settings
- Try disabling and re-enabling the server
Next Steps
🎉 Congratulations! You’ve successfully set up and used the Aryn MCP Server. What to try next:- Explore more document processing options
- Learn about DocSet management
- Check out the full MCP server documentation