Meta Ads (Facebook/Instagram) MCP server for Claude, ChatGPT, Perplexity & Cursor — the Meta node of Pipeboard’s 5-platform family (+ Google, TikTok, Snap, Reddit). Hosted remote MCP, badged Meta Business Partner, free plan — no self-hosting required.
Python advertisingai-agentschatgptclaudefacebook-adsinstagram-adsmcpmeta-adsmodel-context-protocolpipeboard
Add Dockerfile and smithery.yaml for application setup and configuration
Yves Junqueira175f12da0a7d
diff --git a/Dockerfile b/Dockerfilenew file mode 100644index 0000000..d38b1d5--- /dev/null+++ b/Dockerfile@@ -0,0 +1,25 @@+FROM python:3.11-slim++# Install system dependencies+RUN apt-get update && \+ apt-get install -y --no-install-recommends gcc && \+ rm -rf /var/lib/apt/lists/*++# Set working directory+WORKDIR /app++# Install uv+RUN pip install --upgrade pip && \+ pip install uv++# Copy requirements file+COPY requirements.txt .++# Install dependencies using uv+RUN uv pip install -r requirements.txt++# Copy the rest of the application+COPY . .++# Command to run the Meta Ads MCP server+CMD ["python", "-m", "meta_ads_mcp"]\ No newline at end of filediff --git a/smithery.yaml b/smithery.yamlnew file mode 100644index 0000000..4f86f65--- /dev/null+++ b/smithery.yaml@@ -0,0 +1,33 @@+startCommand:+ type: stdio+ configSchema:+ type: object+ properties:+ pipeboardApiToken:+ type: string+ description: "Pipeboard API token for Meta authentication (recommended). Get your free token at https://pipeboard.co"+ metaAppId:+ type: string+ description: "Meta App ID (Client ID) for direct OAuth method (only needed if not using Pipeboard authentication)"+ required: []+ commandFunction: |+ (config) => {+ const env = {};+ const args = ["-m", "meta_ads_mcp"];++ // Add Pipeboard API token to environment if provided (recommended auth method)+ if (config.pipeboardApiToken) {+ env.PIPEBOARD_API_TOKEN = config.pipeboardApiToken;+ }++ // Add Meta App ID as command-line argument if provided (alternative auth method)+ if (config.metaAppId) {+ args.push("--app-id", config.metaAppId);+ }++ return {+ command: 'python',+ args: args,+ env: env+ };+ }\ No newline at end of file