Skip to content

Feat/mcp resources and prompts#84

Merged
asiniscalchi merged 3 commits into
mainfrom
feat/mcp-resources-and-prompts
May 13, 2026
Merged

Feat/mcp resources and prompts#84
asiniscalchi merged 3 commits into
mainfrom
feat/mcp-resources-and-prompts

Conversation

@asiniscalchi

Copy link
Copy Markdown
Owner

No description provided.

Add resource URI templates for journal://entry/{id}, review://daily/{date},
review://weekly/{week_start}, enable the resources capability, and serve
read_resource via the underlying analyzer read services. The wiring layer
now returns an AnalyzerMcpComponents bundle so the MCP adapter can reach
the services it needs for resource reads.
journal_get, daily_review_get, and weekly_review_get duplicated the
journal://entry/{id}, review://daily/{date}, and
review://weekly/{week_start} resources added in the previous commit.
Removing them keeps tools focused on parameter-driven queries (search,
range, recent) and leaves point-in-time fetches to the resource API.
Enable the prompts capability and register two canned templates:
summarize_week (required week_start) and signals_recap (required
from_date / to_date_exclusive). Each renders a user message that points
the model at the relevant resources or tools, so hosts can offer them
as slash-commands without crafting prompts by hand.
@asiniscalchi asiniscalchi merged commit 6c852a9 into main May 13, 2026
3 checks passed
@asiniscalchi asiniscalchi deleted the feat/mcp-resources-and-prompts branch May 13, 2026 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant