Claude.ai MCP Server (Self-hosted)
JSON →Self-hosted MCP server for Claude.ai. Give Claude direct access to your AWS, SSH, local shell, GitHub, PostgreSQL and PM2 â without Claude Code. Your keys never leave your machine.
Tools · 12
- aws_cli Run any aws <command> using your local AWS CLI profile
- ssh_exec SSH into any host using a key defined in hosts.json
- local_exec Run any shell command on the local machine (cmd.exe on Windows, /bin/sh elsewhere)
- write_file Write text content to a local file (overwrite or append). Full UTF-8, no shell quoting issues — preferred over local_exec for any non-trivial file write
- github_api Make REST API requests to GitHub using your Personal Access Token
- postgres_query Run psql queries via SSH (sudo -u postgres) on a host from hosts.json
- pm2_status Show pm2 list and optional logs on a remote server
- sftp_download Stream a file from a remote host to the local filesystem (uses the persistent SSH pool). Essential when working from Claude.ai web — the cloud sandbox has no native scp
- sftp_upload Stream a local file to a remote host. Optional POSIX mode flag (e.g. 0755). Parent dir must exist on remote
- book_split Split a large text file into ~3000-word chunks
- book_chunk Read one chunk from a directory created by book_split
- book_note Manage JSON notes for iterative work on long documents
Environment variables
MCP_BASE_URLGITHUB_TOKEN
Links
★ 1 GitHub stars