Skip to content
Vitor edited this page Dec 3, 2026 · 2 revisions

botticelli

Login

Status: planned (M5, #6). This describes the design from ADR 0004. Names may change. Nothing here exists in src/ yet.

In one minute

botticelli works logged out and will keep doing so. A login is optional and opt-in. If you want the few things that need one, you point an environment variable at a cookie file you made yourself, outside any chat. Use a secondary account.

What login unlocks

Capability Logged out Logged in
Related pins chained from search results No. Search ids are anonymous e1_… and cannot be looked up Yes. Real ids come back, so related can hop again and again
Private boards No Yes
Visual search (visual_search) No. Answers 401 Only if the M5 probe passes. If it fails, the Capability stays false and the reason is documented
RelatedModulesResource Needs login Works

Everything else (search, one-hop related, public boards, pin details) works logged out (Sources).

How it will work

  1. You create a cookie file. You do this outside any chat. The agent never sees the value.
  2. You set BOTTICELLI_PINTEREST_COOKIE_FILE to its path.
  3. The file must not be readable by group or others (for example chmod 600). If it is, botticelli refuses it.
  4. The cookie is used only for capabilities that need it, or as a fallback when an anonymous call answers 401 or 412.
  5. capabilities() for Pinterest then reflects whether a valid session exists.

The cookie file format and how to export it are decided in M5. This page will be updated then.

# Planned. Do not paste the cookie into a chat.
chmod 600 ~/.config/botticelli/pinterest.cookie
export BOTTICELLI_PINTEREST_COOKIE_FILE=~/.config/botticelli/pinterest.cookie

Security promises

  • The cookie value never appears in logs, errors or tool output.
  • The file is read from disk. The value is never passed through the MCP tools.
  • Group- or world-readable files are refused.
  • The M5 pull request goes through a security review, because it handles a credential.

Use a secondary account

Scraping while logged in can get the account restricted. Use an account you can lose. Do not use your main Pinterest account.

Troubleshooting / FAQ

Do I need to log in? No. Search, one-hop related, boards and pin details work without it.

Where do I paste my cookie? Nowhere in a chat. Put it in the file. If you pasted a cookie into a chat or an issue, log out of that session on Pinterest to revoke it.

The file is refused. Run chmod 600 on it.

Can the agent log in for me? No. That is by design.

Will visual_search appear? Only if the logged-in probe works. See Tools.

Clone this wiki locally