Skip to content

feat(mcp): register a gittensory://enrichment-analyzers resource from REES analyzer metadata #2226

Description

@JSONbored

REES ships a generated analyzer taxonomy (review-enrichment/analyzer-metadata.json, generated from review-enrichment/src/analyzers/registry.ts) listing each analyzer's name, category (supply-chain/security/performance/ownership), cost class, and profiles. No MCP surface exposes it, so agents can't discover which enrichment analyzers exist or what categories they emit. Add a read-only MCP resource that serves this taxonomy.

Deliverables

  • Register a gittensory://enrichment-analyzers resource in src/mcp/server.ts (mimeType application/json) that returns the analyzer taxonomy (name, category, cost class, default profiles)
  • Read the taxonomy from the committed analyzer-metadata.json (or a shared exported constant) — do not re-import the REES runtime
  • Tests: resource read returns the analyzers with categories present

References

  • review-enrichment/analyzer-metadata.json
  • review-enrichment/src/analyzers/registry.ts:39
  • src/mcp/server.ts:1067

Part of #1499.


size: S · held for later release (gittensor:feature once activated)

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.visualUI/web visual work — owner-led, NOT for Gittensor contributors (extensions excepted)

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions