From Context Attachment Manager
Local MCP server that manages image attachments in Claude Code sessions, replacing earlier images with placeholders to reduce message size while preserving access by ID.
Ships in Context Attachment Manager. Installing the plugin adds it to Claude Code.
Copy this JSON into your .mcp.json to enable this server
Add to your .mcp.json:
{
"mcpServers": {
"codex_attachment_manager": {
"command": "${CLAUDE_PLUGIN_ROOT}/plugin/scripts/launch",
"args": [
"${CLAUDE_PLUGIN_ROOT}/plugin/src/plugin-server.ts"
],
"env": {
"CAM_HOST": "claude"
}
}
}
}Environment variables set when the server starts
CAM_HOST=claudeCommand-line arguments passed to the server process
Server configuration and connection parameters
${CLAUDE_PLUGIN_ROOT}/plugin/scripts/launchnpx claudepluginhub chipfighter/context-attachment-manager --plugin codex-attachment-manager