Skip to main content

DMCP

This repository contains the Python package dmcp-server, which installs the dmcp-server command.

The MCP server exposes two tools:

  • augument: rewrites a prompt with relevant history and knowledge from the SQLite memory database.
  • rewrite: alias for augument.
  • prompt: alias for augument.
  • record: records a prompt/response pair and stores extracted knowledge in the SQLite memory database.

Create or update the local development environment:

uv sync

Validate the current API route config:

uv run dmcp-server validate-config dmcp-api.json

Run the MCP server over stdio:

uv run dmcp-server serve --db .dmcp/memory.sqlite3

Run it over Streamable HTTP:

uv run dmcp-server serve --transport http --host 127.0.0.1 --port 8000 --db .dmcp/memory.sqlite3

Run the curl-based HTTP smoke test:

make curl-test

Publish a built package to TestPyPI:

cp .env.example .env
# edit .env and set UV_PUBLISH_TOKEN
make publish-test

Publish a built package to PyPI:

make publish

Metadata

Release files for dmcp-server 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dmcp-server 0.1.0
File Size Uploaded
dmcp_server-0.1.0.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dmcp-server 0.1.0
File Interpreter ABI Platform
dmcp_server-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.5 kB

Release files / dmcp_server-0.1.0.tar.gz

Download URL dmcp_server-0.1.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6ac1b33ed5c03405fe7bf85512d1f0f5bcbd3d19921ca077d1822caa0e9bed34
BLAKE2b-256 checksum
How to use checksums
7a911ad139720e1063d77f9d1b06d8f073923ad0eaf610e7646d0b4359894dcd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Release files / dmcp_server-0.1.0-py3-none-any.whl

Download URL dmcp_server-0.1.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e39361f95cd6ab61e555e742ae3c66b9d05699be03ad81382e6f3e2b18eb09ec
BLAKE2b-256 checksum
How to use checksums
a73cf871e15f53132acc65abee50edc1df88d8439afd1869fef28abac32dadde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page