Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to the SMTP2GO MCP server

Vendor MCP
Open markdown

The SMTP2GO MCP connector routes your AI agent's tool calls to SMTP2GO's own MCP server through Scalekit. Each user connects their own SMTP2GO API key once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 5 tools.

Tools
5
What they doRead · write · destructive
4 · 0 · 14 read0 write1 destructive
Users sign in with

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Create the SMTP2GO MCP connection

    In AgentKit > Connections, create a SMTP2GO MCP connection. The name you give it is the connection_name your code passes. See Configure connections.

  4. Authorize a user and make your first call

    quickstart.mts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    import { createInterface } from 'node:readline/promises'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENVIRONMENT_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'smtp2gomcp'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize SMTP2GO MCP:', link)
    const rl = createInterface({ input: process.stdin, output: process.stdout })
    await rl.question('Press Enter after authorizing...')
    rl.close()
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'smtp2gomcp_get_server_variables',
    toolInput: {},
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

    Each user opens the link once and enters their SMTP2GO credentials there. See Authorize a user for the full flow and statuses.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • smtp2gomcp_get_endpointGets detailed information about a specific SMTP2GO API endpoint, including security schemes and servers.Read-only

    Get Endpoint

    Gets detailed information about a specific SMTP2GO API endpoint, including security schemes and servers.

    Inputs

    methodstringrequired
    The HTTP method (e.g. GET, POST, PUT, DELETE).
    pathstringrequired
    The API endpoint path (e.g. /api/v1/users).
  • smtp2gomcp_get_server_variablesGets the server variables for each server within the SMTP2GO OpenAPI spec.Read-only

    Get Server Variables

    Gets the server variables for each server within the SMTP2GO OpenAPI spec.

    Inputs

    This tool takes no inputs.

  • smtp2gomcp_list_endpointsLists all API paths and their HTTP methods with summaries, organized by path.Read-only

    List Endpoints

    Lists all API paths and their HTTP methods with summaries, organized by path. Results can be passed directly into 'get-endpoint'.

    Inputs

    This tool takes no inputs.

  • smtp2gomcp_search_endpointsPerforms a deep search through paths, operations, and parameters to discover relevant SMTP2GO API endpoints.Read-only

    Search Endpoints

    Performs a deep search through paths, operations, and parameters to discover relevant SMTP2GO API endpoints. Use this tool to find specific API capabilities, required parameters, or data models based on search keywords. Results can be passed directly into 'get-endpoint'.

    Inputs

    patternstringrequired
    Search pattern (case-insensitive).
  • smtp2gomcp_execute_requestExecutes an SMTP2GO API request using a given HAR (HTTP Archive) request object — the method, url, headers, query string, and body describing the call to make.Destructive

    Execute Request

    Executes an SMTP2GO API request using a given HAR (HTTP Archive) request object — the method, url, headers, query string, and body describing the call to make. Use 'list-endpoints', 'get-endpoint', and 'search-endpoints' first to discover the correct path, method, and parameters.

    Inputs

    harRequestobjectrequired
    HAR request object describing the API call to execute.