Skip to main content
Reference · Information

senkani_repo

Live Savings query-level

Query any public GitHub repo without cloning. Actions: tree, file, readme, search.

Signature

senkani_mcp.call(tool="senkani_repo", args={...})

Behavior

Host-allowlisted to api.github.com + raw.githubusercontent.com. Anonymous by default (60 req/h); `GITHUB_TOKEN` env raises the limit. All responses pass through SecretDetector. TTL + LRU cache.

Inputs

Name
Type
Default
Description
action
string
`tree`, `file`, `readme`, `search`.
repo
string
`owner/name`.
path
string
For `file`.
ref
string
HEAD
Branch, tag, or commit SHA.

Output

Depends on action. `tree` → file list; `file` → contents; `readme` → rendered readme; `search` → BM25-ranked hits.

Example

{"tool":"senkani_repo","args":{"action":"tree","repo":"ckluis/senkani"}}
Never follows redirects outside the allowlist. Every fetched file is SecretDetector-scanned before being returned.

See also

Source: Sources/MCPServer/Tools/RepoTool.swift