Skip to main content
Glama
Picsha AI MCP Server

Picsha AI MCP Server

Official
by picsha-ai

@picsha-ai/mcp-server

The official Model Context Protocol (MCP) proxy server for the Picsha AI platform.

This package provides a secure, local stdio proxy that connects your LLM and AI agents (like Claude Desktop or OpenClaw) directly to your Picsha AI environment. By running locally, the server is natively enabled to securely read local files and utilize Picsha's direct-to-S3 upload pipelines.

Installation & Configuration

You do not need to install this package permanently. You can run it dynamically via npx.

Claude Desktop / OpenClaw

Add the following to your claude_desktop_config.json or openclaw.json:

{
  "mcpServers": {
    "picsha-ai": {
      "command": "npx",
      "args": [
        "-y",
        "@picsha-ai/mcp-server@latest"
      ],
      "env": {
        "PICSHA_API_TOKEN": "<YOUR_API_TOKEN_HERE>"
      }
    }
  }
}

Related MCP server: production-grade-mcp-agentic-system

Security & Multi-Tenancy

You can generate a PICSHA_API_TOKEN via your Picsha Admin Dashboard. By default, this token grants the AI agent administrative access across your entire organization's library.

Sandbox Mode (User Isolation): If you are embedding this MCP server for end-user Slack bots or customer facing SaaS products, you can dynamically restrict the agent's context to a specific user by injecting their User ID as an environment variable:

      "env": {
        "PICSHA_API_TOKEN": "<YOUR_API_TOKEN>",
        "PICSHA_EXTERNAL_USER_ID": "user_123"
      }

Available Tools

This MCP server provides the following capabilities to your LLM:

  • search_assets: Perform exact or hybrid semantic vector searches across your media.

  • get_asset: Retrieve deep metadata profiles for resources.

  • upload_asset: Automatically infers MIME types and effortlessly uploads local files into Picsha's asynchronous AI ingest pipeline.

  • generate_render_url: Provides on-the-fly image transformations and AI generative fill parameters.

  • trigger_url_ingest: Ingest public web media directly into the DAM.

  • moderate_asset, link_assets, create_dam_group, update_asset, delete_asset ...and more!

Troubleshooting

Claude Desktop Hangs or Fails to Connect

If you are using macOS and Claude Desktop gets stuck connecting to the MCP (or the tools never show up), it is likely due to npx dropping standard input/output streams. To fix this:

  1. Install the server globally instead of using npx:

    npm install -g @picsha-ai/mcp-server
  2. Update your claude_desktop_config.json to point directly to the installed binary:

    {
      "mcpServers": {
        "picsha-ai": {
          "command": "picsha-ai-mcp",
          "args": [],
          "env": {
            "PICSHA_API_TOKEN": "<YOUR_API_TOKEN_HERE>"
          }
        }
      }
    }
  3. Restart Claude Desktop.

Available Tools

14 tools
create_dam_groupA

Create a new Digital Asset Management (DAM) group/collection (folder) to organize assets.

Inputs: name (required), description.

delete_assetA

Permanently delete an asset from the database, search indexes, and physical storage.

Inputs: id (required).

escalate_to_supportA

Use this tool ONLY when you need to log a feature request, report a documentation gap, or escalate an issue to the engineering team. This will actually send an email to support@picsha.ai.

Inputs: subject (required), headline (required), message (required).

get_assetB

Retrieve detailed metadata and AI analysis results for a specific asset

Inputs: id (required).

get_rendered_asset_urlB

Generate a dynamic delivery URL for an asset with transformation parameters (e.g. width, height, format, smart crop)

Inputs: id (required), params (required).

list_recent_assetsB

List recently added assets in the Picsha platform. IMPORTANT: When replying to the user, ALWAYS format this as a clean Markdown table with columns for ID, Original Name, Status, and Date.

Inputs: limit.

moderate_assetB

Approve or reject a moderated asset pending manual review.

Inputs: id (required), action (required).

reanalyze_assetB

Manually trigger AI re-analysis on an existing asset to detect faces, objects, etc.

Inputs: id (required).

search_assetsA

Search for assets in the Picsha AI platform using vector or standard keyword search. Note: If your agent instance is sandboxed to a specific user via environment variables, this search will ONLY return assets owned by that specific user. You are securely retrieving their contextual assets.

Inputs: query (required), mode, threshold, sort.

summarize_assetB

Utilize Claude Sonnet via Amazon Bedrock to summarize documents on demand

Inputs: id (required).

trigger_url_ingestB

Ingest a public web asset directly into the Picsha AI platform by downloading and putting it through the ingestion pipeline.

Inputs: url (required), filename, config.

update_assetA

Update an asset's tags or custom metadata. Prefix a tag with a hyphen (e.g. '-discard') to remove it, or specify normally to add it.

Inputs: id (required), name, tags, metadata.

upload_assetA

Upload a local file directly to the Picsha AI platform. This acts as a proxy, fetching a pre-signed S3 URL and executing the PUT request automatically. If your agent is running with user sandboxing, this file will automatically be securely bound to that user's identity. Note: Uploading immediately triggers the asynchronous 'picsha-ai-ingest' pipeline which will extract metadata, generate thumbnails, and run AI analysis (faces, tags, bedrcock summaries). Therefore, the returned asset will initially be in a 'pending' state. You should use the 'get_asset' tool a few seconds after uploading to retrieve the final AI-processed results.

Inputs: filePath (required), filename.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 14 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: CRUD for assets, group creation, search, ingestion, AI analysis, moderation, and support escalation. Overlap between upload_asset and trigger_url_ingest is clarified by their descriptions (local file vs URL).

    Naming Consistency5/5

    Tool names uniformly follow snake_case with a verb_noun pattern (e.g., create_dam_group, get_asset, update_asset). This provides predictable naming for an agent to infer functionality.

    Tool Count5/5

    14 tools is well-scoped for a digital asset management platform with AI features. Each tool represents a distinct action without unnecessary redundancy, covering ingestion, search, retrieval, analysis, and administration.

    Completeness4/5

    Core asset lifecycle (create/read/update/delete), search, AI analysis, and moderation are covered. Missing update/deletion for groups and lack of bulk operations are minor gaps, but the surface is solid for typical workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers