Purpose
Tently is an AI code review tool for GitHub pull requests, focused on finding two kinds of problems that diff-only review tools easily miss: regressions in code that depends on the change, and changes that break design decisions the team intentionally made. Tently learns these decisions from merged pull requests, review threads, and documentation, and uses them to check every pull request.
This repository is the MCP server for Tently, bringing the same decision capabilities into Claude Code, Cursor, or Codex, so coding agents can check team decisions while writing code, before a pull request is created.
Main capabilities
- search_decisions: Returns from the Tently workspace the decisions that apply to the code the agent is about to modify. Each decision indicates whether violating it is blocking or advisory. Retrieval is scoped to the current repository (read from the git remotes of the checkout directory), to avoid interference from decisions in other repositories in the workspace.
- query_impact_zone: Computes the impact zone of a symbol (who calls it, what it depends on), using CodeGraph computed locally on the checkout directory; source code never leaves the local machine. The index is located at
.codegraph/,initwill add it to.gitignore.
Impact zone results are evidence, not proof: callers reached through interfaces, dynamic dispatch, or re-exports may be missed, and the tool states this in its output.
Usage
A Tently workspace is required; early access can be requested at tently.dev. Create an API key on the Connect page at app.tently.dev, then run the initialization command in the repository root (the specific command text is not provided in the material), or pass the key via an environment variable.
init will add the tently server to .mcp.json(Claude Code) or .cursor/mcp.json(Cursor), and install a small skill that tells the agent when to use it. It backs up before editing any file, preserves other MCP servers, and prints each change. The agent must then be restarted.--agent accepts claude、cursor、both or auto(the default, detecting what is in the repository).
Data and limitations
search_decisions sends the query text, the file paths passed in, and the owner/name of the origin and upstream remotes of the checkout directory to the Tently API; no other data leaves the local machine, andquery_impact_zone runs entirely locally. More information on data handling is available at tently.dev. Running requires Node.js 20 or later.
When to use
Suited to teams using Claude Code, Cursor, or Codex that want to check code against team design decisions during the coding phase and understand a symbol's impact zone before making changes.
Other
Issues and pull requests are welcome; for anything beyond small fixes, opening an issue first to agree on an approach is recommended.