Greptile MCP for AI agents

Agents read Greptile MCP at once. Changes and sends are held for a person's approval by default.

About Greptile MCP

Greptile MCP lets authorized agents search connected codebases, inspect pull requests and code reviews, manage custom context, and analyze engineering knowledge bases.

What an agent can do in Greptile MCP

Every Greptile MCP action is classed by the platform as a read, a change or a send. Reads run at once. Changes and sends are held for a person by default.

Runs at once (reads)

Looks things up in Greptile MCP without asking first. 19 actions.

  • Get analytics overviewGet review analytics for repositories visible to the caller, optionally intersected by exact team, repository, and author filters. Omitted dates mean the current calendar month through now in timeZone
  • Get code reviewGet one code-review run by its stable id. Returns codeReview with body, status, commit, timestamps, allowlisted customer metadata, dispatch user, and optional mergeRequest, plus summaryCitations. CLI/
  • Get custom contextGet one saved review rule or pattern and up to 10 linked review-comment references. Returns customContext metadata and linkedComments; it does not return evidence bodies or source URIs. Each linked co
  • Get knowledge base documentRead one current knowledge-base markdown document after listing its path. Returns document identity, section, immutable versionId, full characterCount, and content, plus untrustedContent and notice. T
  • Get meIdentify the caller and discover the organizations available to other tools. Call this when the organization is unknown or after tenant_required; pass an organization's id or handle as organization on
  • Get merge requestGet one pull request or merge request with metadata, statistics, comments, up to 10 recent review records, and summary citations for the latest completed review. Addressed and unaddressed groups refle
  • List analytics filter optionsList exact team names, repository names, or author logins available to the caller for analytics filters. Query is a trimmed, case-insensitive substring; unique options are locale-sorted. Returns optio
  • List analytics findingsList review findings visible to the caller, newest first, with optional exact scope, severity, security, stored-addressed-status, text, and date filters. Omitted dates mean the current calendar month
  • List code reviewsList code-review runs visible to the caller, newest first, optionally filtered by repository, PR number, or status. Returns codeReviews and the number returned as total. CLI/headless runs have source
  • List custom contextList saved review rules and learned patterns visible to the caller, newest first. Returns customContexts with id, type, body, status, scopes, metadata, evidenceCount, commentsCount, and createdAt; evi
  • List knowledge base documentsList paths in one repository's current published knowledge base to map its documented subsystems before reading. Returns namespaceId, deprecated repoNamespaceExternalId, repoName, indexPresent, sectio
  • List knowledge basesDiscover repositories with reachable Greptile knowledge-base data; start here before asking how an unfamiliar repository works. Returns repositories with namespaceId, deprecated repoNamespaceExternalI
Show all 19
  • List merge request commentsList all matching comments for one pull request or merge request, newest first. Returns comments, repository, prNumber, and total. Each comment exposes isGreptileComment rather than sourceType, plus s
  • List merge requestsList merge requests and pull requests visible to the caller, newest first. Optionally restrict by a repository tuple, source branch, author, or state; sourceBranch and authorLogin are case-insensitive
  • List pull requestsAlias of list_merge_requests with the same filters and result contract. List visible pull requests newest first; sourceBranch and authorLogin are case-insensitive substring filters, and this server ca
  • List repositoriesList repositories visible to the caller in the selected organization, sorted by name. Each entry contains namespaceId for knowledge-base tools and the name/remote/defaultBranch/optional remoteUrl tupl
  • Search custom contextSearch visible custom-context bodies by case-insensitive substring, newest matches first. Returns customContexts and query; each result includes id, type, body, status, scopes, metadata, evidenceCount
  • Search greptile commentsSearch Greptile-generated review comments by case-insensitive body substring across PR and CLI/headless reviews, newest first. Returns comments, query, the returned count as total, and an addressed/un
  • Search knowledge baseSearch one repository's current knowledge base for a case-insensitive substring when you know the term, symbol, endpoint, or convention to investigate. Returns repository identity, query, pinned secti

Held for approval by default (changes and sends)

Held for a person's approval by default. The approval is recorded and the action is sent once, never twice, with 10 seconds to undo. 2 actions.

  • Create custom contextCreate a persistent review rule or pattern in the selected organization. Omitted type defaults to CUSTOM_INSTRUCTION, omitted status to ACTIVE, omitted scopes to universal scope, and omitted metadata
  • Trigger code reviewRequest a new asynchronous Greptile review for an existing GitHub pull request or GitLab merge request. This queues normal review processing, which consumes review credits, persists a review run, and

Changes wait in Needs you

Changes and sends in Greptile MCP are held for a person's approval by default. The approval is recorded, and the action is sent once, never twice, with 10 seconds to undo.

How approvals work

Greptile MCP questions

Can an agent change data in Greptile MCP on its own?

Not by default. Changes and sends in Greptile MCP are held for a person's approval. The approval is recorded, and the action is sent once, never twice, with 10 seconds to undo.

What can an agent read in Greptile MCP?

This connector lists 19 read actions. Reads run at once, without waiting for approval.

How does Greptile MCP connect?

It connects with dcr oauth. Connectors are built and maintained by third-party developers; availability is confirmed during scoping.

Bring Greptile MCP to your agents.