Resources

Resources expose read-only data that agents can fetch directly by URI without going through a tool call.
Resource URIDescription
project://indexJSON list of all indexed projects with their metadata.
project://{project_id}/treeDirectory tree of the project (depth 4).
project://{project_id}/readmeRaw content of the project’s README.md file.
project://{project_id}/package-jsonRaw content of the project’s package.json file.
project://{project_id}/git-statusCurrent git status of the project as JSON.
project://file/{project_id}/{path}Content of any file within the project.
project://file-meta/{project_id}/{path}Metadata of a file: size, MIME type, encoding, and truncation status.

File resource behavior

  • Text files are returned through the text field
  • Binary files are returned through the blob field as base64
  • Payloads are bounded by the configured MAX_OUTPUT_SIZE limit

Prompts

Prompts are pre-built instruction templates that agents can invoke to start structured coding workflows.
PromptDescription
analyze-projectAnalyze a project’s architecture, risks, and actionable improvements. Accepts project_id and optional focus.
implement-taskImplement a described task within a project. Accepts project_id, task, and optional constraints.
explain-fileExplain how a specific file works. Accepts project_id, path, and optional question.
generate-commit-messageGenerate a conventional commit message from a diff summary. Accepts project_id and diff_summary.
review-diffReview a diff for bugs, regressions, and missing tests. Accepts project_id and diff.
fix-test-failuresFix failing tests given raw test output. Accepts project_id and test_output.
Each prompt accepts structured arguments and returns prompt messages suitable for MCP clients.

Implementation map

  • Resources: src/mcp/resources/project.resources.ts
  • Prompts: src/mcp/prompts/workflow.prompts.ts