# MCP server

> Connect Claude, ChatGPT, Cursor or any MCP client to Taseli: the same data as the API, plus Taseli's memory, plan and proposals.

Source: https://taseli.co.il/en/developers/mcp

|  |  |
| --- | --- |
| Address | `https://mcp.taseli.co.il/mcp` |
| Transport | Streamable HTTP: `POST`, JSON answers. No `GET` stream. |
| Sign-in | OAuth: the client opens Taseli's consent screen and the person picks the business. Or a personal key as `Authorization: Bearer <key>` for CLIs and headless agents. |
| Price | Free on every plan. Questions never use credits. |

Every change an agent proposes waits for the owner in Taseli, like any other proposal. The API is for scripts and dashboards; MCP is for conversations and agents.

## First success in Claude Code

Create a key in Settings › Connected apps, paste this line in a terminal, then ask Claude about the account.

```bash
claude mcp add --transport http --scope user taseli https://mcp.taseli.co.il/mcp --header "Authorization: Bearer tsl_..."
```

|  |  |
| --- | --- |
| You ask | “How did the ads do this week?” |
| Claude calls | `get_results` |
| The answer | Google Ads: 23 leads at ₪96 each, down from ₪110 last week. Meta: 11 leads at ₪74. Spend is on pace for the month. |

> An example: the numbers are made up. In your account they come from its own results.

## Apps that sign in

No key. Paste the address, sign in to Taseli and pick the business. The app then shows in Settings › Connected apps under Keys and apps, where it can be disconnected.

### Claude

1. In Claude on the web or the desktop app: Settings › Connectors › "Add custom connector".
2. Name it Taseli, paste the address and add it. Sign in to Taseli and pick the business.
3. In a chat, turn Taseli on from the tools menu and ask: "How are my ads doing?"

### ChatGPT

1. In ChatGPT on the web, open "Plugins", click + and choose "Add custom MCP server".
2. Name it Taseli, paste the address, choose OAuth and click "Create as a plugin".
3. Install it, sign in to Taseli and pick the business. Then ask: "How are my ads doing?"

### Gemini CLI

1. In a terminal, run:

```bash
gemini mcp add --transport http taseli https://mcp.taseli.co.il/mcp
```

2. Inside gemini, sign in to Taseli and pick the business:

```bash
/mcp auth taseli
```

## Apps that take a key

Create a key in Settings › Connected apps by picking the app there: Taseli shows the line below with your key in it. With your own key, replace `tsl_...`.

### Claude Code

```bash
claude mcp add --transport http --scope user taseli https://mcp.taseli.co.il/mcp --header "Authorization: Bearer tsl_..."
```

### Cursor

In `~/.cursor/mcp.json`. With other servers already there, add only `taseli`.

mcp.json:

```json
{
  "mcpServers": {
    "taseli": {
      "url": "https://mcp.taseli.co.il/mcp",
      "headers": {
        "Authorization": "Bearer tsl_..."
      }
    }
  }
}
```

### Codex

At the end of `~/.codex/config.toml`. The CLI and the IDE share it.

config.toml:

```toml
[mcp_servers.taseli]
url = "https://mcp.taseli.co.il/mcp"
http_headers = { Authorization = "Bearer tsl_..." }
```

### VS Code

In `.vscode/mcp.json` at the project's root. The key is a secret: keep the file out of git.

mcp.json:

```json
{
  "servers": {
    "taseli": {
      "type": "http",
      "url": "https://mcp.taseli.co.il/mcp",
      "headers": {
        "Authorization": "Bearer tsl_..."
      }
    }
  }
}
```

### Any other client

Any client that connects to a remote MCP server works: with OAuth sign-in, the address alone; otherwise the address and the `Authorization` header.

### Answers without a token

| Request | Answer |
| --- | --- |
| `initialize`, `ping`, `tools/list` | `200`, public: the tool list, no business named. |
| Anything else, or an expired token | `401` with `WWW-Authenticate`: the client starts the OAuth sign-in. |
| `GET` | `405`: there is no server stream. Send `POST`. |
| A browser `Origin` that isn't Taseli, Claude, ChatGPT or `localhost` | `403`, before the key is read. Servers, CLIs and IDEs send no `Origin` and aren't affected. |

## What it can do

| Scope | Tools |
| --- | --- |
| `read` | Every tool that reads. |
| `propose` | Proposing changes and campaigns, and saving notes. Each proposal waits for the owner. |
| `creatives` | Making a picture or video on credits, only if the person allowed it. |

`tools/list` shows only what the key's scopes and the person's role allow, so an agent never sees a tool it can't run. Every tool it can show is below, in its order: by job.

| Job | Tool | What it does |
| --- | --- | --- |
| Understand | `get_business` | What Taseli knows about the business: offer, economics, goals and the owner's rules. |
|  | `list_accounts` | Every ad account, with its id, goal, budget pace and read-only state. |
|  | `get_results` | The last 28 full days for the whole business, as Home shows them; cost per result is null with no results. |
|  | `get_learnings` | What Taseli learned works in each account. |
|  | `get_site_watch` | Offers and prices on the business's site, what changed, and its health on search and security. |
|  | `get_ad_set_health` | Meta ad sets: learning phase, frequency and tiring audiences. |
|  | `crm_status` | Whether a CRM is connected, and whether its deals reach Google and Meta. |
|  | `leads_list` | The business's leads, newest first, masked; the form's answers only for the owner, an admin or a manager. |
|  | `audience_status` | The business's lists and platform audiences: how ready each is, its rough size and where it is used. |
|  | `lead_forms_list` | The Meta instant forms Taseli knows: their questions and how many leads each brought. |
| Diagnose | `get_account_review` | Why results moved and what holds each campaign back: searches, keywords, tracking. |
|  | `lead_quality` | Which campaigns, ads and forms bring good leads and which bring weak ones, from the owner's marks. |
|  | `lead_access_status` | Whether Taseli can read the form leads, Page by Page, and what opens it when it can't. |
|  | `explain_results` | Why a number moved against the 28 days before, split by platform, campaign, ad and search term. |
|  | `explain_change` | The story of one change: why it was made and how it went. |
|  | `get_guidance` | Taseli's advice for one question at this account's stage, before you recommend or propose. |
|  | `get_benchmarks` | How the account compares with similar businesses: better, typical or weaker. |
| Plan | `get_plan` | What Taseli does now and next, and why. |
|  | `test_idea` | Puts the owner's idea in Taseli's test queue; it shows on the plan. |
| Decide | `list_decisions` | Changes Taseli prepared, most valuable first, each with why and an approval link. |
|  | `get_decision` | One decision in full: state, when it ran, how its 7-day watch is going. |
|  | `propose_change` | Proposes a pause, a resume, a daily budget or blocked searches; it waits for the owner. |
|  | `propose_campaign` | Proposes a new campaign on Google, Meta or TikTok; it waits for the owner. |
|  | `lead_form_propose` | Proposes a Meta campaign with an instant form; it waits for the owner. |
|  | `place_creatives` | Proposes library creatives for running campaigns, as cards to approve. |
|  | `propose_audience` | Proposes an audience on Meta, Google or TikTok from a list, the site or engagement: a lookalike, ads to the list only or the list plus lookalikes, or keeping it out; it waits for the owner. |
|  | `what_we_did` | Recent changes in plain words, and what Taseli is watching. |
|  | `check_move` | Judges a planned change before it's made, here or on the platform directly. |
|  | `watch_outside_change` | Puts a change made outside Taseli under its watch, like one of its own. |
|  | `send_to_ad` | Proposes a studio creative or ad copy for a running ad; nothing changes before approval. |
| Create | `get_creatives` | Each picture and video, with its results. |
|  | `get_creative_strategy` | The next creatives to make and why, best first. |
|  | `make_creative` | Makes a picture or video on credits, only if the person allowed it. |
|  | `get_brand_kit` | The brand kit every ad is made with: logo, colours, fonts, tone, and what's missing. |
|  | `update_brand_kit` | Saves a brand rule the owner stated; every later ad follows it. |
|  | `write_ad_copy` | Ad texts from the business's own data, within each platform's length limits. |
|  | `create_ad` | Makes finished ads on credits into the creative library, never into a live ad by itself. |
| Competitors | `list_competitors` | The competitors the business tracks. |
|  | `get_competitor_ads` | Their live ads on Meta and Google. |
|  | `get_market_insights` | What the market is doing, in plain words. |
|  | `get_market_trends` | What's rising and falling in the market. |
|  | `add_competitor` | Starts tracking a competitor. |
|  | `remove_competitor` | Stops tracking one. |
|  | `refresh_competitors` | Reads their latest ads now. |
| Memory | `get_memory` | What the owner told Taseli, decisions and what was tried. |
|  | `remember` | Saves a note for Taseli; the owner confirms it. |
|  | `set_goals` | Saves what the business counts as a result, strongest first; every decision is judged on it. |
|  | `leads_mark` | Marks a lead good, not relevant or a customer, as the owner does in Taseli; no ad account changes. |
|  | `record_idea` | Saves something Taseli can't do yet, for the team. |
| Reports | `list_reports` | Past reports. |
|  | `make_report` | Writes a report for the period you pick. |

