Skip to main content

Structured AI memory layer — single source of truth for what your agent knows

Project description

devmcp-context

devmcp-context logo

Structured AI memory layer. A single source of truth for what your agent knows across conversations.

devmcp-context is a Model Context Protocol (MCP) server that provides persistent, organized memory for AI agents. Your agent's memory is now visible, editable, and searchable — without retraining.

The Problem

AI agents are black boxes. You can't see what they remember. When they forget something important or remember something wrong, you're stuck.

devmcp-context changes this. Your agent's memory is now:

  • Visible — Plain text files in your project folder
  • Editable — Change any entry, agent sees it immediately
  • Structured — Organized into 5 categories with automatic cleanup
  • Persistent — Survives across agent sessions and restarts

Installation

pip install devmcp-context

Or with uv:

uv add devmcp-context

Quick Start

Register in your agent's MCP config (Claude, Node.js, Python, Docker), then:

devmcp-context

Your agent will auto-discover the memory server. Start asking questions, and memories are saved to ai-context/ folder.

Features

  • 5 memory categories (project, decisions, errors, tasks, ephemeral)
  • Automatic expiration (TTL) — errors expire in 30 days, tasks in 14
  • Full-text search across all entries
  • Tagging system for organization
  • Persistent file-based storage (no database)
  • MCP-compliant server

Documentation

Full docs: https://kushal1o1.github.io/devmcp-context/

  • Getting Started guide
  • Installation instructions
  • API Reference (6 tools)
  • Memory categories explained
  • Architecture diagrams (Mermaid)
  • Deployment guide
  • Development guide

Usage Example

In your agent prompt:

Use context_save to remember insights:
- save("decisions", "auth_strategy", "Use JWT with refresh tokens", tags=["security"])

Use context_load to retrieve memories:
- load("decisions")

Use context_search to find specific memories:
- search("JWT")

License

MIT — See LICENSE for details.

Contributing

Contributions welcome! See CONTRIBUTING.md for guidelines.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devmcp_context-0.1.2.tar.gz (224.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

devmcp_context-0.1.2-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file devmcp_context-0.1.2.tar.gz.

File metadata

  • Download URL: devmcp_context-0.1.2.tar.gz
  • Upload date:
  • Size: 224.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for devmcp_context-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d0fafbb51743815adeae2920234524ef6d9afa5f81f633aa556306837b95dedd
MD5 22e82b031e0210e41469828f0395115e
BLAKE2b-256 e41023bf04966cff3ddc311d41bde0e873ca1ecc60b23e315012b53016991ad5

See more details on using hashes here.

Provenance

The following attestation bundles were made for devmcp_context-0.1.2.tar.gz:

Publisher: publish.yml on kushal1o1/devmcp-context

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file devmcp_context-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: devmcp_context-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for devmcp_context-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ce11affed723498d9490b505613e9d57cb6c3f0c3b76f5d6a1f0a348bd1c112a
MD5 cd2af87c0f08068a77b216a1fa96574b
BLAKE2b-256 a1090fd5a03fd08d89cf0ea71fb6f186c32163798d2924769f32bfb2bdd14709

See more details on using hashes here.

Provenance

The following attestation bundles were made for devmcp_context-0.1.2-py3-none-any.whl:

Publisher: publish.yml on kushal1o1/devmcp-context

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page