Ad Review Log MCP
Acts as a persistent log of ad creative reviews. Stores each review's ad name, funnel stage, score, media link, and full review text so agents can look back at how past creatives were scored.
README
Ad Review Log MCP
A local MCP (Model Context Protocol) server that acts as a persistent log of ad creative reviews. It stores each review's ad name, funnel stage, score, media link, and full review text so agents can look back at how past creatives were scored.
Works with Cursor IDE, OpenAI Codex CLI, Claude Desktop, and any MCP-compatible client.
How It Works
┌─────────────┐ ┌──────────────────────┐
│ Cursor IDE │── stdio ──────────────►│ │
├─────────────┤ │ ad-review-log │
│ Codex CLI │── stdio ──────────────►│ │
├─────────────┤ │ SQLite + FTS5 │
│ Claude │── stdio ──────────────►│ ~/.ad-review-log/ │
└─────────────┘ └──────────────────────┘
Each agent spawns its own process instance. All instances read/write the same SQLite database at ~/.ad-review-log/reviews.db. SQLite WAL mode ensures safe concurrent access.
Requirements
- Node.js 18+
- macOS, Linux, or Windows
Installation
git clone https://github.com/YOUR_USERNAME/ad-review-log.git
cd ad-review-log
npm install
npm run build
Agent Integration
Cursor IDE
Add to ~/.cursor/mcp.json (inside the mcpServers object):
{
"mcpServers": {
"ad-review-log": {
"command": "node",
"args": ["/absolute/path/to/ad-review-log/dist/index.js"]
}
}
}
Optionally, install the Cursor skill for better agent behavior:
cp -r integration/cursor-skill ~/.cursor/skills/ad-review-log
And add the rule to your projects:
cp integration/cursor-rule.md your-project/.cursor/rules/ad-review-log.md
OpenAI Codex CLI
Add to ~/.codex/config.toml:
[mcp_servers.ad-review-log]
command = "node"
args = ["/absolute/path/to/ad-review-log/dist/index.js"]
Then append the review instructions to your Codex instructions file:
cat integration/codex-instructions.md >> ~/.codex/instructions.md
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"ad-review-log": {
"command": "node",
"args": ["/absolute/path/to/ad-review-log/dist/index.js"]
}
}
}
Restart Claude Desktop after editing the config.
Any MCP-Compatible Client
Any tool supporting MCP stdio transport can use this server by spawning:
node /path/to/ad-review-log/dist/index.js
The server communicates via JSON-RPC over stdin/stdout following the MCP specification.
Tools
store_review
Store an ad creative review.
| Parameter | Required | Description |
|---|---|---|
| ad_name | Yes | Name or identifier of the ad creative |
| funnel_stage | Yes | Awareness, Consideration, Conversion, Onboarding, Retention, or Advocacy |
| score | Yes | Overall review score, 0-100 |
| full_review | Yes | The full review text / teardown |
| media_link | No | Link to the ad media (video, image, carousel, Drive URL) |
| timestamp | No | Review timestamp (defaults to now) |
search_reviews
Full-text search across all reviews.
| Parameter | Required | Description |
|---|---|---|
| query | Yes | Free-text search (ad name, keyword, review phrase) |
| funnel_stage | No | Filter by funnel stage |
| ad_name | No | Filter by ad name (substring match) |
| min_score | No | Only reviews with score >= this value |
| max_score | No | Only reviews with score <= this value |
| limit | No | Max results (default 10) |
get_context
Smart retrieval for the current review. Returns top-scoring reviews for the given funnel stages plus FTS matches against the task description.
| Parameter | Required | Description |
|---|---|---|
| funnel_stages | Yes | Array of funnel stages: ["Conversion", "Awareness"] |
| task_description | No | What you are about to review (used for semantic match) |
| ad_name | No | Ad name to look for related prior reviews |
list_reviews
Browse entries with optional filters.
| Parameter | Required | Description |
|---|---|---|
| funnel_stage | No | Filter by funnel stage |
| ad_name | No | Filter by ad name (substring match) |
| min_score | No | Only reviews with score >= this value |
| max_score | No | Only reviews with score <= this value |
| limit | No | Max results (default 20) |
| offset | No | Pagination offset |
update_review
Update an existing review.
| Parameter | Required | Description |
|---|---|---|
| id | Yes | The review ID to update |
| (any field) | No | Any field from store_review can be updated |
delete_review
Remove an obsolete review.
| Parameter | Required | Description |
|---|---|---|
| id | Yes | The review ID to delete |
Database
Data is stored at ~/.ad-review-log/reviews.db (SQLite with FTS5).
The reviews table schema:
id | timestamp | ad_name | funnel_stage | score | media_link | full_review
Storage Setup
After building, run the interactive setup to choose where data lives:
npm run setup
You will be prompted to choose:
- Google Drive (macOS only) — symlinks
~/.ad-review-log/to your Google Drive folder. Data syncs automatically across machines. - Local — stores data at
~/.ad-review-log/on disk (default).
You can re-run npm run setup at any time to switch between the two.
New machine setup
If you previously chose Google Drive:
- Install Google Drive Desktop and sign in with the same account
- Clone this repo,
npm install && npm run build - Run
npm run setupand select Google Drive — it will find your existing data
If Google Drive becomes unavailable (e.g. app not installed), the server automatically falls back to local storage instead of crashing.
Manual Inspection
sqlite3 ~/.ad-review-log/reviews.db
-- List recent reviews
SELECT id, ad_name, funnel_stage, score FROM reviews ORDER BY timestamp DESC LIMIT 10;
-- Search by keyword
SELECT * FROM reviews WHERE id IN (
SELECT rowid FROM reviews_fts WHERE reviews_fts MATCH 'basket'
);
-- Average score by funnel stage
SELECT funnel_stage, ROUND(AVG(score), 1) FROM reviews GROUP BY funnel_stage;
Backup
The database is a single file. Back it up however you prefer:
cp ~/.ad-review-log/reviews.db ~/.ad-review-log/reviews.db.bak
Or add ~/.ad-review-log/ to your backup tool (Time Machine, rsync, etc.).
Development
npm run dev # Run with tsx (hot reload)
npm run build # Build with tsup
npm run typecheck # Type-check without emitting
npm start # Run the built version
How Agents Should Use This
- At the start of a review: Call
get_contextwith the relevant funnel stages - Before reviewing an ad: Call
search_reviewsto check for a prior review - After reviewing an ad: Call
store_reviewwith all the details - When re-scoring: Call
update_reviewto amend the existing entry
The integration/ folder contains skill files and rules that teach agents this workflow automatically.
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.