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.

Developer toolsAPI keyMCP + RESTgist.github.com
AUDIT LOG · GISTPOLICY: acme-support
09:41:07 · claude · u_8f2read
gist.list_gists
List Gists✓ allowed · 212ms
09:41:08 · claude · u_8f2read
gist.get_gist
Get Gist✓ allowed · 164ms
09:41:09 · claude · u_8f2write
gist.create_gist
Create Gist✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
gist.delete_gist
Delete Gist✕ blocked · policy: deny
EVERY GIST CALL, ON THE RECORD
01 · USE CASES

What agents do in Gist.

01

Create a gist from a snippet

Publish a code snippet or config example as a new gist to share a link with a teammate.

02

List a user's gists

Pull a list of a developer's existing gists to find one that already covers a use case.

03

Delete a gist with confirmation

Remove an outdated gist only after the owner confirms it is no longer linked anywhere.

02 · ACTIONS

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

11

Look things up. Allowed by default.

  • gist.get_gist
    Get Gist
  • gist.list_gists
    List Gists
  • gist.list_gist_forks
    List Gist Forks
  • gist.list_user_gists
    List User Gists
  • gist.get_gist_comment
    Get Gist Comment
  • gist.get_gist_revision
    Get Gist Revision
  • gist.list_gist_commits
    List Gist Commits
  • gist.list_public_gists
    List Public Gists
  • gist.list_gist_comments
    List Gist Comments
  • gist.list_starred_gists
    List Starred Gists
  • gist.check_gist_star
    Check Gist Star

write

7

Create and change things. Allow, or ask the user first.

  • gist.create_gist
    Create Gist
  • gist.update_gist
    Update Gist
  • gist.create_gist_comment
    Create Gist Comment
  • gist.update_gist_comment
    Update Gist Comment
  • gist.fork_gist
    Fork Gist
  • gist.star_gist
    Star a Gist
  • gist.unstar_gist
    Unstar a Gist

destructive

2

Delete, cancel or archive. Ask first, or deny outright.

  • gist.delete_gist
    Delete Gist
  • gist.delete_gist_comment
    Delete Gist Comment
03 · HOW IT WORKS

Gist in three steps.

  1. 01Your users connect GistThey add their Gist api key on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, writes like “create Gist” can wait for the user, and “delete Gist” can be denied outright.
  3. 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.
POLICY.TS
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
04 · AUTH AND DATA

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
05 · WORKS WITH

Use Gist from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

Gist and Arc0, answered.

Q01

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.

Q02

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.

Q03

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.

Q04

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.

Q05

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.

Get started

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