Living docs and MCP context for GitHub repos — conventions, gaps, and source-cited pages on merge.
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Get the compact briefing an agent should read before editing this repository: index status, verified commands, agent tips, top conventions, open documentation gaps, and queued documentation opportunities. Read-only; no side effects. Returns a single Markdown document. Call this first at the start of a task; once you know which files you'll change, follow up with get_doc_impact for path-scoped guidance.
The target repository as "owner/name" (e.g. "acme/app"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer.
Get the compact briefing an agent should read before editing this repository: index status, verified commands, agent tips, top conventions, open documentation gaps, and queued documentation opportunities. Read-only; no side effects. Returns a single Markdown document. Call this first at the start of a task; once you know which files you'll change, follow up with get_doc_impact for path-scoped guidance.
| Argument | Type | Description |
|---|---|---|
| repository | string | The target repository as "owner/name" (e.g. "acme/app"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer. |
{
"type": "object",
"properties": {
"repository": {
"type": "string",
"description": "The target repository as \"owner/name\" (e.g. \"acme/app\"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer."
}
}
}Given file paths an agent is about to touch, return structured context for any API endpoints they map to: method, path, request/response schema, and known consumers/features. Read-only; no side effects. Call this before editing API route or schema code, alongside get_doc_impact.
| Argument | Type | Description |
|---|---|---|
| paths | array | Repository-relative file paths to inspect for API endpoint context. |
| repository | string | The target repository as "owner/name" (e.g. "acme/app"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer. |
{
"type": "object",
"properties": {
"paths": {
"type": "array",
"items": {
"type": "string"
},
"description": "Repository-relative file paths to inspect for API endpoint context."
},
"repository": {
"type": "string",
"description": "The target repository as \"owner/name\" (e.g. \"acme/app\"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer."
}
}
}Get the coding conventions Moxie Docs inferred for the repository. Read-only; no side effects. Returns a Markdown list grouped by category (e.g. testing, structure, docs, review); each convention has a title, summary, confidence score, agent guidance, and the source file paths that evidence it. Use this for the general rules to follow; when you already know the files you're about to edit, prefer moxie.get_doc_impact for conventions scoped to those paths.
| Argument | Type | Description |
|---|---|---|
| category | string | Optional category filter, such as testing, structure, docs, or review. |
| repository | string | The target repository as "owner/name" (e.g. "acme/app"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer. |
{
"type": "object",
"properties": {
"category": {
"type": "string",
"description": "Optional category filter, such as testing, structure, docs, or review."
},
"repository": {
"type": "string",
"description": "The target repository as \"owner/name\" (e.g. \"acme/app\"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer."
}
}
}List the unresolved documentation gaps Moxie Docs found - areas of the codebase that lack docs. Read-only; no side effects. Returns a Markdown list, each gap with a title, severity, summary, and suggested file paths. This is gaps only; for the full prioritized work queue that also includes drift repairs and PR-template work, use get_documentation_opportunities, and to scope gaps to files you're about to edit use get_doc_impact.
| Argument | Type | Description |
|---|---|---|
| severity | string | Optional severity filter: high, medium, low, or info. |
| repository | string | The target repository as "owner/name" (e.g. "acme/app"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer. |
{
"type": "object",
"properties": {
"severity": {
"type": "string",
"description": "Optional severity filter: high, medium, low, or info."
},
"repository": {
"type": "string",
"description": "The target repository as \"owner/name\" (e.g. \"acme/app\"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer."
}
}
}Given the file paths an agent is about to change (and optionally a subset being deleted), return the conventions, documentation gaps, and existing/related docs whose evidence overlaps those paths, plus a net-new/undocumented analysis and any removal candidates. Read-only; no side effects. Returns a Markdown report. Call this BEFORE writing code so doc updates land in the same PR; then use propose_doc_update to write a doc, or propose_doc_removal for an orphaned one.
| Argument | Type | Description |
|---|---|---|
| repository | string | The target repository as "owner/name" (e.g. "acme/app"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer. |
| changedPaths* | array | Repository-relative file paths the agent intends to modify (e.g., apps/web/src/app/api/billing/webhook/route.ts). |
| deletedPaths | array | Subset of paths that are being DELETED. Moxie Docs flags any doc whose every cited source path is in this list as a removal candidate for moxie.propose_doc_removal. |
{
"type": "object",
"required": [
"changedPaths"
],
"properties": {
"repository": {
"type": "string",
"description": "The target repository as \"owner/name\" (e.g. \"acme/app\"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer."
},
"changedPaths": {
"type": "array",
"items": {
"type": "string"
},
"description": "Repository-relative file paths the agent intends to modify (e.g., apps/web/src/app/api/billing/webhook/route.ts)."
},
"deletedPaths": {
"type": "array",
"items": {
"type": "string"
},
"description": "Subset of paths that are being DELETED. Moxie Docs flags any doc whose every cited source path is in this list as a removal candidate for moxie.propose_doc_removal."
}
}
}List the actionable documentation updates Moxie Docs recommends as a prioritized queue: missing docs, drift repairs, and PR-template work. Read-only; no side effects. Returns a Markdown list, each opportunity with a title, kind (documentation_gap | documentation_drift | pr_template), severity, summary, suggested action, estimated files changed, and source paths. Use this to pick the next doc task; it is the superset of get_doc_gaps (which lists gaps only).
| Argument | Type | Description |
|---|---|---|
| kind | string | Optional kind filter: documentation_gap, documentation_drift, or pr_template. |
| severity | string | Optional severity filter: high, medium, low, or info. |
| repository | string | The target repository as "owner/name" (e.g. "acme/app"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer. |
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"description": "Optional kind filter: documentation_gap, documentation_drift, or pr_template."
},
"severity": {
"type": "string",
"description": "Optional severity filter: high, medium, low, or info."
},
"repository": {
"type": "string",
"description": "The target repository as \"owner/name\" (e.g. \"acme/app\"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer."
}
}
}Get Moxie Docs' summary of how THIS repository organizes and maintains documentation - where docs live relative to code and how they are kept current. Read-only; no side effects. Returns a Markdown list of pattern entries, each with a title, explanation, and source citations. Use this to decide WHERE a new doc should go before calling propose_doc_update; for the list of WHICH docs need work, use get_documentation_opportunities instead.
| Argument | Type | Description |
|---|---|---|
| repository | string | The target repository as "owner/name" (e.g. "acme/app"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer. |
{
"type": "object",
"properties": {
"repository": {
"type": "string",
"description": "The target repository as \"owner/name\" (e.g. \"acme/app\"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer."
}
}
}List the repository's generated documentation as a browsable table of contents - every doc page, not a query-filtered subset. Read-only; no side effects. Returns Markdown grouped by section, each entry with its title, slug, repository path, and source paths, plus the total count and a pagination cursor so you can tell whether more pages remain (no silent truncation). Use this to see what docs already exist before adding one (so you don't duplicate) or to find the slug to pass to propose_doc_update; when you are hunting for a specific topic, search_docs is more direct.
| Argument | Type | Description |
|---|---|---|
| limit | number | Maximum docs to return (1-200, default 50). |
| offset | number | Number of docs to skip for pagination (default 0). Use the cursor in the response to fetch the next page. |
| section | string | Optional section/collection filter (case-insensitive substring), e.g. "Backend" or "Billing". Omit to list every section. |
| repository | string | The target repository as "owner/name" (e.g. "acme/app"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer. |
{
"type": "object",
"properties": {
"limit": {
"type": "number",
"description": "Maximum docs to return (1-200, default 50)."
},
"offset": {
"type": "number",
"description": "Number of docs to skip for pagination (default 0). Use the cursor in the response to fetch the next page."
},
"section": {
"type": "string",
"description": "Optional section/collection filter (case-insensitive substring), e.g. \"Backend\" or \"Billing\". Omit to list every section."
},
"repository": {
"type": "string",
"description": "The target repository as \"owner/name\" (e.g. \"acme/app\"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer."
}
}
}Propose deleting a Moxie Docs-tracked documentation file that your change makes irrelevant, as part of YOUR current change. Moxie Docs validates the path and returns it for you to delete in your working branch; Moxie Docs itself does not delete files or open a PR - the deletion happens in your branch, so it lands in the SAME PR as the code. Returns the resolved path to delete. Provide either slug or targetPath.
| Argument | Type | Description |
|---|---|---|
| slug | string | Slug of the existing generated doc to remove. |
| reason | string | Why this doc is no longer relevant. |
| repository | string | The target repository as "owner/name" (e.g. "acme/app"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer. |
| targetPath | string | Repository-relative path of the doc to remove (must be a Moxie Docs-tracked doc). Use instead of slug. |
| removedSourcePaths | array | Code paths being deleted that made this doc irrelevant, for provenance. |
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "Slug of the existing generated doc to remove."
},
"reason": {
"type": "string",
"description": "Why this doc is no longer relevant."
},
"repository": {
"type": "string",
"description": "The target repository as \"owner/name\" (e.g. \"acme/app\"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer."
},
"targetPath": {
"type": "string",
"description": "Repository-relative path of the doc to remove (must be a Moxie Docs-tracked doc). Use instead of slug."
},
"removedSourcePaths": {
"type": "array",
"items": {
"type": "string"
},
"description": "Code paths being deleted that made this doc irrelevant, for provenance."
}
}
}Propose a documentation file to add or update as part of YOUR current change. Records a new proposal each call (not idempotent) and does NOT modify your repository or open a PR - Moxie Docs resolves the target path and returns the path + Markdown for YOU to write into your working branch, so the docs land in the SAME PR as the code. Returns the resolved target path and the content to write. Provide either targetPath or baseSlug.
| Argument | Type | Description |
|---|---|---|
| title* | string | Short human title for the documentation update. |
| reason | string | Why this doc is being added or changed. |
| baseSlug | string | Slug of an existing generated doc to update instead of supplying targetPath. |
| markdown* | string | The documentation content (Markdown) to write to the target file. |
| repository | string | The target repository as "owner/name" (e.g. "acme/app"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer. |
| targetPath | string | Repository-relative path to write the doc to (e.g., docs/billing.md). Omit to resolve from baseSlug. |
| sourcePaths |
Self-review a change you are about to commit BEFORE opening the PR. Pass the proposed new state of each changed file (and any deleted paths); Moxie Docs returns a severity-ranked list of violations to fix: convention breaches, docs your change makes factually false, net-new API/surface added without docs, and doc references broken by deletions. Read-only; no side effects and no writes. Returns a Markdown verdict (clean | warnings | must-fix) with each finding's location, fix, and - for doc issues - the slug to pass to propose_doc_update. Call this as the final step of the edit flow, then fix findings and re-run.
| Argument | Type | Description |
|---|---|---|
| repository | string | The target repository as "owner/name" (e.g. "acme/app"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer. |
| changedFiles* | array | The files your change adds or modifies, in their PROPOSED new state. Provide newContent (the full new file text) for each; you may also/instead provide patch (a unified diff). Max 20 files per call. |
| deletedPaths | array | Repository-relative paths your change DELETES, so Moxie Docs can flag docs whose references break. |
{
"type": "object",
"required": [
"changedFiles"
],
"properties": {
"repository": {
"type": "string",
"description": "The target repository as \"owner/name\" (e.g. \"acme/app\"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer."
},
"changedFiles": {
"type": "array",
"items": {
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "Repository-relative path, e.g. apps/web/src/app/api/foo/route.ts."
},
"patch": {
"type": "string",
"description": "Optional unified diff for the file (used if newContent is omitted)."
},
"status": {
"type": "string",
"description": "Either \"added\" or \"modified\"."
},
"newContent": {
"type": "string",
"description": "The full new contents of the file after your change."
}
}
},
"description": "The files your change adds or modifies, in their PROPOSED new state. Provide newContent (the full new file text) for each; you may also/instead provide patch (a unified diff). Max 20 files per call."
},
"deletedPaths": {
"type": "array",
"items": {
"type": "string"
},
"description": "Repository-relative paths your change DELETES, so Moxie Docs can flag docs whose references break."
}
}
}Keyword and semantic search across the connected repository's generated docs, conventions, documentation gaps, AI-context notes, and indexed code. Read-only; no side effects. Returns ranked matches in Markdown grouped into Documentation and Code sections, each with a title, snippet, and source paths. Use for open-ended lookups when you don't know which category holds the answer; when you do, the specific getters (get_conventions, get_doc_gaps, get_documentation_opportunities) are more direct. Omitting query returns recent context instead.
| Argument | Type | Description |
|---|---|---|
| limit | number | Maximum matches to return (1-20, default 8). |
| query | string | Search phrase or topic. Omit to return recent context for the repository. |
| repository | string | The target repository as "owner/name" (e.g. "acme/app"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer. |
{
"type": "object",
"properties": {
"limit": {
"type": "number",
"description": "Maximum matches to return (1-20, default 8)."
},
"query": {
"type": "string",
"description": "Search phrase or topic. Omit to return recent context for the repository."
},
"repository": {
"type": "string",
"description": "The target repository as \"owner/name\" (e.g. \"acme/app\"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer."
}
}
}| array |
| Code paths this doc documents, for provenance. |
{
"type": "object",
"required": [
"title",
"markdown"
],
"properties": {
"title": {
"type": "string",
"description": "Short human title for the documentation update."
},
"reason": {
"type": "string",
"description": "Why this doc is being added or changed."
},
"baseSlug": {
"type": "string",
"description": "Slug of an existing generated doc to update instead of supplying targetPath."
},
"markdown": {
"type": "string",
"description": "The documentation content (Markdown) to write to the target file."
},
"repository": {
"type": "string",
"description": "The target repository as \"owner/name\" (e.g. \"acme/app\"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer."
},
"targetPath": {
"type": "string",
"description": "Repository-relative path to write the doc to (e.g., docs/billing.md). Omit to resolve from baseSlug."
},
"sourcePaths": {
"type": "array",
"items": {
"type": "string"
},
"description": "Code paths this doc documents, for provenance."
}
}
}