Memory Context Provider Server

by Srish-ty

Memory Context Provider (MCP) Server

A server that manages context for LLM interactions, storing and providing relevant context for each user.

Features

  • In-memory storage of user contexts
  • Context management with last 5 prompts
  • RESTful API endpoints
  • TypeScript support

Setup

  1. Install dependencies:
    npm install
  2. Start the development server:
    npm run dev

API Endpoints

POST /context/:userId

Add a new prompt to user's context and get updated context.

Request body:

{ "prompt": "Your prompt here" }

Response:

{ "context": "Combined context from last 5 prompts" }

GET /context/:userId

Get current context for a user.

Response:

{ "context": "Current context" }

DELETE /context/:userId

Clear context for a user.

Response:

{ "message": "Context cleared" }

Development

  • npm run dev: Start development server with hot reload
  • npm run build: Build TypeScript files
  • npm start: Run built files
-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A server that manages conversation context for LLM interactions, storing recent prompts and providing relevant context for each user via REST API endpoints.

  1. Features
    1. Setup
      1. API Endpoints
        1. POST /context/:userId
        2. GET /context/:userId
        3. DELETE /context/:userId
      2. Development

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that enables LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and various API operations including record management.
          Last updated -
          10
          53
          Python
          MIT License
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that provides LLMs with access to Valyu's knowledge retrieval and feedback APIs for searching proprietary/web sources and submitting transaction feedback.
          Last updated -
          2
          TypeScript
          MIT License
          • Linux
          • Apple
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that integrates LLMs with Frontapp's customer communication platform, enabling access to conversations, contacts, and tags while supporting real-time updates via webhooks.
          Last updated -
          TypeScript
          MIT License
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol Server that enables LLMs to interact with and execute REST API calls through natural language prompts, supporting GET/PUT/POST/PATCH operations on configured APIs.
          Last updated -
          5
          Python
          Apache 2.0

        View all related MCP servers

        ID: pm0d83hpap