MCP server

Stream's MCP server gives your AI agent access to your Stream apps: it can list them, look up any Stream API endpoint, and call it.

Add it to your agent. In Claude Code:

claude mcp add --transport http stream https://mcp.getstream.io/mcp

In Cursor, add it to .cursor/mcp.json:

{
  "mcpServers": {
    "stream": {
      "url": "https://mcp.getstream.io/mcp"
    }
  }
}

Any other agent with remote MCP support takes the same URL.

On first use, a browser window opens for you to sign in to Stream. From then on the agent works with your account, with access to all of your apps.

Tools

The server has six tools:

Tool Description
whoami Shows the signed-in account
list_apps Lists your organizations and the apps in each, with their ids
list_endpoints Lists the Stream API endpoints, each marked read or write
describe_endpoint Shows an endpoint's path parameters, request body, filters and sorts
call_readonly_endpoint Calls a read endpoint and returns its JSON response
call_mutating_endpoint Calls a write endpoint: one that creates, changes or deletes data

These are the same endpoints as getstream api, across Chat, Video, Feeds and Moderation.

You never call a tool yourself. Ask a question, and the agent works through them:

  • Which channels had no messages in the last 30 days?
  • How many users signed up this week?
  • List the calls that are live right now.
  • Show me the flagged messages nobody has reviewed yet.

Every call carries an app id, so one conversation can work across several apps. If you have more than one app, name the app in your question.

Allow reads, confirm writes

Reads and writes are separate tools, so your agent can hold a different permission for each. call_readonly_endpoint refuses every write endpoint, which leaves call_mutating_endpoint as the only tool able to create, change or delete data.

Most agents ask before each tool call. When yours offers to always allow a tool, accept for the five read tools and keep the prompt on call_mutating_endpoint.

Warning:

call_mutating_endpoint changes live data, on production apps too. Read the request before you approve it.

Run it locally

The Stream CLI serves the same six tools on your machine, under your CLI login. If you have already run getstream login, this skips the browser sign-in.

In Claude Code:

claude mcp add stream -- getstream mcp

In Cursor, use this in .cursor/mcp.json in place of the remote entry:

{
  "mcpServers": {
    "stream": {
      "command": "getstream",
      "args": ["mcp"]
    }
  }
}

For any other agent, set getstream mcp as the command of a local (stdio) server.

getstream mcp is only in beta builds of the CLI for now. Install one with the beta script:

curl -fsSL https://getstream.io/cli/beta/install.sh | bash