Greptile for AI agents
Greptile lets teams search connected codebases in natural language and inspect pull requests, reviews, and engineering knowledge. Developers wire it into their own apps and internal tools instead of building the underlying capability from scratch. 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 Greptile.
Search a codebase for a pattern
Search a connected repository for where a specific function or config value is used.
Pull a code review's findings
Fetch an existing code review's comments to summarize what a reviewer flagged.
Trigger a review on a pull request
Trigger an automated code review on a new pull request so findings are ready before a human looks.
21 Greptile actions, graded by risk.
Every Greptile action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.
read
16Look things up. Allowed by default.
- greptile.get_meGet me
- greptile.get_code_reviewGet code review
- greptile.list_code_reviewsList code reviews
- greptile.list_repositoriesList repositories
- greptile.get_custom_contextGet custom context
- greptile.list_pull_requestsList pull requests
- greptile.list_custom_contextList custom context
- greptile.list_knowledge_basesList knowledge bases
- greptile.search_custom_contextSearch custom context
- greptile.search_knowledge_baseSearch knowledge base
- greptile.get_analytics_overviewGet analytics overview
- greptile.list_analytics_findingsList analytics findings
- greptile.search_greptile_commentsSearch greptile comments
- greptile.get_knowledge_base_documentGet knowledge base document
- greptile.list_analytics_filter_optionsList analytics filter options
- greptile.list_knowledge_base_documentsList knowledge base documents
write
2Create and change things. Allow, or ask the user first.
- greptile.create_custom_contextCreate custom context
- greptile.trigger_code_reviewTrigger code review
destructive
3Delete, cancel or archive. Ask first, or deny outright.
- greptile.get_merge_requestGet merge request
- greptile.list_merge_requestsList merge requests
- greptile.list_merge_request_commentsList merge request comments
Greptile in three steps.
- 01Your users connect GreptileThey sign in to Greptile on Arc0 Connect, under your brand, and approve the access you ask for.
- 02You set the rulesReads run, writes like “create custom context” can wait for the user, and “get merge request” can be denied outright.
- 03Any agent can actYour agent calls Greptile through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
await arc0.policies.set('greptile', { read: 'allow', write: 'ask', // create_custom_context destructive: 'deny', // get_merge_request }) # Claude Code: the same connection, one URL $ claude mcp add --transport http arc0 \ https://mcp.arc0.ai/u/u_8f2
How Greptile connects.
Greptile runs its own MCP server behind OAuth. Arc0 registers the client, users approve access on Arc0 Connect, and your agent reaches Greptile through the same endpoint, policies and audit log as every other app.
The same Greptile 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
- OAuth 2.0 (MCP)
- CREDENTIALS
- Per-tenant encrypted vault
- MODEL SEES
- Results only, never credentials
- AUDIT LOG
- Every call, on every plan
Use Greptile from any agent.
Greptile and Arc0, answered.
Can I use Greptile with Claude, ChatGPT or Cursor?
Yes. Connect Greptile 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 Greptile actions you allow.
How do users connect Greptile?
Greptile runs its own MCP server behind OAuth. Arc0 registers the client, users approve access on Arc0 Connect, and your agent reaches Greptile through the same endpoint, policies and audit log as every other app.
Which Greptile actions can my agent take?
21 in total: 16 read, 2 write and 3 destructive, such as “create custom context”. Your policies decide which of them each agent may call.
Can I stop my agent from deleting things in Greptile?
Yes. Actions like “get merge request” 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 Greptile too?
Yes. The same Greptile connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.
Plug Greptile into your agent.
Your users connect Greptile once, under your brand. Your agent gets 21 actions behind your policies, with every call on the record.
Free to build · MCP + REST · Audit log on every plan