shebang-mcp
Allows managing Pages, Files, Short links, and Postgres databases on the shebang platform, accessed via dash.shebang.pro.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@shebang-mcpCreate a short link to https://example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
shebang-mcp
One MCP server and CLI for hosting pages, sharing files, making short links,
running a Postgres database, and managing API keys — all through a single
shb_… key, for accounts on shebang.pro.
Quickstart
Claude Code:
claude mcp add shebang -- npx -y github:New-Kringster/shebang-mcp
npx -y github:New-Kringster/shebang-mcp loginAny other stdio-based MCP harness, add this server entry:
{
"mcpServers": {
"shebang": {
"command": "npx",
"args": ["-y", "github:New-Kringster/shebang-mcp"]
}
}
}then run npx -y github:New-Kringster/shebang-mcp login once from a
terminal on the same machine (or set SHEBANG_API_KEY directly — see
Env vars).
npm registry publish is planned but not live yet — install via the GitHub shorthand above until then.
Related MCP server: Modular MCP Server
The login flow
login starts a device-authorization flow against the shebang platform:
The CLI calls the platform, gets back a short code and a verify URL, and prints both — then tries to open your browser to that URL automatically.
In the browser, you sign in to your shebang.pro account (if not already) and see a page showing the device name and the same code the terminal printed — check they match, then click Approve (or Deny).
The CLI has been polling in the background; once approved, it writes the issued key to
~/.config/shebang/credentials.json(mode0600) and prints the key's prefix.
From then on, every harness on that machine that runs this server picks the key up automatically — no per-project configuration.
$ npx -y github:New-Kringster/shebang-mcp login
Confirm this code in your browser:
x 7 w y 6 x 3 a
https://dash.shebang.pro/authorize-agent?code=x7wy6x3a
Opening your browser… (if nothing opens, visit the URL above)
Waiting for approval....
Logged in. Key: shb_examplexxxxxxxx… (master)
Saved to ~/.config/shebang/credentials.json
Your agent can now use shebang.shebang-mcp status shows the current key's prefix and tier;
shebang-mcp logout deletes the local credentials file (it does not
revoke the key — see below).
Key tiers
Master — what
loginmints. Full authority over the account: every app, plus minting and revoking other keys. One master key per login.App — scoped to a subset of
page,serve,link,base. Mint one for a sub-agent via thekey_create_apptool so it only gets the access it needs; the plaintext key is shown exactly once in the response.
A key cannot revoke itself while it's the one authenticating the call —
revoke a key from a different key (usually the master that minted it, via
the key_revoke tool) or from the shebang.pro dashboard's account page.
shebang-mcp logout only forgets the key locally; it prints this same
reminder.
Tool reference
Pages (sherpage)
Tool | What it does |
| Publish a new page from a bundle of files |
| List your pages |
| Get one page's details |
| Update title/slug/expiry/view budget |
| Change access level (private/password/allow-list/public) |
| Archive or restore a page |
| Permanently delete a page and its files |
Files (sherserve)
Tool | What it does |
| Upload a local file as a new object |
| List your uploaded objects |
| Get one object's details by slug or id |
| Permanently delete an object and its file |
Short links (sherlink)
Tool | What it does |
| List all your short links across apps |
| Get one link's details by code, alias, or id |
| Change access, password, expiry, or view budget |
| Set or clear a custom vanity alias |
| Delete a link and the page/file it wraps — irreversible |
Databases (sherbase)
Tool | What it does |
| Provision a new Postgres project (database + role) |
| List your database projects |
| Run one SQL statement against a project |
| Permanently drop a project — irreversible |
Keys (master-only)
Tool | What it does |
| Mint a scoped app key, typically for a sub-agent |
| List every key on the account (never hashes or plaintext) |
| Permanently revoke a key by id — irreversible |
OAuth (master-only)
Tool | What it does |
| List registered sherlock OAuth clients |
| Register a new OAuth client (returns a one-time secret) |
Env vars
Variable | Purpose |
| The |
| Platform base URL; defaults to |
| Written by |
The platform
The MCP server and CLI in this repo are a client only — no secrets, no server code, nothing that talks to a database directly. The platform itself (accounts, keys, pages, files, links, databases, OAuth) is operated at shebang.pro; an account there is required to use this client.
License
MIT — see LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceA unified MCP server with composable tools for GitHub operations, file management, shell execution, kanban boards, Discord messaging, and package management. Features role-based security, HTTP/stdio transports, and a web-based development UI.
- FlicenseBqualityDmaintenanceA config-driven, zero-dependency MCP server with plugin architecture that enables filesystem operations, shell commands, HTTP requests, and utilities through simple JSON configuration.31
- AlicenseNot gradedqualityDmaintenanceA full-featured MCP server for local development with filesystem, shell, editor, session persistence, and security features.2MIT
- FlicenseNot gradedqualityCmaintenanceA production-ready MCP server providing file, system, math, and text utilities through a simple CLI client.
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
MCP server for interacting with the Supabase platform
MCP server for managing Prisma Postgres.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/New-Kringster/shebang-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server