What is MCP?
MCP (Model Context Protocol) is a standard that lets AI agents connect to external tools and data sources. Think of MCP servers as plugins for your agents — they give agents the ability to actually do things beyond just having a conversation. Without MCP, an agent can only talk. With MCP, an agent can:- Query your database and return real results
- Read files from a repository
- Create GitHub issues
- Fetch data from any internal API
- Run custom scripts
You don’t need to build MCP servers from scratch. There are many open-source MCP servers for common tools. SlackHive also supports inline TypeScript MCPs — you can paste code directly into the UI without deploying anything.
How SlackHive manages MCP
SlackHive manages MCP servers at the platform level. You add a server once to the global catalog, then assign it to any number of agents. When an agent starts, SlackHive launches all its assigned MCP servers and keeps them running. There’s no per-message startup overhead — once the agent is live, its tools are always ready. Tool names follow the patternmcp__{serverName}__{toolName}. For example, a server named redshift with a query tool is called as mcp__redshift__query.
Adding a server to the catalog
Click Add Server
Give it a name and description. The name becomes part of every tool name from this server (
mcp__{name}__...).Choose a transport type
Select how SlackHive connects to this server (see the Transport Types section below).
Transport types
There are four ways to run an MCP server:| Transport | Use case |
|---|---|
stdio | A local process (Node.js script, Python script, binary) — most common |
sse | A remote server accessible via HTTP server-sent events |
http | A remote server accessible via HTTP |
| TypeScript inline | Paste TypeScript source directly — no deployment needed |
Configuration examples
Redshift / Data Warehouse
Give your data analyst agent the ability to run real SQL queries:Filesystem Access
Give an agent read access to files in a directory — useful for code review or documentation agents:mcp__filesystem__read_file, mcp__filesystem__list_directory, etc.
Remote API (SSE)
Connect to a remote MCP server over the network:Inline TypeScript
The most convenient option for internal tools: paste TypeScript source directly into the UI. SlackHive writes it to disk and runs it — no separate deployment needed. Select TypeScript inline script as the transport type, then paste your implementation:Assigning servers to agents
Once a server is in the catalog, you can assign it to agents:- During agent creation — Step 4 (Tools) of the wizard
- After creation — from the agent’s Tools tab
Keeping secrets safe
Never paste database credentials, API keys, or passwords directly into MCP configenv fields. Use the encrypted env store instead.
The env store encrypts secrets at rest using AES-256. Values are never returned by the API or shown in the browser — only the key names are visible.
Add your secret to the store
- Go to Settings → Env Vars in the sidebar
- Click Add Variable
- Enter a name (e.g.
REDSHIFT_DATABASE_URL) and the secret value - Click Save — the value is encrypted immediately
Testing a server
From Settings → MCP Servers, click the Test button next to any server. SlackHive starts the server process and verifies it responds to initialization. Results appear inline. If a server fails to start, the agent still runs — an error is logged, but the agent continues without that server’s tools. Check the agent’s Logs tab for details.Next steps
Agent Tools & Permissions
Control exactly which MCP tools each agent can use.
Env Vars
Configure your encryption key and other platform settings.