Integrations

How to use the Pumble MCP server

3 min read
Milos Milosavljevic

With the Pumble Model Context Protocol (MCP) server, you can connect third-party AI agents (e.g., Claude, Gemini, Codex) to Pumble and let them access content so they can search messages, find information, and take actions on your behalf.

How to connect to an MCP server #

To connect your AI assistant to the Pumble MCP server, you will have to create a Pumble addon and take credentials from there. To do this, you will first need to access Pumble addons.

  1. Click on the three dots next to the Workspace name
  2. Hover over Workspace settings
  3. Select Configure apps
    configure apps

Once you have opened the Configure apps page, you can add your own addon. Here’s how:

  1. Click on + Create app
  2. Select Create from scratch
  3. Enter app name
  4. Enter description
  5. Select User scopes
  6. Select Bot scopes
  7. Click on Install app
    install app

When the app is installed, make sure to copy the App key, user token, and bot token.

What can you do after connecting to the MCP server? #

The list of available MCP tools is dynamic and depends entirely on the specific scopes you selected when creating an app.

These are all the available tools that the Pumble MCP server lets you use:

ToolRequired scopes
add_reaction_to_messagereaction:write
add_user_to_channelchannels:write
create_call_linkcalls:write
create_channelchannels:write
delete_scheduled_messagemessages:delete
edit_messagemessages:edit
fetch_filemessages:read
get_channel_detailschannels:read
get_channel_messagesmessages:read
get_channelschannels:list
get_latest_messagesmessages:read, channels:list
get_scheduled_messagesmessages:read
get_thread_repliesmessages:read
get_usersusers:list
get_workspace_infoworkspace:read
reply_to_messagemessages:write, files:write
schedule_messagemessages:write, files:write
search_messagesmessages:read, channels:list
send_messagemessages:write, files:write

Moreover, you can use the following prompts to communicate with the MCP server:

PromptRequired scopes
create-channel-with-initial-userschannels:write
explain-pumble-mcpNo scopes required
send-channel-messagechannels:read, messages:write
send-dm-messagechannels:read, messages:write

Connect Pumble MCP to Claude CLI #

If you are using Claude CLI, you can also connect it to the Pumble MCP server. To do this, paste the code below into your .mcp.json file.

{
  "mcpServers": {
    "pumble-mcp": {
      "type": "http",
      "url": "https://mcp.pumble.com/mcp",
      "headers": {
        "token": "user/bot token"
	"x-app-token": "xpat-token"
      }
    }
  }
}

Or, you can use the following command:

claude mcp add pumble-mcp https://mcp.pumble.com/mcp --transport http --header "token: token" --header "x-app-token: xpat-token"
Info

The x-app-token/xpat token is the App key you receive when you create an app from scratch.

Connect Pumble MCP to Codex CLI #

The Pumble MCP server can also connect to the Codex CLI. To do this, simply paste the code below into your config.toml file.

[mcp_servers.pumble-mcp]
transport = "http"
url = "https://mcp.pumble.com/mcp"
http_headers = { "token" = "user/bot token", "x-app-token" = "xpat-token" }

Connect Pumble MCP to Gemini CLI #

When you have created the custom addon, you can connect it to your Gemini CLI. To do so, paste the code below into your settings.json file.

{
  "mcpServers": {
    "pumble-mcp": {
      "httpUrl": "https://mcp.pumble.com/mcp",
      "headers": {
        "token": "user/bot token",
        "x-app-token": "xpat-token"
      },
    }
  }
}

 You can also do this by using the command:

gemini mcp add pumble-mcp https://mcp.pumble.com/mcp \
  --transport http \
  --header "token: token
" \
  --header "x-app-token: xpat-token"

To connect Pumble MCP to your CLI, you will need the App key and user/bot tokens.

Was this article helpful?

Thank you! If you’d like a member of our support team to respond to you, please drop us a note at support@pumble.com