STEPhie MCP Server

STEPhie MCP Server

MCP server for STEPhie tools, providing secure access to publisher data and ad forecasting via Monday.com and Google Ad Manager.

Category
Visit Server

README

STEPhie MCP Server

Model Context Protocol (MCP) server for STEPhie tools, providing secure access to publisher data and ad forecasting capabilities.

Features

  • šŸ” Secure Authentication via Stack Auth
  • šŸ“Š Publisher Tools - Access Monday.com publisher data
  • šŸ“ˆ Forecast Tools - Google Ad Manager availability forecasting
  • šŸš€ Fast Response - Optimized Vercel Edge Functions
  • šŸ”„ Streaming Support - SSE for real-time updates

Available Tools

Publisher Management

  • getAllPublishers - Get all publishers with details
  • getPublisherFormats - Get ad formats for publishers
  • getPublishersByFormats - Find publishers by ad formats
  • findPublisherAdUnits - Find ad units for publishers
  • getAdUnits - Get ad unit details

Product & Pricing

  • getAllProducts - Get ad products
  • getAllFormats - Get ad format specifications
  • getAllSizes - Get ad sizes
  • getAllAdPrices - Get pricing information

Forecasting

  • availabilityForecast - GAM availability forecasting

Setup

1. Install Dependencies

pnpm install

2. Environment Variables

Copy .env.example to .env.local and fill in your credentials:

# Stack Auth (from STEPhie)
NEXT_PUBLIC_STACK_PROJECT_ID=your_project_id
STACK_SECRET_SERVER_KEY=your_secret_key

# Monday.com API
MONDAY_API_KEY=your_monday_key

# Database (shared with STEPhie)
DATABASE_URL=your_neon_database_url

3. Local Development

pnpm dev

Server will be available at http://localhost:3000/api

Client Configuration

For Claude Desktop

Add to your Claude Desktop config:

{
  "mcpServers": {
    "stephie": {
      "url": "https://mcp.stepnetwork.dk/api",
      "headers": {
        "Authorization": "Bearer YOUR_STACK_AUTH_TOKEN"
      }
    }
  }
}

For Programmatic Access

const response = await fetch('https://mcp.stepnetwork.dk/api', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer YOUR_TOKEN'
  },
  body: JSON.stringify({
    jsonrpc: '2.0',
    method: 'tools/call',
    params: {
      name: 'getAllPublishers',
      arguments: { limit: 10 }
    },
    id: 1
  })
});

Getting an Auth Token

  1. Log in to STEPhie at https://ai.stepnetwork.dk
  2. Navigate to Settings → API Keys
  3. Generate a new MCP token
  4. Use the token in your MCP client configuration

Deployment

Deploy to Vercel

vercel --prod

Add Domain in Vercel

  1. Go to Project Settings → Domains
  2. Add mcp.stepnetwork.dk
  3. Update DNS records:
    Type: CNAME
    Name: mcp
    Value: cname.vercel-dns.com
    

API Documentation

Initialize Connection

POST /api
{
  "jsonrpc": "2.0",
  "method": "initialize",
  "params": {
    "authToken": "YOUR_TOKEN"
  },
  "id": 1
}

List Available Tools

POST /api
{
  "jsonrpc": "2.0",
  "method": "tools/list",
  "id": 2
}

Call a Tool

POST /api
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "getAllPublishers",
    "arguments": {
      "limit": 10,
      "active": true
    }
  },
  "id": 3
}

Development

Project Structure

stephie-mcp/
ā”œā”€ā”€ api/              # Vercel API endpoints
│   ā”œā”€ā”€ index.ts      # Main MCP endpoint
│   ā”œā”€ā”€ sse.ts        # SSE streaming endpoint
│   └── health.ts     # Health check
ā”œā”€ā”€ lib/
│   ā”œā”€ā”€ auth/         # Stack Auth integration
│   ā”œā”€ā”€ tools/        # Tool implementations
│   ā”œā”€ā”€ monday/       # Monday.com client
│   └── types/        # TypeScript types
└── package.json

Adding New Tools

  1. Add tool definition in api/index.ts AVAILABLE_TOOLS array
  2. Implement handler in lib/tools/
  3. Add to executeToolHandler switch statement

Support

  • Documentation: https://ai.stepnetwork.dk/docs/mcp
  • Issues: https://github.com/stepnetwork/stephie-mcp/issues
  • Email: support@stepnetwork.dk

License

MIT Ā© STEP Networks

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured