You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A CLI tool that launches a full MCP (Model Context Protocol) server for Claude.ai, with Cloudflare tunnel support for instant public access — no server setup required.
Give Claude complete, secure access to any project directory: read and write files, run commands, search code, manage memory, and more.
Features
Interactive setup — guided prompts for directory, port, tunnel, and permissions
--auto mode — one command, sensible defaults, just provide the directory
Cloudflare tunnel — temporary public URLs with zero configuration (or named tunnels)
Granular permissions — choose exactly which tool groups Claude can use
Persistent memory — Claude remembers context across sessions
Clean architecture — each tool group is its own module, easy to extend
TypeScript — fully typed, readable, and maintainable
Quick Start
# Install dependencies
npm install
# Build
npm run build
# Interactive setup
node dist/cli.js
# Auto mode (temp tunnel + all permissions, just ask for directory)
node dist/cli.js --auto
# Auto mode with directory
node dist/cli.js --auto --dir /path/to/your/project
Usage: claude-integration [options]
Options:
-d, --dir <path> Project directory path
-p, --port <number> MCP server port (default: 3001)
-a, --auto Auto mode: temp tunnel + all permissions
--tunnel <type> Tunnel type: temp | named | none (default: temp)
--tunnel-name <name> Named tunnel identifier
--permissions <preset> Permission preset: all | safe | readonly | custom
--login Login to Cloudflare (run once for named tunnels)
-V, --version Output version number
-h, --help Display help
Examples
# Full interactive setup
claude-integration
# Auto mode — fastest way to get started
claude-integration --auto --dir ~/my-project
# Local only (no tunnel)
claude-integration --dir ~/my-project --tunnel none
# Read-only access
claude-integration --dir ~/my-project --permissions readonly# Named tunnel (persistent URL)
claude-integration --login # run once
claude-integration --dir ~/my-project --tunnel named --tunnel-name my-tunnel
Connecting to Claude.ai
Start the server (any mode above)
Copy the Public URL shown in the terminal (e.g. https://xxxx.trycloudflare.com/mcp)
Go to Claude.ai → Settings → Integrations → Add MCP Server
Paste the URL and save
Claude will now have full access to your project.
Permissions
Preset
Tools included
all
Read, Write, Delete, Shell, Python, Memory, Git
safe
Read, Write, Memory, Git (no delete, no shell)
readonly
Read, Memory
custom
Interactive selection of specific tool groups
Available Tools (36 total)
Filesystem Read (9 tools)
Tool
Description
read_file
Read complete file contents
read_file_range
Read specific line range from a large file
list_dir
List directory with sizes and dates
tree
Visual directory tree (configurable depth)
file_info
File metadata: size, dates, permissions
search_files
Find files by name or glob pattern
search_in_files
Recursive grep across the project
diff_files
Unified diff between two files
stats
Project statistics: total size, files by extension