MCP server exposing Tessera memory to AI coding agents
Project description
tessera-mcp
MCP server exposing Tessera memory to AI coding agents (Claude Code, Codex).
Install / run
- With the SDK:
pip install tessera-memory[mcp] - MCP only (Python):
pip install tessera-mcpthentessera-mcp - MCP only (Node):
npx tessera-mcp - Zero-install:
uvx --from tessera-mcp tessera-mcp
npm wrapper / uv bootstrap.
npx tessera-mcplaunches the Python server viauvx. Ifuvis not on your PATH the wrapper will not silently install it. It prints instructions and exits. To let the wrapper download and run the official uv installer (curl -LsSf https://astral.sh/uv/install.sh | sh, or the PowerShell equivalent on Windows), re-run withTESSERA_AUTO_INSTALL_UV=1. Alternatively install uv yourself from https://astral.sh/uv or use the Python install path above.
Configure (env)
TESSERA_API_KEY— your Tessera API key (the tenant/isolation boundary)TESSERA_REPO— repo identity, used as the durableuser_id(e.g.repo:my-app)TESSERA_SESSION— optional task/session idTESSERA_RECALL_ON_PROMPT— set0to disable per-prompt lesson recall (Claude Code)TESSERA_CONSOLIDATE_TRANSCRIPT— set1to enable the Claude Code SessionEnd transcript upload (default off). See the warning below.
Tools
| Tool | Purpose |
|---|---|
memory_recall(query) |
composed memory context for the repo/task |
memory_search(query) |
raw hybrid search hits (no LLM) |
memory_save_lesson(trigger, steps, success) |
save a reusable lesson |
memory_recall_lessons(situation) |
recall lessons for a situation |
memory_note(text) |
record a durable repo convention |
Editor setup
- Claude Code: install the plugin —
/plugin marketplace add harshkedia177/tessera-pythonthen/plugin install tessera-memory@tessera. Bundles the MCP server, session hooks, and theusing-tessera-memoryskill (seeintegrations/claude-code/). - Codex: copy the
[mcp_servers.tessera_memory]block into~/.codex/config.tomland dropAGENTS.md+.agents/skills/using-tessera-memory/into your repo (seeintegrations/codex/).
Privacy: the Claude Code SessionEnd hook ships your transcript
The Claude Code SessionEnd hook can upload the entire session transcript
(every user + assistant turn) to the memory backend, keyed by repo, where it is
later recalled and re-injected into future sessions. Coding transcripts routinely
contain secrets (pasted API keys, printed .env files, credentials in command
output). Because this upload is automatic, it bypasses the agent's "never store
secrets" instruction.
For that reason it is opt-in and off by default:
- It runs only when
TESSERA_CONSOLIDATE_TRANSCRIPT=1. - When enabled, a redaction pass strips common secret shapes (
KEY=/TOKEN=/SECRET=/PASSWORD=assignments,sk-/tsk_/ghp_/xoxtokens, AWS access keys,Authorization:headers, PEM private-key blocks) before upload.
Redaction is best-effort, not a guarantee — enable transcript consolidation only against a memory backend you trust with session contents.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tessera_mcp-0.1.0.tar.gz.
File metadata
- Download URL: tessera_mcp-0.1.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcc1a1720fc1c2ac67b19722f4a05cbeb510eab2d4c12f574cbff6298a80c75a
|
|
| MD5 |
fd4ee309255709e6929632dfc0cdbad7
|
|
| BLAKE2b-256 |
044a07ac47757441dacbdd0345daa779bf0a247340f93ab12b7b3d94c564401a
|
Provenance
The following attestation bundles were made for tessera_mcp-0.1.0.tar.gz:
Publisher:
ci.yml on harshkedia177/tessera-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tessera_mcp-0.1.0.tar.gz -
Subject digest:
bcc1a1720fc1c2ac67b19722f4a05cbeb510eab2d4c12f574cbff6298a80c75a - Sigstore transparency entry: 1838435086
- Sigstore integration time:
-
Permalink:
harshkedia177/tessera-python@ad2a1884a7c58931d9988543f5075031e91966ca -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/harshkedia177
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@ad2a1884a7c58931d9988543f5075031e91966ca -
Trigger Event:
push
-
Statement type:
File details
Details for the file tessera_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tessera_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22badc6093651a0ab45179ec902a072eda52f6bc87db288a03910753c9469207
|
|
| MD5 |
8eb7c37fb07ff93eb77718a1400c98be
|
|
| BLAKE2b-256 |
4417197c00df25c142f53d4849721549869203fd882efe2d5beb429f4aebc759
|
Provenance
The following attestation bundles were made for tessera_mcp-0.1.0-py3-none-any.whl:
Publisher:
ci.yml on harshkedia177/tessera-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tessera_mcp-0.1.0-py3-none-any.whl -
Subject digest:
22badc6093651a0ab45179ec902a072eda52f6bc87db288a03910753c9469207 - Sigstore transparency entry: 1838435255
- Sigstore integration time:
-
Permalink:
harshkedia177/tessera-python@ad2a1884a7c58931d9988543f5075031e91966ca -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/harshkedia177
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@ad2a1884a7c58931d9988543f5075031e91966ca -
Trigger Event:
push
-
Statement type: