plik
Plik is a temporary file upload system (Wetransfer like) in Go.
claude mcp add --transport stdio root-gg-plik docker run -i -p 8080:8080 rootgg/plik \ --env PLIK_PORT="8080 (default)" \ --env PLIK_BASE_URL="http://localhost:8080 (adjust for external access)"
How to use
The Plik MCP server provides an integration point for AI assistants to interact with the Plik temporary file hosting system. It leverages Plik’s API to upload, manage, and share files through a programmable interface, enabling automated workflows and conversational commands to trigger file uploads, retrieve public links, or clean up expired items. The server exposes endpoints that the MCP framework can invoke, allowing your AI assistant to orchestrate file transfers alongside other tasks. With the MCP integration, you can prompt the assistant to upload a file, get a shareable link, or verify storage backends and metadata backends in a seamless manner.
How to install
Prerequisites:
- Docker installed and running (recommended) or a compatible container runtime
- Optional: access to a machine with network connectivity to pull the Plik image
Installation steps (Docker):
-
Pull and run the Plik image (exposes web UI and API on port 8080): docker run -d --name plik -p 8080:8080 rootgg/plik
-
Verify the service is up: curl -sS http://localhost:8080/health || echo 'health check failed'
-
Access the web interface at http://localhost:8080 to create initial configuration (storage backends, TTL, auth, etc.).
-
If you are wiring this into an MCP setup, note the mcp_config recommended below and adjust ports/URLs as needed for your environment.
Additional notes
Notes and tips:
- Plik supports multiple storage backends (local, S3, OpenStack Swift, Google Cloud Storage) and multiple metadata backends (SQLite, PostgreSQL, MySQL). Make sure to configure these in the web UI or via configuration as part of initial setup.
- The MCP integration provides an interface for AI-assisted file operations; ensure the MCP host can reach the Plik API at the specified base URL.
- If you expose Plik behind a reverse proxy, set PLIK_BASE_URL accordingly in the environment to generate correct share links.
- Monitor metrics via Prometheus as supported by Plik for operational visibility.
- For production, consider securing with proper authentication providers (Local, Google, OVH, OIDC) and enabling end-to-end encryption where needed.
Related MCP Servers
sandbox
A Model Context Protocol (MCP) server that enables LLMs to run ANY code safely in isolated Docker containers.
github-brain
An experimental GitHub MCP server with local database.
homebutler
🏠 Manage your homelab from chat. Single binary, zero dependencies.
chromedp
MCP server for browser automation using chromedp
mcp -manager
A cross-platform, single-binary manager for Model Context Protocol (MCP) servers, built with Go and a reactive HTMX web interface.
mcp4go
A comprehensive Go SDK for the Model Context Protocol (MCP) - simplifying AI application development by abstracting away protocol complexities.