Remote MCP Server Authless Db13934c

MCP运维云端

提供方 DrSebastianK

运维云端 未标注 OAuth 授权 社区 / 第三方 Claude DesktopClaude

一个自托管的Meta广告MCP服务器,用于Meta Marketing API,运行在Cloudflare Workers上,支持OAuth 2.0认证,适用于多租户SaaS应用。

一句话选型结论

按资料字段整理

Remote MCP Server Authless Db13934c 属于运维云端类 MCP 服务器,传输方式未标注,OAuth 授权,可直接接入 Claude Desktop、Claude,没有现成安装命令,需按官方文档接入。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类运维云端 传输方式未标注 鉴权OAuth 授权 部署方式未标注
GitHub 星标 1 仓库热度,无公开仓库时显示未标注
工具数 16 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

运维云端
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量16暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

支持客户端

适用场景

Meta广告TypeScript本地部署自托管多租户SaaSAI驱动

安装与配置

未标注 OAuth 授权
上游未给出传输方式
  1. 1
    准备运行环境

    按官方文档确认运行环境(常见为 Node.js 或 Python),装好后再执行安装命令。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后客户端会列出约 16 个工具,随便调一个只读工具确认能返回结果。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
云资源查询

查实例、存储、账单等云上资源状态。

部署与发布

把部署、重启、回滚这类操作接进对话。

监控与告警

拉取监控指标,异常时让模型帮你判断。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 资料标注 16 个工具,覆盖面较广,能满足多种调用。
  • 已适配 Claude Desktop、Claude,换客户端不用重新研究配置。

先想清楚的地方

  • 没有现成安装命令,需要按官方文档自己填启动命令和参数。
  • 使用前要准备好OAuth 授权对应的凭据,并按最小权限配置。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在运维云端场景里让模型直接调用外部能力的人。
  • 已经在用 Claude Desktop、Claude 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 不方便管理密钥或第三方授权的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
Remote MCP Server Authless Db13934c当前 16 未标注 未标注 无 2026-05-17
lobehub 未标注 stdio · 本地进程 本地部署 有 2026-04-11
TrendRadar 未标注 stdio · 本地进程 本地部署 有 2026-04-13
Ui Tars Desktop 8a825770 未标注 stdio · 本地进程 本地部署 有 2026-05-17
ruflo 未标注 stdio · 本地进程 本地部署 有 2026-04-13
FastGPT 未标注 stdio · 本地进程 本地部署 有 2026-04-11

服务器档案

运维云端
字段来自项目仓库与公开索引,中文说明由本站标注
提供方DrSebastianK上游标注的维护方 DrSebastianK
分类运维云端本站按上游分类展示
连接方式未标注上游未给出传输方式
鉴权方式OAuth 授权远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时未标注 · 未标注本地安装时用到的包标识与运行时
部署类型未标注上游给出的部署形态
最近核验2026-05-17上游最后核验时间

详细介绍

9.6 KB
来自项目仓库与上游目录的原文,未做删改

Self-Hosted Meta Ads MCP Server 🚀

A self-hosted Model Context Protocol (MCP) server for Meta Marketing API, running on Cloudflare Workers with OAuth 2.0 authentication. Built for multi-tenant SaaS applications.

Based on wipsoft/meta-mcp - fully self-hosted, no third-party dependencies!

✨ Features

  • ✅ Self-Hosted: No third-party dependencies, runs on Cloudflare Workers
  • ✅ OAuth 2.0: Users connect their own Meta Ads accounts seamlessly
  • ✅ Multi-Tenant: Perfect for SaaS platforms with multiple users
  • ✅ 25+ Tools: Complete Meta Ads API coverage
  • ✅ AI-Powered: Campaign creation from natural language
  • ✅ Free Tier: 100k requests/day on Cloudflare free tier
  • ✅ Latest API: Meta Graph API v23.0

🏗️ Architecture```

┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ Your App │◄──►│ Cloudflare │◄──►│ Meta Marketing │
│ (Frontend) │ │ Worker (MCP) │ │ API │
│ │ │ │ │ │
│ - User clicks │ │ - OAuth flow │ │ - Campaigns │
│ "Connect" │ │ - Token storage │ │ - Analytics │
│ - Create │ │ - API proxy │ │ - Audiences │
│ campaigns │ │ - AI tools │ │ - Creatives │
└─────────────────┘ └──────────────────┘ └─────────────────┘
│
▼
┌──────────────────┐
│ Cloudflare D1 │
│ (Database) │
│ │
│ - User tokens │
│ - Campaigns │
│ - Insights cache │
└──────────────────┘


## 🚀 Quick Start

### Prerequisites

- Node.js v18+
- Cloudflare account (free tier works!)
- Meta Developer account
- Wrangler CLI

### Installation```bash
# Install dependencies
npm install

# Install Wrangler globally
npm install -g wrangler

# Login to Cloudflare
wrangler login

Setup (5 minutes)

See SETUP.md for complete step-by-step instructions.

Quick version:

  1. Create Meta App at https://developers.facebook.com/apps/
  2. Create Cloudflare resources:bash wrangler d1 create meta_ads_mcp wrangler kv:namespace create OAUTH_STATE
  3. Update wrangler.jsonc with your resource IDs
  4. Initialize database:bash wrangler d1 execute meta_ads_mcp --file=schema.sql
  5. Set secrets:bash wrangler secret put META_APP_ID wrangler secret put META_APP_SECRET
  6. Deploy:bash npm run deploy

🔧 Usage

OAuth Flow

Users connect their Meta Ads accounts:```typescript
// Redirect user to start OAuth
window.open(
'https://your-worker.workers.dev/auth/meta?user_id=USER_ID',
'Meta OAuth',
'width=600,height=700'
);


### Available Endpoints

- `GET /health` - Health check
- `GET /auth/meta?user_id=USER_ID` - Start OAuth flow
- `GET /auth/callback` - OAuth callback (automatic)
- `POST /auth/disconnect` - Disconnect user account
- `GET /sse` - MCP SSE endpoint
- `POST /mcp` - MCP standard endpoint

### MCP Tools (25+ Available)

#### Authentication
- `check_auth_status` - Check if user is authenticated
- `test_connection` - Test server connection

#### Account Management
- `get_ad_accounts` - Get user's ad accounts

#### Campaign Management
- `get_campaigns` - List campaigns
- `create_campaign` - Create new campaign
- `update_campaign` - Update campaign status/budget
- `get_campaign_insights` - Get performance metrics

#### Ad Set Management
- `create_adset` - Create ad set with targeting

#### Creative Management
- `create_ad_creative` - Create ad creative
- `create_ad` - Create ad in ad set
- `upload_ad_image` - Upload image
- `get_ad_creatives` - List creatives

#### Targeting & Audiences
- `search_interests` - Search targeting interests
- `get_custom_audiences` - List custom audiences

#### AI-Powered Tools 🤖
- `create_campaign_from_prompt` - Natural language campaign creation
- `analyze_campaign_performance` - AI analysis of performance

### Example: Create Campaign```typescript
// Via MCP client
{
  "tool": "create_campaign",
  "arguments": {
    "user_id": "user123",
    "account_id": "act_123456789",
    "name": "Summer Sale 2025",
    "objective": "OUTCOME_LEADS",
    "daily_budget": 5000,
    "status": "PAUSED"
  }
}

Response:```json
{
"id": "120210000000000",
"name": "Summer Sale 2025",
"status": "PAUSED"
}


## 📊 Why Self-Host? (vs Pipeboard)

| Feature | Self-Hosted (This) | Pipeboard MCP |
|---------|-------------------|---------------|
| **Cost** | ✅ FREE (Cloudflare free tier) | ⚠️ Paid service |
| **OAuth** | ✅ Built-in OAuth 2.0 | ⚠️ Via Pipeboard |
| **Control** | ✅ Full control | ❌ Limited |
| **Multi-tenant** | ✅ Native support | ⚠️ Complex setup |
| **Customization** | ✅ Unlimited | ❌ Limited |
| **Latest API** | ✅ Always v23.0+ | ⚠️ May lag |
| **Data Privacy** | ✅ Your infrastructure | ⚠️ Third-party |

**See project.md for detailed comparison.**

## 🔒 Security

- ✅ OAuth 2.0 with CSRF protection (state parameter)
- ✅ Tokens stored encrypted in Cloudflare D1
- ✅ 60-day token expiry with automatic checks
- ✅ No token logging or exposure
- ✅ Rate limiting ready
- ✅ Secrets managed via Wrangler CLI

## 💰 Cost

### Free Tier (Perfect for Testing/MVP)
- **Cloudflare Workers**: 100k requests/day
- **D1 Database**: 5 GB storage
- **KV Namespace**: 100k operations/day
- **Total: $0/month** ✨

### Production Scale (1M requests/month)
- **Cloudflare Workers**: $5/month (Paid plan)
- **D1 & KV**: Still free (under limits)
- **Total: ~$5-10/month**

Compare to alternatives costing $50-200/month + per-user fees!

## 📚 Documentation

- **SETUP.md** - Complete setup guide with troubleshooting
- **ENV.md** - Environment variables reference
- **project.md** - Architecture decisions & comparison
- **schema.sql** - Database schema

## 🛠️ Development```bash
# Local development
npm run dev

