LearnNewsExamplesServices
Frontmatter
id7402
titleDesign Memory Core MCP Server API
stateClosed
labels
enhancementhelp wantedgood first issuehacktoberfestai
assigneesMannXo
createdAtOct 7, 2025, 12:08 PM
updatedAtOct 8, 2025, 5:35 PM
githubUrlhttps://github.com/neomjs/neo/issues/7402
authortobiu
commentsCount2
parentIssue7399
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 8, 2025, 5:35 PM

Design Memory Core MCP Server API

Closed v11.0.0 enhancementhelp wantedgood first issuehacktoberfestai
tobiu
tobiu commented on Oct 7, 2025, 12:08 PM

This ticket covers the detailed API design for the new Memory Core MCP server. This server will replace the current CLI scripts, providing a formal, structured interface for agents to interact with their session-based memory.

This design must define a comprehensive, resource-oriented API for managing memories, summaries, sessions, and the database itself.

Acceptance Criteria

  1. A clear, resource-oriented API endpoint structure is designed.
  2. The following endpoints are defined with their request and response contracts:
    • GET /docs: Serves interactive API documentation (Swagger UI).
    • GET /healthcheck: Confirms server health and DB connection.
    • POST /memories: Adds a new raw memory turn.
    • GET /memories: Reads all memories for a given sessionId.
    • POST /memories/query: Searches raw memories.
    • GET /summaries: Reads all session summaries.
    • POST /summaries/query: Searches session summaries.
    • DELETE /summaries: Deletes all session summaries.
    • POST /sessions/summarize: Triggers the summarization of unsummarized sessions.
    • GET /db/export: Exports the entire memory database.
    • POST /db/import: Imports a database backup.
  3. The API design is formally documented in an OpenAPI 3.0 specification file (e.g., openapi.yaml).
  4. The API design is documented in a new markdown file within the learn/guides/ai/ directory, ready for implementation.

Agent Instructions

To work on this ticket, please start your session with the following prompt:

Please follow the instructions in @AGENTS.md.

Once you are initialized, I want to work on a sub-task for the "Architect AI Tooling as a Model Context Protocol (MCP) Servers" epic.

My task is to implement: Design Memory Core MCP Server API

You will need to read the epic context from @.github/ISSUE/epic-architect-ai-tooling-as-mcp.md and the specific ticket details from @.github/ISSUE/ticket-design-memory-mcp-api.md before we begin.

tobiu added parent issue #7399 on Oct 7, 2025, 12:08 PM
tobiu added the enhancement label on Oct 7, 2025, 12:08 PM
tobiu added the help wanted label on Oct 7, 2025, 12:08 PM
tobiu added the good first issue label on Oct 7, 2025, 12:08 PM
tobiu added the hacktoberfest label on Oct 7, 2025, 12:08 PM
tobiu added the ai label on Oct 7, 2025, 12:08 PM
MannXo cross-referenced by #7404 on Oct 8, 2025, 2:42 PM
MannXo
MannXo Oct 8, 2025, 2:47 PM

Can you assign this to me? @tobiu

tobiu assigned to @MannXo on Oct 8, 2025, 2:50 PM
tobiu
tobiu Oct 8, 2025, 2:50 PM

done

MannXo referenced in commit 7e2bca2 - "Design Memory Core MCP Server API on Oct 8, 2025, 5:09 PM
MannXo cross-referenced by PR #7419 on Oct 8, 2025, 5:15 PM
tobiu closed this issue on Oct 8, 2025, 5:35 PM
tobiu referenced in commit 6bcdc06 - "Design Memory Core MCP Server API on Oct 8, 2025, 5:35 PM