Skip to main content
Glama

Iagon MCP Server

An MCP (Model Context Protocol) server for Iagon decentralized storage. This server enables Claude Code and other AI agents to upload, download, and manage files on Iagon's encrypted, sharded cloud storage.

Features

  • File Operations: Upload, download, list, delete, and search files

  • Folder Management: Create, list, and delete folders for organization

  • Batch Operations: Upload entire directories or multiple files at once

  • Storage Info: Check quota and usage statistics

  • 40MB File Limit Handling: Gracefully skips large files with clear messages

Related MCP server: FilDOS MCP Server

Quick Start

1. Generate an Iagon Access Token

  1. Log in to https://app.iagon.com

  2. Go to Settings

  3. Click Generate Token

  4. Copy and save the token securely

2. Install Dependencies

git clone https://github.com/montlouismane/iagon-mcp-server.git
cd iagon-mcp-server
npm install
npm run build

3. Configure Claude Code

Add to your Claude Code MCP settings (~/.claude/claude_desktop_config.json):

{
  "mcpServers": {
    "iagon": {
      "command": "node",
      "args": ["/path/to/iagon-mcp-server/dist/index.js"],
      "env": {
        "IAGON_ACCESS_TOKEN": "your-token-here"
      }
    }
  }
}

4. Restart Claude Code

Restart Claude Code to load the new MCP server. You should now see Iagon tools available.

Available Tools

File Operations

Tool

Description

iagon_upload_file

Upload a local file to Iagon storage

iagon_download_file

Download a file from Iagon to local path

iagon_list_files

List files in storage (paginated)

iagon_delete_file

Delete a file from storage

iagon_get_file_info

Get metadata for a specific file

iagon_search_files

Search files by name/pattern

Folder Operations

Tool

Description

iagon_create_folder

Create a folder for organization

iagon_list_folders

List folders

iagon_delete_folder

Delete a folder

Storage Management

Tool

Description

iagon_get_storage_info

Get storage quota and usage

Batch Operations

Tool

Description

iagon_upload_directory

Upload all files from a local directory

iagon_bulk_upload

Upload multiple files by path list

Usage Examples

Upload a video file

Upload the file at /Users/me/videos/project.mp4 to Iagon

Upload all MP4 files from a directory

Upload all .mp4 files from /Users/me/raw-footage to Iagon
List all files in my Iagon storage
Search for files containing "project-a" in the name

Check storage usage

Show my Iagon storage usage and quota

File Size Limits

Iagon has a 40MB per-file limit for its sharding process. Files larger than 40MB will be skipped with a helpful message suggesting to compress or split the file.

Environment Variables

Variable

Required

Description

IAGON_ACCESS_TOKEN

Yes

Your Iagon personal access token

IAGON_TRANSPORT

No

Transport mode: stdio (default) or http

PORT

No

HTTP server port when using HTTP transport (default: 3000)

Development

# Install dependencies
npm install

# Build
npm run build

# Run in development mode with auto-reload
npm run dev

# Clean build artifacts
npm run clean

Deploying to Iagon Compute

You can host this MCP server on Iagon's compute platform:

  1. Push this repo to GitHub

  2. Log in to https://app.iagon.com

  3. Go to Apps section

  4. Select a subscription plan

  5. Submit your GitHub repository URL and branch

  6. Set environment variables in the deployment config

  7. Access via the generated domain URL

About Iagon

Iagon is a decentralized storage and compute marketplace built on the Cardano blockchain. Files are encrypted, split into 6 shards using Reed-Solomon encoding, and distributed across multiple storage providers. Only 4 of 6 shards are needed to reconstruct the original file, providing redundancy.

License

MIT License - see LICENSE file.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Available Tools

12 tools
iagon_bulk_uploadBulk Upload Files to IagonA

Upload multiple specific files to Iagon storage.

This tool uploads a list of files by their paths. Files larger than 40MB will be skipped.

Args:

  • file_paths (string[], required): Array of absolute paths to files to upload (max 100)

  • folder_id (string, optional): ID of the destination folder in Iagon

Returns: Summary of uploads with success/failure status for each file.

Example: file_paths=["/Users/me/video1.mp4", "/Users/me/video2.mp4", "/Users/me/video3.mp4"]

Inputs: file_paths (required), folder_id.

iagon_create_folderCreate Folder in IagonB

Create a new folder in Iagon storage for organizing files.

Args:

  • name (string, required): Name for the new folder

  • parent_id (string, optional): ID of the parent folder (for nested folders)

Returns: Folder details including the new folder ID.

Example:

  • Create root folder: name="project-videos"

  • Create nested folder: name="raw-footage", parent_id="abc123"

Inputs: name (required), parent_id.

iagon_delete_fileDelete File from IagonA
DestructiveIdempotent

Delete a file from Iagon storage.

Warning: This action is permanent and cannot be undone.

Args:

  • file_id (string, required): ID of the file to delete

Returns: Success/failure status.

Inputs: file_id (required).

iagon_delete_folderDelete Folder from IagonA
DestructiveIdempotent

Delete a folder from Iagon storage.

Warning: This may also delete all files within the folder. This action is permanent.

