X Ads MCP Server
by get-mcp-adscom.getmcpads/x-adsv1.0.1
X Ads MCP server: 25 read tools, 19 opt-in preview-first writes.
context tax
queued
security
queued
cold start
queued
freshness
Active13d ago
Install X Ads MCP server
Install in Claude Code
claude mcp add x-ads -e X_ADS_ACCESS_TOKEN='<x-ads-access-token>' -e X_ADS_ACCOUNT_IDS='<x-ads-account-ids>' -- npx -y @getmcpads/x-ads-mcp-serverInstall in Cursor
{
"mcpServers": {
"x-ads": {
"command": "npx",
"args": [
"-y",
"@getmcpads/x-ads-mcp-server"
],
"env": {
"X_ADS_ACCESS_TOKEN": "<x-ads-access-token>",
"X_ADS_ACCOUNT_IDS": "<x-ads-account-ids>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"x-ads": {
"command": "npx",
"args": [
"-y",
"@getmcpads/x-ads-mcp-server"
],
"env": {
"X_ADS_ACCESS_TOKEN": "<x-ads-access-token>",
"X_ADS_ACCOUNT_IDS": "<x-ads-account-ids>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"x-ads": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@getmcpads/x-ads-mcp-server"
],
"env": {
"X_ADS_ACCESS_TOKEN": "<x-ads-access-token>",
"X_ADS_ACCOUNT_IDS": "<x-ads-account-ids>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"x-ads": {
"command": "npx",
"args": [
"-y",
"@getmcpads/x-ads-mcp-server"
],
"env": {
"X_ADS_ACCESS_TOKEN": "<x-ads-access-token>",
"X_ADS_ACCOUNT_IDS": "<x-ads-account-ids>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| X_ADS_ACCESS_TOKEN | yes | yes | User OAuth 2.0 token. Keep it secret. |
| X_ADS_ACCOUNT_IDS | yes | — | Comma-separated allowed account IDs. Required even for reads. |
| X_ADS_SCOPES | — | — | Scopes actually granted to the token, including ads.read. |
| X_ADS_ENABLE_WRITES | — | — | true enables write tools. Defaults to false. |
Freshness
Active — last maintenance signal 13d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-26 · 13d ago · GitHub
Latest release
2026-09-23 · 16d ago · GitHub · v1.0.1
Package published
no data · npm/PyPI
Registry entry updated
2026-09-23 · 16d ago · official registry · v1.0.1
FAQ
›How do I install the X Ads MCP server in Claude Code?
Run: claude mcp add x-ads -e X_ADS_ACCESS_TOKEN='<x-ads-access-token>' -e X_ADS_ACCOUNT_IDS='<x-ads-account-ids>' -- npx -y @getmcpads/x-ads-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does X Ads require an API key?
Yes. It expects X_ADS_ACCESS_TOKEN, X_ADS_ACCOUNT_IDS, of which 1 is a secret.
›Can I use X Ads as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is X Ads in the official MCP registry?
Yes, as com.getmcpads/x-ads.
Alternatives to X Ads
Other crm & marketing MCP servers.