Skip to content

feat(mcp): expand MCP server with learn, status, session_list tools #717

@magicpro97

Description

@magicpro97

User Story

As an AI agent using MCP, I want to write knowledge entries and query session status so that sk becomes a full read/write knowledge tool in agentic loops.

Problem

The MCP server exposes only 3 read tools. Agents cannot write mistakes/patterns or check health.

Acceptance Criteria

  • learn MCP tool: category, title, description, tags → persists entry, returns receipt with id
  • status MCP tool: returns JSON health snapshot (session count, entry count, watcher status)
  • session_list MCP tool: returns recent sessions (id, summary, created_at, label)
  • All 3 tools wired in _handle_tools_call() dispatch table
  • Tests in test_fixes.py

Priority: HIGH

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmcpWBS research import label

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions