Skip to main content
Glama
MediaShareORG

YourImageShare

Official

yourimageshare-mcp

MCP (Model Context Protocol) server for YourImageShare. Lets an MCP-compatible AI agent (Claude Desktop, Claude Code, and other MCP clients) upload, list, and delete files on YourImageShare directly - "upload this screenshot and give me a link" as a tool call instead of a manual copy-paste-upload loop.

Install / run

No install needed - run directly with npx:

npx yourimageshare-mcp

Also listed on Smithery, if your MCP client installs from there instead.

Claude Desktop / Claude Code config

Add to your MCP client's config (e.g. claude_desktop_config.json):

{
  "mcpServers": {
    "yourimageshare": {
      "command": "npx",
      "args": ["-y", "yourimageshare-mcp"],
      "env": {
        "YIS_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

Related MCP server: flin-imgbb-mcp

Environment variables

Variable

Required

Purpose

YIS_API_KEY

yes

Your YourImageShare API key.

YIS_BASE_URL

no

Override the API base URL (default https://yourimageshare.com/api). For testing only.

Tools

upload_image

Upload a file. Provide either:

  • path - a local file path this server process can read, or

  • base64 + filename - inline file contents, for MCP clients with no local filesystem access.

Optional expiresIn (seconds, 60 to 2,592,000 = 30 days) auto-deletes the upload later. Returns the same JSON shape as the HTTP API's upload response (id, type, path, src, direct, expires_at).

list_uploads

Optional page (defaults to 1, 50 per page). Returns your uploads newest first.

delete_upload

Requires id (from upload_image/list_uploads). Permanently deletes the upload.

Notes

  • This server only ever acts as the account tied to YIS_API_KEY - there's no way for a connected agent to act as any other account.

  • Errors from the API (bad key, rate limit, file rejected by moderation, etc.) come back as a tool error result with the API's own message, not a crashed tool call.

  • Built as a small, self-contained client rather than depending on the separate yourimageshare npm package, so this server's releases aren't coupled to that package's.

License

MIT

Support

yourimageshare.com/contact

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • File uploads for AI agents. Upload, list, and manage files. No signup required.

  • OCR, transcription, file extraction, and image generation for AI agents via MCP.

  • Zero-auth MCP: image optimize, cited storage/format data, and dev utilities LLMs get wrong.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MediaShareORG/yourimageshare'

If you have feedback or need assistance with the MCP directory API, please join our Discord server