Skip to content
  • Follow System
  • English
  • 中文

MCP Quickstart

This page gets Picora’s MCP tools into your AI client. It covers the stdio path, which runs @picora/mcp-server as a local subprocess authenticated with an API Key. For the hosted OAuth endpoint, see Remote MCP.

Prerequisites

  • Node.js ≥ 20node --version. The stdio server runs on your machine.
  • A Picora accountsign up.
  • An API Key — see below.

Step 1 — Create an API Key

  1. Open center.picora.me/integration and create a new API Key.

  2. Choose the scope. For an AI assistant, read_write is the right default: it can upload and edit, but it cannot delete anything.

    Key scopeThe agent canTools unlocked
    readBrowse onlylist / get / usage tools
    read_writeBrowse, upload, editeverything except delete_media and delete_doc
    read_write_deleteEverything, including permanent deletionall 19 tools
  3. Copy the key. It starts with sk_live_ and is shown once — store it in a password manager.

Step 2 — Configure your client

Edit the MCP configuration file:

  • macOS~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows%APPDATA%\Claude\claude_desktop_config.json
  • Linux~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"picora": {
"command": "npx",
"args": ["-y", "@picora/mcp-server"],
"env": {
"PICORA_API_KEY": "sk_live_your_key_here"
}
}
}
}

If the file already has an mcpServers object, add "picora" alongside your existing servers rather than replacing the whole block.

Quit Claude Desktop completely and reopen it — reloading the window is not enough.

Environment variables

VariableRequiredDefaultNotes
PICORA_API_KEYYesMust start with sk_live_. The server refuses to start otherwise
PICORA_API_URLNohttps://api.picora.meUse https://api.picora.cn for the China region
PICORA_MCP_UPLOAD_TIMEOUTNo60000 (ms)Raise it for large uploads on slow links

Step 3 — Verify

Ask your assistant:

Use the Picora help tool and tell me what you can do.

A healthy install calls picora.help — which needs no scope at all — and answers with the tool list. If that works, the transport and the process are fine even before authentication matters.

Then try something that exercises your key:

How much storage am I using on Picora?

That calls picora.get_usage and proves the key is valid and readable. Finally:

Upload ~/Desktop/screenshot.png to Picora and give me the URL.

That calls picora.upload_image with a local filePath and confirms write access.

Troubleshooting

SymptomCause and fix
404 Not Found from npm when the client starts the serverExpected today — @picora/mcp-server is not published yet
Server fails immediately, stderr mentions PICORA_API_KEY is requiredThe key is missing, or doesn’t start with sk_live_. Check the env block spelling
No Picora tools listed after restartInvalid JSON in the config file (jq . <file>), or the client was reloaded rather than fully quit
Every call returns MCP_SCOPE_INSUFFICIENTThe key’s scope is too narrow — a read key cannot upload, and only read_write_delete can delete
MCP_PLAN_INSUFFICIENT on picora.upload_videoVideo upload requires the Pro plan. Everything else works on any plan
RATE_LIMITED during a batchYou hit the tier bucket. Add a delay, or batch differently — see Rate Limits
QUOTA_EXCEEDEDStorage or document count is full. Ask the agent to run picora.get_usage
The agent invents a tool that doesn’t existCheck the live catalog: curl https://api.picora.me/mcp/tools.json | jq '.tools[].slug'. Only the 19 documented tools exist

Node.js sends all server logs to stderr, which your client captures — check its MCP log panel first when something is silently broken.

What the server can and can’t touch

  • It reads only the paths passed explicitly as a filePath argument. There is no directory scan and no shell escape hatch.
  • It has no telemetry and no analytics.
  • The API Key is never written to disk by the server itself; it lives only in your client’s config and the process environment.
  • It exposes exactly the tools in the catalog — nothing else.

Next steps

  • Tool reference — every input field of all 19 tools
  • Remote MCP — the hosted OAuth endpoint, no API Key required
  • Concepts — scopes, plan gates, rate limits, metering