MCP & Connectors
Connect Model Context Protocol (MCP) servers, GitHub, Notion pages, and PostgreSQL databases to shebang so Chat and Work can work with your live data.
How connectors work
Connectors expose tools from external services to Chat and Work agents. By design, your connector tokens and connection strings are encrypted at rest with AES-256-GCM—AI models, the browser, and the Work sandbox never see your raw credentials.
All connector calls are executed by the shebang server through its network guard, never inside the untrusted sandbox:
4 supported connector types
| Connector Type | How to Connect | Tools & Capabilities Provided |
|---|---|---|
| Remote MCP Server (mcp) | Streamable HTTP MCP server URL starting with https:// plus optional Bearer token / API key | Automatically discovers up to 40 tools advertised by the server (along with read/write annotations). |
| GitHub (github) | GitHub Personal Access Token | Provides repository, issue, and pull_request tools via GitHub’s official MCP server. |
| Notion (notion) | Notion Internal Integration Token | search (find pages), read_page (read content), create_page (create child page), and append_text (append blocks). |
| PostgreSQL (postgres) | postgres:// or postgresql:// connection string (publicly reachable hosts only) | Lists database schemas, inspects table columns, and runs safe read-only SQL queries. |
Read vs. write permissions
shebang strictly separates tools that only read data from tools that modify external state:
- In Chat: Read-only tools run automatically while generating a reply. Any tool that modifies external data (such as creating a Notion page or opening a GitHub issue) pauses and shows an inline "Approve / Reject" card—nothing changes without your confirmation.
- In Work tasks: You pick which connectors to enable when starting a task. Write tools are off by default (read-only). If you want the task to write to an external service, you explicitly enable write access before launching the task.
- Customizing tool annotations: If an MCP server marks a read-only tool as "write" by default, you can override it as "read-only" under Settings > Connectors.
Connectors only connect to public internet https:// (or postgres://) addresses; localhost, private networks (10.x, 192.168.x, 127.x), and cloud metadata endpoints are blocked. Up to 80 connector tools can be offered in a single run.