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
- Install dependencies:
- Start the development server:
API Endpoints
POST /context/:userId
Add a new prompt to user's context and get updated context.
Request body:
Response:
GET /context/:userId
Get current context for a user.
Response:
DELETE /context/:userId
Clear context for a user.
Response:
Development
npm run dev
: Start development server with hot reloadnpm run build
: Build TypeScript filesnpm start
: Run built files
This server cannot be installed
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.
Related MCP Servers
- AsecurityAlicenseAqualityA 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 -1077PythonMIT License
- AsecurityAlicenseAqualityA 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 -2TypeScriptMIT License
- -securityAlicense-qualityA 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 -TypeScriptMIT License
- -securityAlicense-qualityA 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 -5PythonApache 2.0