repoward
GitHub server that stops agents leaking private repo data, with approvals and audit
repoward is an MCP server for security. It runs locally on your machine and is started by your AI client.
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- What it can do
- Can delete data (1 tool)
- Access
- Needs a secret key or token
- Version
- 0.4.0
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add repoward --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- uvx repowardAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"repoward": {
"command": "uvx",
"args": [
"repoward"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"repoward": {
"command": "uvx",
"args": [
"repoward"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"repoward": {
"command": "uvx",
"args": [
"repoward"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"repoward": {
"type": "stdio",
"command": "uvx",
"args": [
"repoward"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add repoward --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- uvx repowardOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.repoward]
command = "uvx"
args = ["repoward"]
env = { GITHUB_TOKEN = "<GITHUB_TOKEN>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"repoward": {
"command": "uvx",
"args": [
"repoward"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "repoward": { "command": "uvx", "args": [ "repoward" ], "env": { "GITHUB_TOKEN": "<GITHUB_TOKEN>" } } } }Or run: gemini mcp add -s user -e GITHUB_TOKEN='<GITHUB_TOKEN>' repoward uvx -- repoward
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "repoward": { "command": "uvx", "args": [ "repoward" ], "env": { "GITHUB_TOKEN": "<GITHUB_TOKEN>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "repoward": { "command": "uvx", "args": [ "repoward" ], "env": { "GITHUB_TOKEN": "<GITHUB_TOKEN>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "repoward": { "command": "uvx", "args": [ "repoward" ], "env": { "GITHUB_TOKEN": "<GITHUB_TOKEN>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "repoward": { "command": "uvx", "args": [ "repoward" ], "env": { "GITHUB_TOKEN": "<GITHUB_TOKEN>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "repoward": { "command": "uvx", "args": [ "repoward" ], "env": { "GITHUB_TOKEN": "<GITHUB_TOKEN>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "repoward": { "command": "uvx", "args": [ "repoward" ], "env": { "GITHUB_TOKEN": "<GITHUB_TOKEN>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "repoward": { "command": "uvx", "args": [ "repoward" ], "env": { "GITHUB_TOKEN": "<GITHUB_TOKEN>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
GITHUB_TOKENFine-grained personal access token limited to the repositories in your policy.Required
About repoward
The threat it targets is a chain of individually allowed calls: an agent reads a malicious public issue, reads a private repository, then posts the contents in a public pull request. Before each write, repoward checks what the agent has already read. After a private read, writes to public repositories are denied; after reading text from an author outside owner, member or collaborator, each write needs human approval.
Every attempt, including unknown tools and bad arguments, goes through one pipeline: policy check (default-deny YAML), flow guard, rate limit, approval, hash-chained audit log, then the tool. Read tools include github_get_file and ci_get_job_logs; writes reach only branches with a configured prefix, agent/ by default, and pull requests are draft only by default.
The README is explicit about limits: it is alpha, has had no independent security review, and is not a boundary if the agent has a shell under the same OS user.
Tools this server provides (12)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 12 tools deletes data and 4 change data; 1 name doesn't say.
From the server's own tool labels and tool names; not verified by us.
- github_list_issuesName suggests: reads
- Lists issues.
- github_get_issueName suggests: reads
- Reads an issue.
- github_search_codeName suggests: reads
- Searches code.
- github_get_fileName suggests: reads
- Reads a file.
- ci_get_statusName suggests: reads
- Reads CI status.
- ci_get_job_logsName suggests: reads
- Reads CI job logs.
- github_create_branchName suggests: changes
- Creates a branch.
- github_commit_filesName suggests: changes
- Commits files.
- github_create_pull_requestName suggests: changes
- Opens a pull request, draft by default.
- github_comment
- Posts a comment.
- github_merge_pull_requestName suggests: changes
- Merges; needs human approval.
- github_delete_branchName suggests: deletes
- Deletes a branch; needs human approval.
What it does
- Flow guard
- Denies public writes after private reads and requires approval after untrusted input.
- Default-deny policy
- YAML roles, repository allowlists and path denylists.
- Audit log
- Hash-chained record of every decision, with optional HMAC.
- Approvals
- Dangerous tools need one-time approval tied to an exact call and commit.
- Untrusted-text wrapping
- GitHub text is wrapped, cleaned and redacted before the model sees it.
- Policy replay
- Shows which past decisions an edit would change.
Good for
- Give a CI bot limited GitHub access with an audit trail
- Stop a prompt-injected issue from leaking private code
- Require human approval before merges
- Review how a policy change would have affected past calls
repoward FAQ
What does repoward need to run?
uv, a policy file made with uvx repoward init, and a fine-grained GITHUB_TOKEN limited to your policy's repositories.
Is repoward a security boundary?
Only when the agent's sole route to GitHub is this server; with a shell on the same OS user the README says it is not.
What maturity is repoward?
Alpha, version 0.4.0, without an independent security review.
How do I add repoward to Claude Code?
Run this command in your terminal: claude mcp add repoward --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- uvx repoward
What are the best alternatives to repoward?
The closest alternatives to repoward are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


