Basic information
About ContextBase (MCP Server)
A mcp server for storing and managing user context for ai apps via api
ContextBase (MCP Server) is a MCP server in the Other category listed in the AddMCP.net directory, published by imfeniljikadara. Supported transport: stdio. Runtime: node. License: MIT. The repository has 1 GitHub stars. Source code is hosted on github.com.
ContextBase (MCP Server) config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
ContextBase (MCP Server) tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is ContextBase (MCP Server)?
ContextBase (MCP Server) is a Model Context Protocol server for AI agents, assistants, and applications. It stores, retrieves, and manages per-user context using a simple API, built with TypeScript, Fastify, Prisma ORM, PostgreSQL, and Redis.
How to use ContextBase (MCP Server)?
Install Node.js v14+, PostgreSQL, and Redis. Clone the repository, install dependencies, configure environment variables (DATABASE_URL, REDIS_HOST, REDIS_PORT, JWT_SECRET, PORT), run database migrations with npx prisma migrate dev, then start the server with npm start or docker-compose up. Use the provided REST API endpoints (e.g., POST /api/auth/register, POST /api/memory) to register users, login, and manage memory objects.
Key features of ContextBase (MCP Server)
- Secure user authentication using JWT and bcrypt
- API endpoints for storing and retrieving memory data
- Comprehensive logging of user actions
- PostgreSQL for persistent storage
- Redis for high-performance caching
- Modern tech stack: TypeScript, Fastify, Prisma ORM
Use cases of ContextBase (MCP Server)
- AI assistants maintaining per-user conversation history
- Applications storing user-specific context across sessions
- Managing and retrieving user memories via a RESTful API
- Auditing user actions with a built-in logging system
Frequently asked questions
1 What runtime and dependencies are required?
Node.js v14 or higher, PostgreSQL, and Redis are required. Docker and Docker Compose can be used for containerized deployment.
2 How does authentication work?
The server uses JWT and bcrypt. Users can register via POST /api/auth/register and login via POST /api/auth/login to obtain a token.
3 What data can be stored and retrieved?
Memory objects can be created, read, updated, and deleted via REST endpoints (/api/memory). Logs of user actions are accessible at /api/logs.
4 Where is data persisted?
Per-user context is stored in PostgreSQL; Redis is used as a caching layer for performance.
5 What transport protocol does the server use?
The server exposes a REST API over HTTP, listening on a configurable port (default 3000). No WebSocket or other transports are mentioned.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In