Memory Pickle MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
codesmell
Local CLI that turns a coding goal into ranked, token-budgeted repository context for AI agents.
agent → shell → codesmell JSON → agent reasoningNo daemon. No MCP. No network. Reads the local checkout, writes .codesmell/ cache, exits.
Usage
codesmell pack --root . --goal "fix refresh token bug" --budget 12000 --format jsonAll commands support --format json (agent contract) or plain terminal output (omit the flag).
Command | Purpose |
| Bootstrap |
| Check local readiness |
| Repo structure, languages, public symbols |
| Ranked evidence for a query |
| Budgeted context pack for a coding goal |
| Deep-dive a file or symbol |
| Changed files, symbols, risk hints |
| Focused test suggestions |
| Deterministic findings with evidence |
Related MCP server: agendum
Agent Contract
--format json emits exactly one JSON object on stdout (schema_version: "codesmell.agent.v1"). Diagnostics go to stderr.
Key fields: status, confidence, budget, coverage, guidance, evidence, findings, risks, test_hints, redactions, recommended_next.
Status values:
ok— actionable evidence, proceed.partial— evidence with caveats; run a follow-up before broad edits.needs_refinement— goal too broad; narrow viarecommended_next.error— no evidence; checkwarnings.
Secrets are redacted before output. Only counts and kinds are reported — never raw values.
Architecture
crates/
codesmell-cli clap commands, JSON/human output
codesmell-core domain types, config, errors
codesmell-facts language-neutral fact model, AST cache schema
codesmell-engine shared workspace analysis orchestration
codesmell-scan gitignore-aware walking, classification, fingerprints
codesmell-parse tree-sitter parsing, symbol/import extraction
codesmell-index lexical ranking, BM25-style scoring
codesmell-pack context budgeting, redaction, evidence selection
codesmell-review diff analysis, findings, test-planRust is the only tree-sitter-parsed language today. Other languages are scanned and ranked lexically.
Development
cargo build --workspace
cargo test
cargo fmt --check
cargo clippy --all-targets -- -D warningsRun locally:
cargo run -p codesmell-cli -- pack --root . --goal "fix bug" --budget 12000 --format jsonTest fixture: tests/fixtures/rust-basic. Integration tests synthesize ignored files, secrets, staged changes, renames, and mixed-language scenarios in temp repos.
Large-repo smoke (optional, ignored by default):
scripts/clone-bun-test-repo.sh
cargo test -p codesmell-cli core_commands_smoke_run_on_ignored_bun_test_repo -- --ignoredDocs
Design and roadmap details live in docs/:
IDEA.md— product vision and positioningAST_ENGINE_DESIGN.md— engine internals and tree-sitter strategyROADMAP.md— milestone trackingTGREP_DESIGN.md— tgrep relation-search designTGREP_ROADMAP.md— tgrep milestones
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Project memory, documentation and controlled secret access for AI coding agents.
Project management for AI agents: tasks, docs, decisions and time in one shared team context.
Project tracker for teams working with AI agents: issues, cycles, docs and shared agent memory.
Project memory for coding agents: requirements, decisions, code graph and delivery telemetry.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAI-native project management with persistent memory for coding agents. 17 MCP tools for features, stories, sprints, architecture decisions, knowledge base, and session tracking.3MIT
- AlicenseNot gradedqualityDmaintenanceProject memory and scoping engine for AI coding agents. It gives any agent persistent project state, bounded work packages, and cross-session continuity.6MIT
- AlicenseCqualityBmaintenanceTurns AI assistants into active Technical Project Managers by providing a persistent project brain and workflow tools for onboarding, session management, and code verification.9143 PyPI2MIT
- AlicenseNot gradedqualityAmaintenanceA persistent, project-scoped memory layer for AI coding agents, providing 39 tools for capturing, searching, deduplicating, relating, and maintaining memory records across long-running coding sessions.0MIT