Back to Home
es6kr icon

claude-sessions-mcp

by es6kr

Overview

Manages Claude Code conversation sessions and projects, offering features like listing, renaming, deleting sessions and messages, and cleaning up old data via a Web UI and MCP tools.

Installation

Run Command
npx claude-sessions-mcp

Environment Variables

  • PORT

Security Notes

Critical command injection vulnerability in `web/src/routes/api/open-file/+server.ts`. The `filePath` parameter in the `/api/open-file` POST endpoint is directly interpolated into a shell command `code "${filePath}"` without proper sanitization. A malicious `filePath` containing double quotes (`"`) could allow arbitrary command execution on the host system. This poses a significant risk if an attacker can send arbitrary requests to the local server, e.g., via a compromised browser extension or an instructed LLM agent.

Similar Servers

Stats

Interest Score42
Security Score3
Cost ClassLow
Avg Tokens1000
Stars1
Forks0
Last Update2025-12-14

Tags

Session ManagementClaude CodeWeb UIMCP ServerDeveloper Tool