mirror of
https://github.com/samvallad33/vestige.git
synced 2026-07-14 22:52:11 +02:00
The /duplicates, /contradictions, and /patterns routes shipped hardcoded mock data — and /duplicates rendered a "Live" badge over it. That is a launch credibility risk: a visitor who spots the canned data distrusts every real claim (including the CauseBench benchmark). Replaces the three mocks (mockFetchDuplicates, MOCK_CONTRADICTIONS, mockFetchCrossProject) with real dashboard HTTP endpoints backed by the existing core capabilities: - GET /api/duplicates -> dedup cluster detection - GET /api/contradictions -> trust-weighted contradiction analysis - GET /api/patterns/cross-project-> cross-project pattern transfer Adds the handlers (dashboard/handlers.rs), route registrations (dashboard/mod.rs), frontend api client methods + response types, and rewrites the three routes to fetch live. The "Live" badge is now truthful. Verified this session: - cargo build -p vestige-mcp: compiles - pnpm --filter @vestige/dashboard check: 905 files, 0 errors, 0 warnings - live backend on a 1073-memory DB returns real rows from all three endpoints Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||
Vestige MCP Server
Local cognitive memory for MCP-compatible AI agents.
This crate provides the vestige-mcp stdio MCP server plus the vestige CLI.
The cognitive engine lives in vestige-core; this crate owns protocol handling,
tool dispatch, optional dashboard serving, backups, restore, update, and
portable import/export commands.
Install
For normal users, prefer the release package:
npm install -g vestige-mcp-server
For local development:
cargo build --release -p vestige-mcp
Register With An MCP Client
Use the command vestige-mcp in any stdio MCP client:
{
"mcpServers": {
"vestige": {
"command": "vestige-mcp"
}
}
}
Examples:
claude mcp add vestige vestige-mcp -s user
codex mcp add vestige -- vestige-mcp
Transports
- Default: JSON-RPC 2.0 over stdio.
- Optional: MCP-over-HTTP on
/mcp, enabled only with--http,--http-port, orVESTIGE_HTTP_ENABLED=1. - Dashboard:
vestige dashboardorVESTIGE_DASHBOARD_ENABLED=1.
HTTP and dashboard bearer tokens are generated locally; see
docs/CONFIGURATION.md.
Current Tool Surface
The server exposes the current unified MCP tools from
src/server.rs, including:
session_contextsearch,smart_ingest,memory,codebase,intentiondeep_reference,cross_reference,contradictionsdream,explore_connections,predictmemory_health,memory_graph,composed_graph,system_statusimportance_score,find_duplicatesconsolidate,memory_timeline,memory_changelogbackup,export,restore,gc,suppress
See the root README.md and
docs/AGENT-MEMORY-PROTOCOL.md for
agent instructions.
License
AGPL-3.0-only