MCP server · Audited from source
Cursor History MCP server
by s2thend/cursor-history-mcpMIT licenceAudited 8 Oct 2026 · source f5d755a227f1
Is it safe? Yes — SAFE, grade B (89/100). It exposes 8 tools: 7 read, 1 write and 0 destructive. The audit recorded 8 findings (0 critical, 0 high, 0 medium, 7 low). Maintainer's description: MCP server for browsing, searching, and exporting Cursor AI chat history.
Cite
Cite this page
ModelsAtlas. “Cursor History MCP server (s2thend/cursor-history-mcp)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/s2thend/cursor-history-2
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
8 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared2 observations
- NetworkNone observedNothing seen in the source
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 1 finding |
L1 Static source | Secrets, path traversal, supply chain | PASS 7 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
s2thendUser accountAccount type recorded when we read the repository. - PackagePublished on npm
cursor-history-mcpat version 0.3.1 - LicenceMITFrom the repository, as read at the audited commit.
- Last push29 days agoActivity of the repository when we read it.
- Source commit readf5d755a227f1The audit covers exactly this commit, read on 8 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory8 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (8)
Sorted by severity
LOWInsecure cryptocrypto.weak_hash · tests/integration/mcp-storage.test.ts:76
const hash = createHash("md5").update(project).digest("hex");- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · .specify/scripts/bash/common.sh:11
(cd "$script_dir/../../.." && pwd)
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tools/year-pack/index.ts:7
import { mapCursorHistoryError, isMcpError } from "../../errors.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/integration/history-upgrade.test.ts:3
import { handleListSessions } from "../../src/tools/list-sessions.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/integration/history-upgrade.test.ts:4
import { handleShowSession } from "../../src/tools/show-session.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/integration/history-upgrade.test.ts:5
import { handleSearch } from "../../src/tools/search.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@eslint/js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint, typescript-eslint
- Why
- 5 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
INFOInventory / provenanceinv.oversize · docs/readme-banner.png
docs/readme-banner.png
- Why
- 1406623 bytes not read
- Fix
- —
Tools it exposes
8 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
cursor_history_migrate | write | Move or copy eligible Composer sessions between workspaces. Store-only, merged-source and ambiguous sessions are refused. Use dryRun to preview. Moving removes the original; back up first. |
cursor_history_backup | read | Back up Composer chat history to a restorable ZIP archive. Store databases, Agent transcripts and ACP stores are not included. |
cursor_history_export | read | Export a Cursor AI chat session to Markdown or JSON format. Returns the formatted content. |
cursor_history_list | read | List Cursor AI chat sessions. Returns recent sessions with metadata including workspace, message count, and timestamps. |
cursor_history_restore | read | ⚠️ DESTRUCTIVE: Restore Composer databases from a backup archive. This can overwrite Composer history; it does not restore Store databases, Agent transcripts or ACP stores. Back up current Composer data first. |
cursor_history_search | read | Search across all Cursor AI chat sessions for a keyword or phrase. Returns matching sessions with context around each match. |
cursor_history_show | read | Inspect the available messages and tool activity in a Cursor session, with source and timestamp provenance. Long thinking and tool payloads are abbreviated; use export for unabridged available content. |
cursor_history_year_pack | read | Generate a year-in-review data package from Cursor AI chat history. |
Install
Package version 0.3.1 · audited commit f5d755a
claude mcp add cursor-history-mcp -- npx -y [email protected]
The command pins the package version recorded in the source (0.3.1); the audit covers commit f5d755a227f1. Transport: stdio. No environment variables required.
Audit history
- ✓SAFE B 89 / 100
First audit ·
f5d755a227f1
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/s2thend/cursor-history-2/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Cursor History MCP server
What is the Cursor History MCP server?
What tools does Cursor History expose?
Is Cursor History safe to connect to an agent?
What credentials does Cursor History need?
How does Cursor History run?
How current is this page?
Sources
- s2thend/cursor-history-mcp on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit f5d755a227f1Observed · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Cursor History MCP server?
- What tools does Cursor History expose?
- Is Cursor History safe to connect to an agent?