Skip to main content

MCP Server

The Influship MCP server lets AI agents — Claude, Cursor, VS Code Copilot, and any MCP-compatible client — call the Influship API directly. Your agent writes TypeScript against the SDK in a sandboxed environment, so it can handle complex multi-step workflows in a single tool call. The server is generated from the same OpenAPI spec as the TypeScript SDK. It stays in sync automatically.

How it works

The MCP server exposes two tools to your agent:
ToolPurpose
Docs searchQuery SDK documentation and API reference in a format optimized for LLMs
Code executionWrite and run TypeScript code against the Influship SDK in an isolated sandbox
This “code mode” approach means agents can chain multiple API calls, filter results, and transform data in a single tool invocation — no need for one tool per endpoint.

Installation

Direct invocation

Run the MCP server directly with npx:
export INFLUSHIP_API_KEY="your_api_key"
npx -y influship-api-mcp@latest

Claude Desktop / Claude Code

Add to your MCP configuration:
{
  "mcpServers": {
    "influship": {
      "command": "npx",
      "args": ["-y", "influship-api-mcp@latest"],
      "env": {
        "INFLUSHIP_API_KEY": "your_api_key"
      }
    }
  }
}

Cursor

Add to your Cursor MCP configuration (Settings > Tools & MCP > New MCP Server):
{
  "mcpServers": {
    "influship": {
      "command": "npx",
      "args": ["-y", "influship-api-mcp@latest"],
      "env": {
        "INFLUSHIP_API_KEY": "your_api_key"
      }
    }
  }
}

VS Code

Add to your VS Code MCP configuration (Command Palette > MCP: Open User Configuration):
{
  "mcpServers": {
    "influship": {
      "type": "http",
      "url": "https://influship-api.stlmcp.com",
      "headers": {
        "X-API-Key": "your_api_key"
      }
    }
  }
}

Remote server

A hosted MCP endpoint is available at https://influship-api.stlmcp.com using Streamable HTTP transport. Use this when you don’t want to run the server locally.
{
  "mcpServers": {
    "influship": {
      "url": "https://influship-api.stlmcp.com",
      "headers": {
        "X-API-Key": "your_api_key"
      }
    }
  }
}

What agents can do

Once connected, an agent can perform any operation available through the Influship API:
  • Search for creators — natural language queries with filters
  • Find lookalikes — discover similar creators from seed profiles
  • Score campaign fit — evaluate how well creators match a brief
  • Fetch profiles — pull full creator data by platform and username
  • Batch operations — look up multiple profiles in a single call
Because the agent writes SDK code, it can also combine these operations. For example, searching for creators, filtering by engagement rate, then scoring the top results against a campaign brief — all in one tool call.

Authentication

The MCP server uses the same API key as the REST API and SDK. Get your key from the dashboard. Pass the key as:
  • INFLUSHIP_API_KEY environment variable (local/stdio mode)
  • X-API-Key header (remote HTTP mode)

Next steps

Get an API Key

Sign up and grab your key from the dashboard

SDK Guide

Use the TypeScript SDK directly for tighter integration

API Reference

Full endpoint specs and response schemas

Quickstart

Make your first API calls in under five minutes