Connect an agent to Toolstash
One connection for AI agents such as Claude Code, Cursor or your own scripts. Without a key an agent can search the AI tools directory. With your personal key it can also read your saved links and videos, add new ones, sort them into collections and tick videos as watched.
Connect in one line
Paste this into a terminal with Claude Code installed. Swap tsk_your_key for your own key, which is on your account page under Agent access.
claude mcp add --transport http toolstash https://toolstash.xyz/api/mcp --header "Authorization: Bearer tsk_your_key"Other agents that speak MCP (Cursor, Claude Desktop, Windsurf) take the same address and header in their settings file:
{
"mcpServers": {
"toolstash": {
"url": "https://toolstash.xyz/api/mcp",
"headers": {
"Authorization": "Bearer tsk_your_key"
}
}
}
}Leave the header out and the directory tools still work. The address is https://toolstash.xyz/api/mcp.
What an agent can do
search_toolsOpen to allSearch the public Toolstash directory of AI tools by text, category or price model.
Open to allget_toolOpen to allGet one AI tool from the public directory by its id.
Open to alllist_collectionsYour keyList your collections of saved links and how many each holds.
Your keylist_savedYour keyList your saved links and videos, newest first. Narrow to one collection, one kind (video, article, website) or matching words.
Your keyget_transcriptYour keyGet the transcript of one of your saved videos (by its save id), for analysis. transcript is null when none was captured.
Your keysave_linksYour keySave links privately to your Toolstash library, optionally into a collection (made if new). A link you already saved joins the collection instead of being copied. Returns each save's id.
Your keyremove_from_collectionYour keyTake some of your saves out of a collection. The saves themselves stay in your library.
Your keymark_watchedYour keyMark some of your saved YouTube videos watched, or not watched with watched: false (ids from list_saved). The same tick as on the site.
Your keyundo_saveYour keyTake back links an agent saved for you in the last 24 hours (ids from save_links). Links you saved yourself are never deleted here.
Your keyExample asks: "save all my open YouTube tabs into a collection called Watch later", "list what is in Watch later", "read the transcript of the third one and sum it up", "mark the first two as watched".
Plain web requests
Everything above is also a normal web address, for scripts that do not speak MCP. Send your key in the same Authorization: Bearer header. Replies are JSON.
curl "https://toolstash.xyz/api/v1/tools?search=video&limit=5"curl -H "Authorization: Bearer tsk_your_key" https://toolstash.xyz/api/v1/me/collectionscurl -X POST https://toolstash.xyz/api/v1/me/saved \
-H "Authorization: Bearer tsk_your_key" -H "Content-Type: application/json" \
-d '{"urls":["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],"collection":"Watch later"}'/api/v1/toolsOpen to allSearch the AI tools directory (search, category, revenue, sort, limit, offset)
Open to all/api/v1/tools/{id}Open to allOne tool
Open to all/api/v1/me/collectionsYour keyYour collections and how many saves each holds
Your key/api/v1/me/collectionsYour keyTake saves out of a collection: {"collection", "ids"}
Your key/api/v1/me/savedYour keyYour saves, newest first (collection, kind, search, limit, offset)
Your key/api/v1/me/savedYour keySave links, optionally into a collection: {"urls", "collection"}
Your key/api/v1/me/savedYour keyTake back links an agent saved in the last 24 hours: {"ids"}
Your key/api/v1/me/transcript?id=Your keyThe transcript of one saved video
Your key/api/v1/me/watchedYour keyTick saved videos as watched, or clear with "watched": false: {"ids", "watched"}
Your keyWhat stays safe
- Only your own saves. A key reads and changes the saves of the account it belongs to and nothing else.
- New saves are private. Links an agent adds show only in your library, like ones you save yourself.
- Nothing you saved gets deleted. An agent can take a link out of a collection, and can take back a link it saved itself in the last 24 hours. Removing anything else is up to you, on the site.
- A wrong key is refused. The reply is 401 with a short reason; it never falls back to the open tools. Each computer can make up to 120 requests a minute.
- Lost a key? Make a new one on your account page. The old one stops working at once, so update the browser extension too if you use it.