---
id: 7408
title: 'MCP Server: Implement Memory Read Endpoints'
state: CLOSED
labels:
  - enhancement
  - help wanted
  - good first issue
  - hacktoberfest
  - ai
assignees:
  - Nalin7parihar
createdAt: '2025-10-07T10:21:05Z'
updatedAt: '2025-10-11T18:07:00Z'
githubUrl: 'https://github.com/neomjs/neo/issues/7408'
author: tobiu
commentsCount: 3
parentIssue: 7399
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2025-10-11T18:07:00Z'
---
# MCP Server: Implement Memory Read Endpoints

This ticket is for implementing the primary read endpoints for the Memory Core MCP server. This involves fetching memories and summaries from the ChromaDB collection.

## Acceptance Criteria

1.  The server is extended to implement the `GET /memories` endpoint, which lists all raw memory turns for a given `sessionId`.
2.  The server is extended to implement the `GET /summaries` endpoint, which lists all session summaries.
3.  Both endpoints return data in the structured JSON format defined in the design ticket.
4.  Appropriate error handling is implemented.

---

## 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: **MCP Server: Implement Memory Read Endpoints**
> 
> 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-implement-memory-read-endpoints.md before we begin.

## Timeline

- 2025-10-07T10:21:06Z @tobiu added the `enhancement` label
- 2025-10-07T10:21:06Z @tobiu added parent issue #7399
- 2025-10-07T10:21:07Z @tobiu added the `help wanted` label
- 2025-10-07T10:21:07Z @tobiu added the `good first issue` label
- 2025-10-07T10:21:07Z @tobiu added the `hacktoberfest` label
- 2025-10-07T10:21:07Z @tobiu added the `ai` label
### @Nalin7parihar - 2025-10-07T10:31:19Z

Hi! I would like to work on this issue? can you assign it to me?

### @tobiu - 2025-10-07T10:45:52Z

Hi, and thanks for your interest. Sure, I can assign the ticket to you. Make sure to read https://github.com/neomjs/neo/issues/7399 first. The work on this ticket is blocked, until the server is set up.

You can explore the current implementation though already, e.g. after instructing the agent to follow the instructions inside the agents.md file, ask it: "use the ai knowledge db and explain what makes neo special."

You can also mention hacktoberfest and start a conversation => the agent can create new tickets.

- 2025-10-07T10:45:59Z @tobiu assigned to @Nalin7parihar
### @Nalin7parihar - 2025-10-07T10:56:25Z

Got it! I’ll go through the epic and design tickets while the setup is in progress.

- 2025-10-10T20:47:14Z @Aki-07 cross-referenced by PR #7455
- 2025-10-11T15:06:54Z @Aki-07 cross-referenced by PR #7463
- 2025-10-11T18:07:00Z @tobiu closed this issue

