Back to Home
es6kr icon

claude-sessions-mcp

by es6kr

Overview

Manages Claude Code conversation sessions, including project, session, and message management, along with a SvelteKit-based Web UI.

Installation

Run Command
npx claude-sessions-mcp

Environment Variables

  • PORT

Security Notes

The server uses `child_process.execAsync` to open files (`code "${filePath}"`) via the `/api/open-file` endpoint. While intended for local file management, this endpoint allows an arbitrary `filePath` to be passed from the client side without server-side validation or restriction. This means a malicious actor (or a compromised UI) could potentially command the server to open any file on the user's local system (e.g., sensitive configuration files, private keys) in VS Code. Although `code "..."` mitigates some basic shell injection, the ability to specify arbitrary file paths is a significant local privilege escalation risk. No hardcoded secrets were found. File system operations are confined to expected Claude directories for session management, except for this specific 'open file' functionality.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassLow
Avg Tokens1
Stars0
Forks0
Last Update2025-12-25

Tags

Claude CodeMCP ServerSession ManagementWeb UISvelteKit