@pixelvault-dev/local-mcp
@pixelvault-dev/local-mcp
A local (stdio) MCP server for PixelVault — agent-first image hosting.
The difference from the hosted MCP server (mcp.pixelvault.dev): this one runs on
your machine, so it can upload a local file by path. It reads the bytes off
disk and streams them to the API as multipart/form-data — the file is never
base64-encoded into the model's context. That keeps large images (and slow,
token-hungry base64 round-trips) out of the conversation.
Use the hosted server when your client is remote (ChatGPT, etc.); use this one for local coding agents that have files on disk.
Install
Runs with npx — no global install needed:
npx @pixelvault-dev/local-mcpConfigure
Set your PixelVault API key (a pv_live_… secret key for private uploads):
export PIXELVAULT_API_KEY=pv_live_xxx
# optional: point at a different API
export PIXELVAULT_API_URL=https://api.pixelvault.devThe server also reads ~/.pixelvault/config.json if you've authenticated with the
PixelVault CLI (pixelvault login).
Claude Desktop / MCP client config
{
"mcpServers": {
"pixelvault": {
"command": "npx",
"args": ["-y", "@pixelvault-dev/local-mcp"],
"env": { "PIXELVAULT_API_KEY": "pv_live_xxx" }
}
}
}Tools
Tool | What it does |
| Upload by local |
| List images in your project (paginated). |
| Metadata for one image by id. |
| Permanently delete an image by id. |
| Mint a time-limited signed URL for a private image. |
| Build an on-the-fly transform URL (resize, crop, format, AI background removal, effects). |
Every returned CDN URL supports on-the-fly transforms via query params — see the transforms docs.
License
MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/pixelvault-dev/mcp-local'
If you have feedback or need assistance with the MCP directory API, please join our Discord server