Gist for AI agents
GitHub Gist is a service for sharing code snippets and notes as public or private pastes. Developers use it to share small pieces of code without a full repository. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.
What agents do in Gist.
Create a gist from a snippet
Publish a code snippet or config example as a new gist to share a link with a teammate.
List a user's gists
Pull a list of a developer's existing gists to find one that already covers a use case.
Delete a gist with confirmation
Remove an outdated gist only after the owner confirms it is no longer linked anywhere.
20 Gist actions, graded by risk.
Every Gist action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.
read
11Look things up. Allowed by default.
- gist.get_gistGet Gist
- gist.list_gistsList Gists
- gist.list_gist_forksList Gist Forks
- gist.list_user_gistsList User Gists
- gist.get_gist_commentGet Gist Comment
- gist.get_gist_revisionGet Gist Revision
- gist.list_gist_commitsList Gist Commits
- gist.list_public_gistsList Public Gists
- gist.list_gist_commentsList Gist Comments
- gist.list_starred_gistsList Starred Gists
- gist.check_gist_starCheck Gist Star
write
7Create and change things. Allow, or ask the user first.
- gist.create_gistCreate Gist
- gist.update_gistUpdate Gist
- gist.create_gist_commentCreate Gist Comment
- gist.update_gist_commentUpdate Gist Comment
- gist.fork_gistFork Gist
- gist.star_gistStar a Gist
- gist.unstar_gistUnstar a Gist
destructive
2Delete, cancel or archive. Ask first, or deny outright.
- gist.delete_gistDelete Gist
- gist.delete_gist_commentDelete Gist Comment
Gist in three steps.
- 01Your users connect GistThey add their Gist api key on Arc0 Connect, under your brand. It goes straight into the vault.
- 02You set the rulesReads run, writes like “create Gist” can wait for the user, and “delete Gist” can be denied outright.
- 03Any agent can actYour agent calls Gist through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
await arc0.policies.set('gist', { read: 'allow', write: 'ask', // create_gist destructive: 'deny', // delete_gist }) # Claude Code: the same connection, one URL $ claude mcp add --transport http arc0 \ https://mcp.arc0.ai/u/u_8f2
How Gist connects.
Users add their Gist api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.
The same Gist connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →
- AUTH
- API key
- CREDENTIALS
- Per-tenant encrypted vault
- MODEL SEES
- Results only, never credentials
- AUDIT LOG
- Every call, on every plan
Use Gist from any agent.
Gist and Arc0, answered.
Can I use Gist with Claude, ChatGPT or Cursor?
Yes. Connect Gist to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Gist actions you allow.
How do users connect Gist?
Users add their Gist api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.
Which Gist actions can my agent take?
20 in total: 11 read, 7 write and 2 destructive, such as “create Gist”. Your policies decide which of them each agent may call.
Can I stop my agent from deleting things in Gist?
Yes. Actions like “delete Gist” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.
Can my own backend call Gist too?
Yes. The same Gist connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.
Plug Gist into your agent.
Your users connect Gist once, under your brand. Your agent gets 20 actions behind your policies, with every call on the record.
Free to build · MCP + REST · Audit log on every plan