> Shown only where that part of Taseli is on for the business: `explain_results`, `check_move`, `watch_outside_change`, `send_to_ad`, `get_brand_kit`, `update_brand_kit`, `write_ad_copy`, `create_ad`, `list_competitors`, `get_competitor_ads`, `get_market_insights`, `get_market_trends`, `add_competitor`, `remove_competitor`, `refresh_competitors`, `set_goals`.

## Prompts

Ready requests: slash commands in Claude Code, Codex and Cursor, prompts in Claude. Questions ask one thing; workflows run a full piece of work and end with proposals that wait for the owner. Each takes `language` (`he`, `ar`, `en`); every workflow except `launch_new_business` also takes `account`, for one ad account.

| Prompt | Kind | What it gives |
| --- | --- | --- |
| `how_are_we_doing` | Question | The month so far, what changed and the one thing to do now. |
| `whats_waiting` | Question | Decisions waiting for approval, with links. |
| `why_results_changed` | Question | The cause behind a rise or a drop. |
| `can_we_grow` | Question | Where more budget would pay. |
| `creatives_check` | Question | Which pictures and videos work, and what to replace. |
| `wasted_searches` | Question | Google searches that cost money without results. |
| `audit_account` | Workflow | A full account audit, with the top fixes proposed. |
| `plan_next_month` | Workflow | A plan for next month; takes an optional `budget`. |
| `launch_new_business` | Workflow | A first campaign for a new or empty account; takes `goal` and `budget`. |
| `weekly_review` | Workflow | The week against target, and the one decision for this week. |
| `fix_tracking` | Workflow | Checks that results are counted right, and proposes fixes. |
| `fix_wasted_spend` | Workflow | Spend without results, proposed as fixes. |
| `refresh_creatives` | Workflow | Tired creatives out, new ones into the running campaigns. |

## Resources

Read-only context a client can attach to a conversation: the same data as the tools, in English. Results and decisions also come with MCP Apps cards (`ui://taseli/…`) that Claude and ChatGPT draw.

| URI | What it holds |
| --- | --- |
| `taseli://business` | The business card (same as `get_business`). |
| `taseli://accounts` | The ad accounts (same as `list_accounts`). |
| `taseli://plan` | The work plan (same as `get_plan`). |
| `taseli://memory` | What Taseli remembers (same as `get_memory`). |
| `taseli://review` | Each account's latest written review. |
| `taseli://decisions` | Decisions waiting for approval (same as `list_decisions`). |
| `taseli://decisions/{id}` | One decision in full, a template (same as `get_decision`). |

## Details that trip agents

- `propose_change` with `budget` takes either `daily_budget` (a new amount) or `budget_change_pct` (a percent step from the live daily budget, e.g. `15` or `-20`; Taseli reads the budget and works out the amount). A big jump carries the same "double-check" line the owner sees in Taseli.
- `get_results` returns `costPerResult: null` and `resultsKnown: false` when the last 28 days have no results, never `0`. Don't read it as a cost of zero. The same figures come from the API as `results` in [GET /workspace](https://taseli.co.il/en/developers/reference#get-workspace) with `include=results`.
- `list_decisions` and `get_decision` use the word the app uses. The API has the same two as [GET /decisions](https://taseli.co.il/en/developers/reference#list-decisions) and [GET /decisions/{id}](https://taseli.co.il/en/developers/reference#get-decision); `/proposals` is the older name and keeps answering the same.

## Limits

- Per key: 60 calls a minute and 600 an hour, in windows of their own (separate from the API's).
- Tools that write: 40 an hour per key, on top.
- Per workspace: 5,000 a day across every key, app and the API.
- Over a limit, a tool call comes back as a tool error that says how many seconds to wait, so the model can relay it.

> For the owner's side (what it's like in Claude or ChatGPT, and the safeguards), see [Taseli in Claude and ChatGPT](https://taseli.co.il/en/product/mcp).
