MCP & AI Agent Integration

Greptile
automation.

9 AI agent actions for Greptile — callable from any MCP-compatible runtime, Claude, Cursor, or Cerebral OS workflow. Use Greptile to organize files, generate documents, and manage permissions programmatically. Full governance, audit trail, and dry-run safety on every execution.

No credit card required
Live in production environments
<200ms median execution
Dry-run before production
Execution trace
live
9
actions
100%
governed
<200ms
latency
9
AI agent actions
6
Read operations
3
Write operations
1
High-risk actions (approval gated)
Files & Documents Greptile is a Files & Documents integration — use it to automate file storage, sharing, and document management from any AI agent or MCP-compatible runtime.
Actions

What you can do
with Greptile.

Every action below is available as an MCP tool and a verb in Cerebral OS — callable from any AI agent, Claude, Cursor, Windsurf, or your own runtime via the BYOA API. All executions are governed, audited, and dry-run safe.

Get File Content
greptile:get_file_content
Get the content of a specific file from an indexed repository.
Read Low risk
Get Repository
greptile:get_repository
Get detailed information about a specific repository.
Read Low risk
Get Repository Status
greptile:get_repository_status
Get the current indexing status and health of a repository.
Read Low risk
List Files
greptile:list_files
List files in a repository with optional filtering by directory, extension, or pattern.
Read Low risk
List Repositories
greptile:list_repositories
List all repositories indexed in your Greptile account.
Read Low risk
Search Code
greptile:search_code
Search for code snippets using natural language queries within a specific repository.
Read Low risk
Ask Question
greptile:ask_question
Ask natural language questions about a codebase and get AI-powered answers with code references.
Write Medium risk
Delete Repository
greptile:delete_repository
Delete a repository from Greptile index. This removes all indexed data permanently.
Write High risk
Index Repository
greptile:index_repository
Index a new repository or reindex an existing one for code search and analysis.
Write Medium risk
MCP & Runtime API

Call Greptile
from any AI agent.

Any AI agent — Claude, Cursor, LangChain, AutoGen, or your own — can call Greptile actions through the Cerebral OS Runtime API. Governance, credentials, and audit trail fire automatically.

greptile:get_file_content READ
# Call via Runtime API
curl
-X POST \
  "https://api.cerebralos.com/v1/runtime/actions/run"
  -H "X-API-Key: YOUR_KEY" \
  -d '{
    "verb": "greptile:get_file_content",
    "args": {},
    "execution_id": "agent-001"
  }'
greptile:ask_question WRITE
# Dry-run first — no production risk
curl
-X POST \
  "https://api.cerebralos.com/v1/runtime/actions/run"
  -H "X-API-Key: YOUR_KEY" \
  -d '{
    "verb": "greptile:ask_question",
    "args": {},
    "execution_id": "agent-001",
    "metadata": {"dryRun": true}
  }'
Get your Runtime API key at app.cerebralos.com/signup — 1,000 free executions, no credit card required.
AI agent examples

What your AI agent
can do with Greptile.

Real patterns your AI agent can execute via MCP or the Runtime API. Every action governed, dry-run safe, and fully audited.

Trigger
AI agent needs Greptile data
Call greptile:get_file_content via MCP or Runtime API
AI processes result and takes next action
Full execution logged to audit trail automatically
Trigger
Workflow needs to write to Greptile
Dry-run validates greptile:ask_question before execution
Approval gate fires if risk level is high
Action executes with full governance — logged, audited, reversible
Trigger
File or document event
Process with AI
Route for approval
Notify team
How it works

Every Greptile action
governed end-to-end.

Cerebral OS isn't a connector. It's the execution layer that sits in front of Greptile — adding governance, dry-run safety, and a full audit trail to every operation.

Governance first
Every verb carries a risk classification. High-risk writes require explicit approval gates before they execute in production.
Dry-run safe
Simulate any Greptile action before it touches production. See exactly what would happen before a single real call is made.
Immutable audit trail
Every Greptile action is logged — what ran, what changed, who approved it, when it happened. Full history on every verb, forever.
Connect with

Greptile works best
alongside these.

Build multi-step workflows that connect Greptile to the rest of your stack. All governed. All audited.

Greptile integration

Start free.
No credit card required.

Start free with 1,000 runs — no credit card required. Connect Greptile in minutes, dry-run every action before it touches production, full audit trail on everything.

Start free — 1,000 runs Browse all integrations →