# Visit: http://localhost:8787

# Type checking
npm run type-check

# Format code
npm run format

# Deploy to production
npm run deploy

# View live logs
wrangler tail

# Database commands
wrangler d1 execute meta_ads_mcp --command "SELECT * FROM user_tokens"

🔌 Connect to Claude Desktop

Add to your Claude Desktop config (~/.claude/config.json):```json
{
"mcpServers": {
"meta-ads": {
"command": "npx",
"args": [
"mcp-remote",
"https://your-worker.workers.dev/sse"
]
}
}
}


Restart Claude Desktop and you'll see all Meta Ads tools!

## 🔗 Connect to Cloudflare AI Playground

1. Go to https://playground.ai.cloudflare.com/
2. Enter your MCP server URL: `https://your-worker.workers.dev/sse`
3. Start using Meta Ads tools in the playground!

## 🐛 Troubleshooting

### Common Issues

**"Invalid OAuth redirect URI"**
- Check Meta App settings match your deployed URL exactly
- No trailing slash: `https://your-worker.workers.dev/auth/callback`

**"User not authenticated"**
- Complete OAuth flow first: `/auth/meta?user_id=USER_ID`
- Check database: `wrangler d1 execute meta_ads_mcp --command "SELECT * FROM user_tokens"`

**"Database not found"**
- Create database: `wrangler d1 create meta_ads_mcp`
- Initialize schema: `wrangler d1 execute meta_ads_mcp --file=schema.sql`
- Update `wrangler.jsonc` with correct database_id

**"Access token expired"**
- Tokens expire after 60 days - reconnect account
- Visit: `/auth/meta?user_id=USER_ID`

**"Tool call failed"**
- Check you've deployed with secrets: `wrangler secret put META_APP_ID`
- Test health: `curl https://your-worker.workers.dev/health`

See **SETUP.md** for more troubleshooting.

## 🎯 Use Cases

### 💼 SaaS Platforms
- Let users connect their own Meta Ads accounts
- Create campaigns on their behalf via natural language
- Show unified dashboard across multiple accounts

### 🏢 Marketing Agencies
- Manage multiple client accounts from one interface
- Automated campaign creation and optimization
- Real-time performance monitoring

### 🔧 Internal Tools
- Company marketing dashboard
- Automated weekly/monthly reports
- Campaign budget optimization

## 🚧 Roadmap

- [ ] Webhook support for real-time campaign updates
- [ ] Advanced AI campaign optimization (using Claude)
- [ ] Automated A/B testing
- [ ] Audience segmentation recommendations
- [ ] Budget allocation AI
- [ ] Multi-platform support (Google Ads, LinkedIn Ads)

## 🧪 Testing```bash
# Test health
curl https://your-worker.workers.dev/health

# Test OAuth (in browser)
https://your-worker.workers.dev/auth/meta?user_id=test-user

# Test MCP tool (via Claude or MCP client)
{
  "tool": "check_auth_status",
  "arguments": { "user_id": "test-user" }
}

📝 License

MIT License

🙏 Credits

  • Inspired by wipsoft/meta-mcp
  • Built with MCP SDK
  • Powered by Cloudflare Workers
  • Uses Meta Marketing API v23.0

🆘 Support

  • GitHub Issues: For bugs and feature requests
  • Meta API: Meta Developer Community
  • Cloudflare: Cloudflare Discord
  • MCP Protocol: MCP GitHub

Built with ❤️ for the AI-powered advertising future

No more expensive third-party services. Own your infrastructure. Scale infinitely.

常见问题

6 问
答案由本站依据条目字段整理,不引用上游原文
Remote MCP Server Authless Db13934c 怎么安装?

资料没有给出安装命令,请到官方仓库或文档按说明接入;这类条目多数是生态应用,或尚未发布可安装包。

Remote MCP Server Authless Db13934c 怎么在 Claude Desktop、Claude 里配置?

它的传输方式未标注,在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,配置才会生效。

Remote MCP Server Authless Db13934c 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Remote MCP Server Authless Db13934c 需要 API Key 吗?

资料标注需要OAuth 授权认证,使用前准备好对应凭据,并按最小权限配置。

Remote MCP Server Authless Db13934c 支持哪些客户端?

资料标注支持 Claude Desktop、Claude;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

Remote MCP Server Authless Db13934c 能提供哪些能力?

资料显示约 16 个工具;能力标签包括 多租户、TypeScript、Claude、自托管。具体工具清单以官方文档为准。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 2026-05-17。