{"_id":"@cynosure-mcp/claude-code-terminal","_rev":"2-54eb68e8acc226eabb5872875f948938","name":"@cynosure-mcp/claude-code-terminal","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@cynosure-mcp/claude-code-terminal","version":"1.0.0","keywords":["mcp","model-context-protocol","claude","claude-code","anthropic","terminal","coding-agent"],"_id":"@cynosure-mcp/claude-code-terminal@1.0.0","maintainers":[{"name":"andjhagen","email":"voidvalkon@gmail.com"}],"bin":{"claude-code-terminal":"dist/index.js"},"dist":{"shasum":"a0991447f150a59cad8ce84be3fe082e388f24ea","tarball":"https://registry.npmjs.org/@cynosure-mcp/claude-code-terminal/-/claude-code-terminal-1.0.0.tgz","fileCount":7,"integrity":"sha512-Q9utm5mzjLW2PJYBMeQGiLFajZ57jAu51Nu+M+yMNZj4Rh/GUtYGypgvDVD6wQUYanntbawVEsttOVDFtZcrIA==","signatures":[{"sig":"MEUCIQD4UY7OybtTHSWKlefG7Scjdh6DpGjQj35dkSNdwpphlwIgC4Ut0YwR4IhfetirLuqEkh+SV30DFUf0NnbUvIAw0j0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54962},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"5f4ffc273f485708ad79df3ae5405ed39789bd57","mcpName":"io.github.andreasjhagen/claude-code-terminal","scripts":{"dev":"tsx src/index.ts","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"andjhagen","email":"voidvalkon@gmail.com"},"_npmVersion":"11.12.1","description":"MCP server for starting and controlling Claude Code CLI coding sessions","directories":{},"_nodeVersion":"24.15.0","dependencies":{"zod":"^3.24.0","node-pty":"^1.1.0","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-code-terminal_1.0.0_1782056225938_0.5008774370581106","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@cynosure-mcp/claude-code-terminal","mcpName":"io.github.andreasjhagen/claude-code-terminal","version":"1.0.1","description":"MCP server for starting and controlling Claude Code CLI coding sessions","type":"module","main":"dist/index.js","bin":{"claude-code-terminal":"dist/index.js"},"scripts":{"build":"tsc","start":"node dist/index.js","dev":"tsx src/index.ts"},"dependencies":{"@modelcontextprotocol/sdk":"^1.27.1","node-pty":"^1.1.0","zod":"^3.24.0"},"devDependencies":{"@types/node":"^22.0.0","tsx":"^4.19.0","typescript":"^5.7.0"},"publishConfig":{"access":"public"},"keywords":["mcp","model-context-protocol","claude","claude-code","anthropic","terminal","coding-agent"],"_id":"@cynosure-mcp/claude-code-terminal@1.0.1","gitHead":"a114eae53425d9d6ffe88b883a04b2ccabac7e7d","types":"./dist/index.d.ts","_nodeVersion":"22.17.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-7S/WE3EDnbvWetW2ohFtHNIW91BxVs30f9phpChAJIDbioQMpygUaiKtPn0H6rhtkWgVrNPdCIRxxG1CUz0xTg==","shasum":"efed590661168908cf8b61abaf25e9fd53e2d037","tarball":"https://registry.npmjs.org/@cynosure-mcp/claude-code-terminal/-/claude-code-terminal-1.0.1.tgz","fileCount":7,"unpackedSize":56366,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCHLmUzYqIZWqh6N9o1m4t35ijMMu9d15+fNvID3fYNNAIhAMLJ+t2WiHZAXe69kzYfGFyexZcB71u8b5rEzS9FIeov"}]},"_npmUser":{"name":"andjhagen","email":"voidvalkon@gmail.com"},"directories":{},"maintainers":[{"name":"andjhagen","email":"voidvalkon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/claude-code-terminal_1.0.1_1786486017721_0.6621414096206473"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-21T15:37:05.815Z","modified":"2026-08-11T22:06:58.030Z","1.0.0":"2026-06-21T15:37:06.097Z","1.0.1":"2026-08-11T22:06:57.883Z"},"keywords":["mcp","model-context-protocol","claude","claude-code","anthropic","terminal","coding-agent"],"description":"MCP server for starting and controlling Claude Code CLI coding sessions","maintainers":[{"name":"andjhagen","email":"voidvalkon@gmail.com"}],"readme":"# @cynosure-mcp/claude-code-terminal\n\nMCP server for starting and controlling Anthropic Claude Code CLI coding sessions from another agent.\n\nIt exposes the documented Claude Code CLI workflows:\n\n- Interactive terminal mode with `claude`, backed by a PTY so the agent can read output and send follow-up input.\n- One-shot print mode with `claude -p \"query\"`, useful for scripted tasks and final answers.\n\n## Installation\n\n```bash\nnpx @cynosure-mcp/claude-code-terminal\n```\n\nOr install globally:\n\n```bash\nnpm install -g @cynosure-mcp/claude-code-terminal\nclaude-code-terminal\n```\n\n## Tools\n\n| Tool | Description |\n| ---- | ----------- |\n| `check_claude_cli` | Check whether the Claude Code CLI is available and report its version/auth status |\n| `claude_print` | Run `claude -p` non-interactively and return stdout/stderr |\n| `start_claude_session` | Start an interactive `claude` terminal session in a PTY |\n| `read_claude_session` | Read buffered output from an interactive session |\n| `send_claude_input` | Send text or control keys to an interactive session |\n| `stop_claude_session` | Stop one interactive session |\n| `list_claude_sessions` | List currently running interactive sessions |\n\n## Notes\n\nThis MCP assumes Claude Code is already installed and authenticated. Run `claude auth login` or open `claude` directly outside this MCP if setup is incomplete.\n\nUse `send_claude_input` with `submit=true` to send a prompt to the Claude Code composer, or send raw control keys such as Ctrl+C and Ctrl+D.\n\n## MCP Config\n\n```json\n{\n  \"mcpServers\": {\n    \"claude-code-terminal\": {\n      \"command\": \"npx\",\n      \"args\": [\"@cynosure-mcp/claude-code-terminal\"]\n    }\n  }\n}\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}