Skip to content

MCP: add a read-only get_my_week summary tool (with its contract test) #10

@ali-maher-m

Description

@ali-maher-m

What

Add a small read-only MCP tool, get_my_week, that returns the signed-in user's week summary (items + time logged). Keep it read-only. RyTask enforces 100% MCP parity, so it must be declared and tested.

Where

  • Registry: packages/contracts/src/mcp/registry.ts.
  • Tools/dispatch: apps/api/src/mcp/.
  • Declare it + its required test in the owning module's module.testplan.ts.

How to verify

pnpm check:mcp-parity stays green and the new tool's contract test passes.

Notes

This is a great way to learn the MCP layer — happy to point you at an existing read-only tool to copy from.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions