logo
IntroductionMCP Server
Introduction

Integrate SendKit MCP server

Connect an MCP-capable client to the SendKit MCP server using OAuth and the Streamable HTTP transport, with endpoint, config, and testing guidance.

Overview

Connect your MCP-capable client (agent framework, IDE, or custom integration) to the SendKit MCP server to access SendKit tools, resources, and prompts over the Model Context Protocol.

The SendKit MCP server exposes a single MCP endpoint, uses OAuth for authentication, and communicates over the Streamable HTTP transport defined in the MCP specification.

Endpoint, auth, and transport

MCP endpoint

Use this URL as the MCP endpoint in your client configuration:

https://mcp.sendkit.ai/mcp

The endpoint exposes MCP capabilities such as tools, resources, and prompts to your client once the session is authenticated.

Authentication model

SendKit uses OAuth-based authentication for its MCP server.

  1. Your MCP client or integration obtains an OAuth access token from SendKit.
  2. The client connects to https://mcp.sendkit.ai/mcp using the MCP Streamable HTTP transport, including the access token according to the transport and client conventions.
  3. The server authorizes the session based on the provided token.

Before integrating, ensure you have:

  • SendKit account access or an internal SendKit admin contact
  • OAuth client registration details for your MCP integration (client identifier, redirect URI, and related values)
  • A way in your client or framework to plug in an OAuth access token for MCP connections

Transport: MCP Streamable HTTP

SendKit uses the MCP Streamable HTTP transport for the MCP endpoint.

According to the MCP specification, Streamable HTTP:

  • Uses HTTP POST and GET requests to transport MCP messages
  • Allows the MCP server to handle multiple client connections over HTTP
  • Replaces the older HTTP+SSE transport from protocol version 2024-11-05, although servers may host both for backwards compatibility

You connect your MCP client to https://mcp.sendkit.ai/mcp as a Streamable HTTP endpoint; the client handles the underlying GET and POST calls according to the MCP spec.

For the full transport details, see the official MCP specification:
Streamable HTTP transport specification

Configure your MCP client

Configure your MCP-capable client or framework with the SendKit endpoint, OAuth details, and token handling.

Collect OAuth registration details

Obtain the OAuth registration details for your SendKit integration from the SendKit dashboard or from your SendKit admin.

Typical inputs include:

  • OAuth client identifier
  • Client secret (if your client is allowed to store one)
  • Authorized redirect URIs used during the OAuth flow
  • Any SendKit-specific tenant or organization identifiers, if applicable

Ensure your MCP client or framework has a way to plug in these values and complete an OAuth authorization flow to produce an access token.

Register SendKit as an MCP server

Add a new MCP server configuration entry in your MCP client.

At minimum, provide:

  • Name or ID: a label such as sendkit
  • Endpoint: https://mcp.sendkit.ai/mcp
  • Transport: MCP Streamable HTTP
  • Auth: OAuth access token injection, using your framework's supported mechanism

The exact configuration format depends on your MCP client. The following examples show a generic JSON config and a shell-based placeholder flow.

{
  "mcpServers": {
    "sendkit": {
      "transport": "streamable-http",
      "endpoint": "https://mcp.sendkit.ai/mcp",
      "auth": {
        "type": "oauth",
        "tokenSource": "sendkit-oauth",
        "clientId": "YOUR_SENDKIT_CLIENT_ID",
        "redirectUri": "https://your-app.example.com/oauth/callback"
      }
    }
  }
}

Replace the placeholder values with your real SendKit OAuth registration details and the token wiring mechanism your MCP client expects.

Obtain and refresh access tokens

Implement or configure the OAuth flow that issues access tokens used for MCP connections.

Depending on your environment, this may be:

  • A browser-based authorization code flow that redirects back to your app
  • A device or CLI-based flow that opens a browser and copies the token into your client
  • A backend service that periodically refreshes tokens and injects them into your MCP client

Ensure your client can refresh or renew tokens when they expire so MCP sessions remain authorized.

Test connectivity

After configuration, verify that your MCP client can connect to the SendKit MCP endpoint using Streamable HTTP.

Use an MCP client that supports Streamable HTTP

Use an IDE, agent framework, or custom client that explicitly supports the MCP Streamable HTTP transport and allows you to:

  • Configure a Streamable HTTP endpoint URL
  • Provide or reference an OAuth access token for that endpoint

Start your MCP client and connect to the sendkit server entry you configured earlier.

Look for a successful initialization

A successful connection typically includes:

  • The client establishing a Streamable HTTP session against https://mcp.sendkit.ai/mcp
  • An initial MCP handshake or initialization exchange defined by your client and the MCP spec
  • The client listing SendKit tools, resources, or prompts as available capabilities

Your client’s logs should show a successful connection or session initialization without authentication errors.

Troubleshooting

If your client cannot connect or authenticate, use these common checks.

401 or 403 errors

Authentication or authorization failures often appear as generic HTTP 401 or 403 responses at the transport layer or as client-side “unauthorized” errors.

Check:

  • The access token is present in the request according to your client’s MCP configuration
  • The token has not expired and is issued by SendKit for this client
  • You used the correct endpoint: https://mcp.sendkit.ai/mcp over HTTPS

If you rotate credentials or change OAuth configuration in SendKit, restart or reconfigure your MCP client to use a fresh token.

Invalid redirect URI during OAuth

If your OAuth flow fails with an “invalid redirect URI” or similar message:

  • Confirm the redirect URI your OAuth client uses matches exactly (including scheme and path) the value registered in SendKit
  • Update the registered redirect URIs in the SendKit dashboard or via your admin if they changed
  • Avoid using temporary or local URIs unless SendKit explicitly supports them

After correcting the redirect URI, rerun the OAuth flow to obtain a new access token.

Token expired or revoked

When tokens expire or are revoked, new MCP sessions fail to authenticate and existing sessions may be terminated.

To recover:

  • Trigger your client’s token refresh or re-auth flow
  • Confirm that refreshed tokens are propagated to the MCP configuration for https://mcp.sendkit.ai/mcp
  • Retry the connection and confirm your client lists SendKit capabilities again

If issues persist, capture the client logs and share them with your SendKit admin or support contact, including timestamps and the type of OAuth flow you are using.