Adwarp
v0.5.0Open-source ad agent for LinkedIn Ads and Google Ads.
Values you need
| Variable | What it is | |
|---|---|---|
ADWARP_LINKEDIN_CLIENT_ID | optional | LinkedIn app Client ID. Leave unset to use ~/.adwarp from adwarp auth login |
ADWARP_LINKEDIN_CLIENT_SECRET | optional secret | LinkedIn app Client Secret. Leave unset to use ~/.adwarp |
ADWARP_LINKEDIN_REFRESH_TOKEN | optional secret | Refresh token from adwarp auth login. Leave unset to use ~/.adwarp |
ADWARP_LINKEDIN_DEFAULT_ACCOUNT_ID | optional | LinkedIn ad account used when a call omits one |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add adwarp -- npx -y adwarp@0.5.0 mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"adwarp": {
"args": [
"-y",
"adwarp@0.5.0",
"mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"adwarp": {
"args": [
"-y",
"adwarp@0.5.0",
"mcp"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"adwarp": {
"args": [
"-y",
"adwarp@0.5.0",
"mcp"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.adwarp]
command = "npx"
args = ["-y", "adwarp@0.5.0", "mcp"]Remote (hosted)
Run in a terminal
claude mcp add --transport http adwarp https://mcp.adwarp.dev/api/mcp --header 'X-Adwarp-Linkedin-Account-Id: <X-Adwarp-Linkedin-Account-Id>' --header 'X-Adwarp-Linkedin-Client-Id: <X-Adwarp-Linkedin-Client-Id>' --header 'X-Adwarp-Linkedin-Client-Secret: <X-Adwarp-Linkedin-Client-Secret>' --header 'X-Adwarp-Linkedin-Refresh-Token: <X-Adwarp-Linkedin-Refresh-Token>' --header 'X-Adwarp-Linkedin-Version: <X-Adwarp-Linkedin-Version>'Add to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"adwarp": {
"args": [
"-y",
"mcp-remote",
"https://mcp.adwarp.dev/api/mcp",
"--header",
"X-Adwarp-Linkedin-Account-Id: <X-Adwarp-Linkedin-Account-Id>",
"--header",
"X-Adwarp-Linkedin-Client-Id: <X-Adwarp-Linkedin-Client-Id>",
"--header",
"X-Adwarp-Linkedin-Client-Secret: <X-Adwarp-Linkedin-Client-Secret>",
"--header",
"X-Adwarp-Linkedin-Refresh-Token: <X-Adwarp-Linkedin-Refresh-Token>",
"--header",
"X-Adwarp-Linkedin-Version: <X-Adwarp-Linkedin-Version>"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"adwarp": {
"headers": {
"X-Adwarp-Linkedin-Account-Id": "<X-Adwarp-Linkedin-Account-Id>",
"X-Adwarp-Linkedin-Client-Id": "<X-Adwarp-Linkedin-Client-Id>",
"X-Adwarp-Linkedin-Client-Secret": "<X-Adwarp-Linkedin-Client-Secret>",
"X-Adwarp-Linkedin-Refresh-Token": "<X-Adwarp-Linkedin-Refresh-Token>",
"X-Adwarp-Linkedin-Version": "<X-Adwarp-Linkedin-Version>"
},
"url": "https://mcp.adwarp.dev/api/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"adwarp": {
"headers": {
"X-Adwarp-Linkedin-Account-Id": "<X-Adwarp-Linkedin-Account-Id>",
"X-Adwarp-Linkedin-Client-Id": "<X-Adwarp-Linkedin-Client-Id>",
"X-Adwarp-Linkedin-Client-Secret": "<X-Adwarp-Linkedin-Client-Secret>",
"X-Adwarp-Linkedin-Refresh-Token": "<X-Adwarp-Linkedin-Refresh-Token>",
"X-Adwarp-Linkedin-Version": "<X-Adwarp-Linkedin-Version>"
},
"type": "http",
"url": "https://mcp.adwarp.dev/api/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.adwarp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.adwarp.dev/api/mcp", "--header", "X-Adwarp-Linkedin-Account-Id: <X-Adwarp-Linkedin-Account-Id>", "--header", "X-Adwarp-Linkedin-Client-Id: <X-Adwarp-Linkedin-Client-Id>", "--header", "X-Adwarp-Linkedin-Client-Secret: <X-Adwarp-Linkedin-Client-Secret>", "--header", "X-Adwarp-Linkedin-Refresh-Token: <X-Adwarp-Linkedin-Refresh-Token>", "--header", "X-Adwarp-Linkedin-Version: <X-Adwarp-Linkedin-Version>"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: gads_list_accounts, gads_list_client_accounts, gads_keyword_ideas, gads_list_campaigns, gads_list_ads, gads_list_conversion_actions, gads_launch_search_campaign, gads_performance, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json