Repository navigation
Login

Status: planned (M5, #6). This describes the design from ADR 0004. Names may change. Nothing here exists in
src/yet.
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.
| 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).
- You create a cookie file. You do this outside any chat. The agent never sees the value.
- You set
BOTTICELLI_PINTEREST_COOKIE_FILEto its path. - The file must not be readable by group or others (for example
chmod 600). If it is, botticelli refuses it. - The cookie is used only for capabilities that need it, or as a fallback when an anonymous call answers
401or412. -
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- 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.
Scraping while logged in can get the account restricted. Use an account you can lose. Do not use your main Pinterest account.
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.
This wiki mirrors docs/ in the repository. Edit the docs there, not here. · MIT · Not affiliated with Pinterest or Are.na.
Use
Understand
Contribute
Project