Args:

  • folder_id (string, required): ID of the folder to delete

Returns: Success/failure status.

Inputs: folder_id (required).

iagon_download_fileDownload File from IagonB
Read-onlyIdempotent

Download a file from Iagon storage to your local filesystem.

Args:

  • file_id (string, required): ID of the file to download

  • local_path (string, required): Absolute path where the file should be saved

Returns: Success/failure status with download details.

Example:

  • file_id="abc123", local_path="/Users/me/downloads/video.mp4"

Inputs: file_id (required), local_path (required).

iagon_get_file_infoGet File InfoB
Read-onlyIdempotent

Get detailed metadata for a specific file in Iagon storage.

Args:

  • file_id (string, required): ID of the file

  • response_format ('markdown' | 'json'): Output format

Returns: File metadata including name, size, type, and timestamps.

Inputs: file_id (required), response_format.

iagon_get_storage_infoGet Storage InfoA
Read-onlyIdempotent

Get your Iagon storage quota and usage information.

Args:

  • response_format ('markdown' | 'json'): Output format

Returns: Storage statistics including used space, available space, and file/folder counts.

Inputs: response_format.

iagon_list_filesList Files in IagonB
Read-onlyIdempotent

List files stored in Iagon (paginated).

Args:

  • folder_id (string, optional): Filter by folder ID

  • limit (number, optional): Max results to return (default: 20, max: 100)

  • offset (number, optional): Skip results for pagination

  • response_format ('markdown' | 'json'): Output format

Returns: List of files with metadata (ID, name, size, creation date).

Inputs: limit, offset, folder_id, response_format.

iagon_list_foldersList Folders in IagonB
Read-onlyIdempotent

List folders in Iagon storage.

Args:

  • parent_id (string, optional): Filter by parent folder ID (omit for root folders)

  • response_format ('markdown' | 'json'): Output format

Returns: List of folders with metadata.

Inputs: parent_id, response_format.

iagon_search_filesSearch Files in IagonB
Read-onlyIdempotent

Search for files by name or pattern in Iagon storage.

Args:

  • query (string, required): Search string to match against file names

  • limit (number, optional): Max results (default: 20, max: 100)

  • offset (number, optional): Skip results for pagination

  • response_format ('markdown' | 'json'): Output format

Returns: Matching files with metadata.

Example:

  • Search for MP4 files: query=".mp4"

  • Search for project files: query="project-a"

Inputs: query (required), limit, offset, response_format.

iagon_upload_directoryUpload Directory to IagonA

Upload all files from a local directory to Iagon storage.

This tool scans a directory and uploads all matching files. Files larger than 40MB will be skipped.

Args:

  • local_directory (string, required): Absolute path to the local directory

  • folder_id (string, optional): ID of the destination folder in Iagon

  • include_pattern (string, optional): Glob pattern to filter files (e.g., ".mp4", ".mov")

  • recursive (boolean, optional): Include files from subdirectories (default: false)

Returns: Summary of uploads with success/failure status for each file.

Examples:

  • Upload all videos: local_directory="/Users/me/videos", include_pattern="*.mp4"

  • Upload recursively: local_directory="/Users/me/project", recursive=true

Inputs: local_directory (required), folder_id, recursive, include_pattern.

iagon_upload_fileUpload File to IagonA

Upload a local file to Iagon decentralized storage.

This tool uploads a file from your local filesystem to Iagon's encrypted, sharded storage. Files are split into 6 pieces and distributed across multiple providers for redundancy.

Important: Files larger than 40MB will be skipped with an error message, as this exceeds Iagon's sharding limit.

Args:

  • local_path (string, required): Absolute path to the file on your local system

  • remote_path (string, optional): Name/path for the file in Iagon (defaults to original filename)

  • folder_id (string, optional): ID of the folder to upload to

Returns: Success/failure status with file ID if successful.

Examples:

  • Upload a video: local_path="/Users/me/videos/clip.mp4"

  • Upload with custom name: local_path="/tmp/video.mp4", remote_path="project-a/final.mp4"

Inputs: local_path (required), folder_id, remote_path.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 12 tools

    Disambiguation4/5

    Most tools target a distinct resource+action pair, and the boundaries are clear from names alone. The one soft overlap is among the three ingest tools (iagon_upload_file, iagon_upload_directory, iagon_bulk_upload), which differ only by input shape (single path, directory + glob, array of paths); descriptions disambiguate them, but an agent could still misselect when uploading a single file from a folder.

    Naming Consistency5/5

    Every tool follows the same iagon_<verb>_<noun> snake_case pattern (list_files, upload_file, delete_folder, get_file_info, etc.). Prefixing with the server name keeps the set predictable and easy to scan.

    Tool Count5/5

    12 tools is squarely in the well-scoped range. Each tool earns its place, including the convenience bulk/directory uploads that map to real storage workflows rather than padding.

    Completeness4/5

    Core lifecycle is covered: upload/create, list, get info, download, search, delete for files; create/list/delete for folders; plus quota info. Notably missing are rename/move/copy operations for files and folders and a get-folder-info call, which would force workarounds like re-uploading.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers