Skip to content

feat: MCP Phase 1 — Code Intelligence tools (5 tools) #284

Description

@ajianaz

MCP Phase 1 — Code Intelligence Tools

Expose v0.6/v0.7 code intelligence features to AI agents via MCP.

Tools to add:

Tool Input Description
cora.search_symbols query, kind?, file?, language?, limit? FTS5 search across symbol index
cora.find_callers symbol, limit? Reverse call graph — who calls this?
cora.find_impact symbol, depth? Blast radius — what breaks if changed?
cora.find_affected_tests files[] Test selection — which tests to run?
cora.index_status Index stats + freshness check

Design:

  • Read-only (no side effects)
  • JSON output for agent parsing
  • Graceful degradation ("no index, run cora index first")
  • Fast: <100ms (no LLM calls)
  • Stateless

Depends on:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions