Skip to content

First Adapter + Formatters (SearchAdapter) #28

@prosdev

Description

@prosdev

Description

Validate the adapter framework by implementing the SearchAdapter and token-efficient formatters. This proves the adapter pattern works and establishes best practices for token optimization.

Milestone: Adapter framework validated! First working MCP tool! ✅

Scope

  • SearchAdapter (dev_search tool)
  • CompactFormatter + VerboseFormatter
  • Token estimation utilities
  • Integration test with real MCP messages

Acceptance Criteria

  • SearchAdapter implements ToolAdapter interface
  • dev_search tool callable via MCP
  • Compact format returns summaries only (default)
  • Verbose format returns full details (opt-in)
  • Token estimation within 20% accuracy
  • Integration test with server + adapter
  • >80% test coverage

Estimate: 2 days
Parent Epic: #26 (MCP Integration)
Depends on: #27

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions