MCP Tools Documentation

Model Context Protocol Integrations

Connect your AI agents to external services and APIs using the Model Context Protocol (MCP). Access tools like Slack, GitHub, Stripe, and more with unified authentication and monitoring.

Quick Start

1

Configure Tools

Set up your API keys and authentication for the tools you want to use.

Go to MCP Tools Dashboard
2

Enable in Agents

Configure your AI agents to use MCP tools in their conversations.

Manage AI Agents
3

Start Building

Use the AI SDK to enable tool calling in your applications.

View AI SDK Docs

Available MCP Tools

Slack Integration

Active

Send messages, create channels, manage workspaces, and interact with Slack users.

Authentication: Bot Token
Permissions: channels:write, chat:write

GitHub Integration

Active

Manage repositories, create issues, pull requests, and interact with GitHub projects.

Authentication: Personal Access Token
Permissions: repo, issues, pull_requests

Stripe Payments

Configuring

Process payments, manage customers, subscriptions, and handle payment workflows.

Authentication: API Key
Webhooks: Payment events

SendGrid Email

Active

Send transactional emails, manage templates, and handle email campaigns.

Authentication: API Key
Permissions: mail.send

SDK Integration

Enable MCP Tools in Chat

import { useRodger } from '@/contexts/RodgerContext';

function ChatWithTools() {
  const { client } = useRodger();

  const handleSendMessage = async (content: string) => {
    const response = await client.aiSDK.streamBusinessAgentChat('agent-id', {
      messages: [{ role: 'user', content }],
      enableMCPTools: true,  // Enable tool calling
      temperature: 0.3
    });

    for await (const chunk of response) {
      if (chunk.type === 'tool_call') {
        console.log('Tool called:', chunk.data.name);
      }
      if (chunk.type === 'tool_result') {
        console.log('Tool result:', chunk.data.result);
      }
    }
  };
}

Managing Tool Configurations

import { useRodger } from '@/contexts/RodgerContext';

function ToolManager() {
  const { client } = useRodger();

  // Get available tools
  const tools = await client.mcp.listTools();

  // Configure a tool
  await client.mcp.configureTool('slack', {
    apiKey: 'xoxb-your-bot-token',
    permissions: ['channels:write', 'chat:write']
  });

  // Check tool health
  const health = await client.mcp.checkToolHealth('slack');
}

Authentication Setup

API Key Authentication

Slack Bot Token

Create a Slack app and get your bot token from the OAuth & Permissions page.

xoxb-1234567890-1234567890123-example-token

GitHub Personal Access Token

Generate a PAT in GitHub Settings → Developer settings → Personal access tokens.

ghp_1234567890abcdef1234567890abcdef123456

Security Best Practices

Encrypted Storage

All API keys are encrypted at rest using AES-256

Scope Limitations

Only request minimum required permissions

Rate Limiting

Built-in rate limiting to respect API limits

Token Rotation

Regularly rotate your API keys for security

Monitoring & Analytics

Health Monitoring

Real-time health checks for all connected tools with automatic alerting.

View Tool Status →

Usage Analytics

Track tool usage, performance metrics, and cost analysis.

View Analytics →

Error Tracking

Detailed error logs and debugging information for tool failures.

View Error Logs →

MCP CLI Tools

Installation

npm install -g @rodger-ai/mcp-cli

Available Commands

mcp create

Create a new MCP tool from templates

mcp develop

Start development server with hot reload

mcp test

Run comprehensive tool tests

mcp deploy

Deploy tool to registry