MCP Integration Guide
The Scope3 Ad Platform is built as an MCP (Model Context Protocol) server, designed for seamless integration with AI agents and conversational interfaces.What is MCP?
Model Context Protocol is an open standard for connecting AI agents to external systems and data sources. It enables AI assistants to:- Execute functions with real-world effects
- Access structured data and APIs
- Maintain context across interactions
- Work with multiple tools simultaneously
Natural Language Campaign Management
Conversational Workflow Examples
Campaign CreationMCP Tools Overview
Brand Agent Management
Tools for managing advertiser accounts and organizational structure.Tool | Purpose | Natural Language Examples |
---|---|---|
create_brand_agent | Set up advertiser accounts | ”Create an advertiser account for Nike” |
list_brand_agents | View all accounts | ”Show me all our advertiser accounts” |
update_brand_agent | Modify account details | ”Update the Nike account description” |
Campaign Lifecycle
Tools for creating, managing, and optimizing advertising campaigns.Tool | Purpose | Natural Language Examples |
---|---|---|
create_campaign | Launch new campaigns | ”Create a $50K performance campaign for Q4” |
update_campaign | Modify running campaigns | ”Increase the holiday campaign budget to $75K” |
list_campaigns | View campaign status | ”Show me all active campaigns for Nike” |
Inventory Management
Tools for discovering, configuring, and optimizing inventory allocation.Tool | Purpose | Natural Language Examples |
---|---|---|
discover_publisher_products | Find available inventory | ”Find video inventory under $40 CPM” |
create_inventory_option | Configure custom allocation | ”Add premium CTV with 1P data targeting” |
adjust_inventory_allocation | Optimize budget distribution | ”Move $10K from display to CTV” |
analyze_inventory_performance | Get performance insights | ”Show me performance by inventory source” |
Creative Assets
Tools for managing creative assets and syncing them to sales agents.Tool | Purpose | Natural Language Examples |
---|---|---|
create_creative | Upload creative assets | ”Add our new video creative for the holiday campaign” |
list_creatives | View creative library | ”Show me all video creatives for Nike” |
update_creative | Modify creative details | ”Update the headline for the summer sale banner” |
creative_sync_sales_agents | Sync creatives to sales agents | ”Sync this creative to relevant sales agents” |
creative_assign | Assign creative to campaign | ”Assign creative cr_123 to campaign camp_456” |
Integration Patterns
Claude Desktop Integration
Add Scope3 to your Claude Desktop configuration:Custom AI Agent Integration
For custom agents, connect to the MCP server:Multi-Agent Workflows
Different agents can specialize in different aspects:Advanced MCP Features
Context Preservation
The MCP server maintains context across interactions:Structured Data Exchange
All tools return structured, AI-friendly data:Error Handling
Clear error messages help agents understand and respond to issues:Best Practices for AI Agents
1. Use Natural Language Processing
Convert human requests into structured tool calls:2. Provide Context-Rich Responses
Transform structured data into actionable insights:3. Suggest Next Actions
Help users understand their options:4. Handle Complex Workflows
Break down complex requests into multiple tool calls:Development and Testing
Local Development
Start the MCP server locally:Tool Testing
Test individual tools with sample data:Error Simulation
Test error handling:Security Considerations
API Key Management
- Store API keys in environment variables, never in code
- Use different keys for development and production
- Rotate keys regularly
- Monitor API key usage
Input Validation
All tool parameters are validated using Zod schemas:Rate Limiting
The MCP server implements rate limiting to prevent abuse:- 100 requests per minute per API key
- Burst protection for sudden spikes
- Graceful degradation with helpful error messages
MCP integration makes sophisticated advertising operations accessible through natural language, enabling AI agents to work alongside human teams effectively.