Agent SmithMCP Server

MCP Server

SignalSmith exposes its capabilities through a Model Context Protocol (MCP) server, enabling external AI tools to interact with your CDP programmatically.

Overview

The MCP server runs alongside the control plane and provides a standardized interface for AI agents to discover and use SignalSmith tools. This allows integration with Claude Desktop, Cursor, and any other MCP-compatible client.

Available Tools

Schema Tools

ToolDescription
list_modelsList all models in the workspace
get_modelGet model details including SQL and columns
list_relationshipsList entity relationships
list_traitsList trait definitions

Audience Tools

ToolDescription
list_audiencesList all audiences
get_audienceGet audience details including filter conditions
estimate_audience_sizeEstimate audience member count
validate_filter_nodeValidate a filter condition
compile_filterCompile filter to SQL

Sync Tools

ToolDescription
list_syncsList all syncs
list_audience_syncsList audience syncs

Destination Tools

ToolDescription
list_destinationsList configured destinations
list_sourcesList connected sources

Source Introspection Tools

ToolDescription
introspect_sourceDiscover schemas in a source
list_tablesList tables in a schema
list_columnsList columns in a table

Write Tools

ToolDescription
create_audienceCreate a new audience
update_audienceModify audience filters
create_traitCreate a new trait
create_destinationConfigure a new destination
trigger_syncTrigger a sync run
create_relationshipCreate entity relationship

Journey Tools

ToolDescription
list_journeysList all journeys
get_journeyGet journey details
validate_journeyValidate journey configuration
trigger_journeyTrigger a journey run

Authentication

The MCP server authenticates requests using API keys:

  1. Create an API key in Settings > API Keys
  2. Configure your MCP client with the key

Integration with Claude Desktop

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "signalsmith": {
      "url": "http://localhost:8090",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY",
        "X-Workspace-ID": "YOUR_WORKSPACE_ID"
      }
    }
  }
}

Available Resources

The MCP server also exposes resources that provide context to AI agents:

  • Schema specifications — Entity type and relationship schemas
  • Filter language spec — Documentation of the audience filter syntax
  • Trait definitions — Available traits and their types