Skip to main content
REST v1 · MCP 2026-07-28

Comidoc Developer API documentation

This reference covers authentication, quotas, filters, coupon availability, trends, and batch submissions through REST and MCP.

REST base URL
https://comidoc.com/api/v1
MCP endpoint
https://mcp.comidoc.com
Date and time format
ISO 8601 with an explicit offset

Getting started

A verified email address is required to generate a key. The complete key is displayed only once, and Comidoc stores only its cryptographic digest. Send it as a Bearer token.

curl 'https://comidoc.com/api/v1/courses?q=python&rating_min=4.5&has_active_coupon=true' \
  -H 'Authorization: Bearer cmd_live_your_key'

Free: 250 credits/month. Pro: 100,000 shared credits/month, 10 requests/second, and up to 100 results/page. Responses include RateLimit-*, X-RateLimit-*, and X-Request-Id headers.

Prefer learning by example? The tutorial Build a Udemy Coupon Discord Bot in 5 Minutes goes from zero to a running integration with one short Node.js file on the free plan.

Coupon availability contract

Redemption capacity is public on every plan. redemptions.total is the initial capacity reported by Udemy, remaining is the capacity available at the latest successful observation, and redeemed is calculated when both values are known.

{
  "data": [{
    "coupon_code": "KEEPLEARNING",
    "redemptions": {
      "total": 100,
      "remaining": 80,
      "redeemed": 20,
      "state": "known",
      "observed_at": "2026-07-18T14:20:00.000Z"
    },
    "expires_at": "2026-07-21T23:59:59.000Z",
    "created_at": "2026-07-17T09:05:00.000Z",
    "last_verified_at": "2026-07-18T14:20:00.000Z",
    "last_confirmed_active_at": "2026-07-18T14:20:00.000Z"
  }],
  "pagination": {
    "total": 1,
    "limit": 25,
    "next_cursor": null
  },
  "meta": {
    "request_id": "req_…",
    "source": "direct",
    "plan": "pro",
    "coupon_codes_included": true,
    "quota": {
      "limit": 100000,
      "used": 42,
      "remaining": 99958,
      "resets_at": "2026-08-01T00:00:00.000Z"
    }
  }
}

created_at records when Comidoc first tracked the coupon. last_verified_at is the latest verification attempt, even if it failed, while last_confirmed_active_at is the latest successful active check. redemptions.observed_at timestamps the returned capacity values.

States: known for a fresh measurement, unknown when Udemy does not provide capacity, stale for an old measurement or inactive offer, and exhausted when no redemptions remain. On Free, coupon_code is null and meta.coupon_codes_included is false. Pro returns the coupon code, sets that metadata flag to true, and includes the complete Udemy URL.

Course filters

REST and MCP expose the same discovery surface as the website coupon-filter overlay. REST list values are comma-separated; MCP accepts one value or an array. In every public contract, course_id and a course object's id are Udemy's numeric course ID. Comidoc's internal identifier is not exposed.

Swipe horizontally to view every column.

ParameterValueEffect
qTextCourse title, description, or instructor
topicSlugComidoc topic
course_idPositive integerUdemy course ID (not Comidoc's internal ID)
category / language / levelComma-separatedCanonical values; matching ignores case and multiple values use OR
course_typecourses | testsInclude courses, practice tests, or both
durationshort | medium | longUnder 1 hour, 1–10 hours, or over 10 hours
ratinglt-4 | gte-4-lt-4_5 | gte-4_5Website rating bands, combinable with OR
rating_min / rating_max0–5Rating range
published_afterISO 8601Udemy publication date
last_course_updated_afterISO 8601Last course-content update reported by Udemy
coupon_status / statusComma-separatedActive, recent expired, invalid, pending, or all
coupon_age24hCoupon creation age, not course publication age
coupon_created_afterISO 8601Custom coupon creation cutoff
has_active_couponBooleanRequires a verified, unexpired offer with capacity
expires_before / expires_afterISO 8601Offer expiry window
remaining_minIntegerMinimum remaining redemptions
discount_typefree | percentageOne or more discount types
repeat_coupon_courseinclude | exclude | onlyUses the same recent frequent-coupon rule as the website
regular_issuerinclude | exclude | onlyInstructors who publish coupons regularly
sortDepends on endpointIncludes rating, published date, duration, remaining uses, price, and trend
unique_courseBoolean (/offers)At most one offer per course, like the website grid
horizon24h | 7d | 30dTime window used by trending results
curl 'https://comidoc.com/api/v1/offers?course_type=courses&category=Development,IT%20%26%20Software&language=English,French&duration=short,medium&rating=gte-4-lt-4_5,gte-4_5&coupon_age=24h&repeat_coupon_course=exclude&sort=remaining&unique_course=true' \
  -H 'Authorization: Bearer cmd_live_your_key'

last_course_updated_after always targets Udemy's course-content update date and never uses Comidoc's technical database timestamp.

Use /api/v1/filter-options or the MCP tool get_filter_options instead of hard-coding categories or languages. Values are matched case-insensitively and returned in their canonical form; an unknown category, language, or level returns a 400 error instead of an empty success. All Levels is an explicit level value and can be selected on its own. Course responses expose exact offer_count and active_offer_count values, plus returned_offer_count and offers_truncated when the embedded offer array is capped.

REST endpoints

GET
/api/v1/filter-optionsDiscover current categories, languages, levels, and filter enums
GET
/api/v1/coursesSearch courses with quality and offer filters
GET
/api/v1/courses/{id}Fetch a course by Udemy ID or slug
GET
/api/v1/offersSearch current or historical coupon offers
GET
/api/v1/topicsBrowse and search the topic catalog
GET
/api/v1/topics/{slug}Fetch topic details
GET
/api/v1/topics/{slug}/coursesSearch courses associated with a topic
GET
/api/v1/trending/coursesFetch time-based course trends
GET
/api/v1/trending/topicsFetch time-based topic trends
GET
/api/v1/changesRead the incremental change feed from a timestamp
POST
/api/v1/coupon-submissionsSubmit a batch of Udemy coupons for free
POST
/api/v1/watchesFollow a course's new free coupons (Pro)
GET
/api/v1/watchesList your active course watches
DELETE
/api/v1/watches/{id}Stop a watch, without consuming a credit

Submit coupons in batches

Send 1 to 500 Udemy course links per batch with a Comidoc developer Bearer key that grants coupons:submit. Create a new key in the developer portal if your current key lacks that scope. Existing keys, including rotated keys, keep their scopes.

Each entry needs a coupon code. Use the code in the URL or set coupon_code for a link without one. The URL takes precedence when both are supplied.

curl -X POST 'https://comidoc.com/api/v1/coupon-submissions' \
  -H 'Authorization: Bearer cmd_live_your_key' \
  -H 'Content-Type: application/json' \
  --data '{"submissions":[
    {"url":"https://www.udemy.com/course/example-course/?couponCode=EXAMPLE"},
    {"url":"https://www.udemy.com/course/another-course/","coupon_code":"ANOTHER"}
  ]}'

The MCP server at https://mcp.comidoc.com exposes submit_coupons. Pass the same JSON object as tool arguments and configure the same Bearer key in your client. The hosted ChatGPT app and RapidAPI do not expose coupon submission.

Results appear in data in input order. Each result has a zero-based index, a status and a message. REST returns HTTP 202 when at least one new job is queued and HTTP 200 when the batch produced no new jobs. A receipt confirms queueing. Coupons appear in the catalog only after passing verification.

  • queued_course or queued_coupon includes a submission_id for the new verification job.
  • already_queued indicates a matching verification job exists. already_exists_coupon indicates the coupon is already known.
  • skipped_coupon indicates a known automatic Udemy campaign. invalid identifies a rejected entry such as a missing coupon code or an instructor opt-out.
  • retry indicates a temporary processing error. Retry those entries with backoff.
{
  "data": [
    {"index":0,"status":"queued_course","message":"Course submitted successfully! It will be reviewed and processed shortly.","submission_id":"submission_example"},
    {"index":1,"status":"already_queued","message":"A verification job already exists for this entry."}
  ],
  "meta": {
    "request_id":"req_example",
    "source":"direct",
    "plan":"free",
    "coupon_codes_included":false,
    "quota":{"limit":250,"used":250,"remaining":0,"resets_at":"2026-12-01T00:00:00.000Z"}
  }
}

Submitting is free on every plan and uses zero API credits, even when your read quota is exhausted. Send one batch per request. REST and authenticated MCP accept submission bodies up to 5 MiB. A malformed request or a batch over the item limit is rejected before any entry is processed.

A new, verified 100% off coupon earns advertiser credit in the submitting account’s eligible wallet under the same rules as the website form. Credit is granted after verification. Duplicate, invalid, and expired coupons do not earn credit.

Receive new coupons without polling

API Pro accounts can follow courses without a watch-count limit. Configure one public HTTPS destination in your developer account’s Webhook tab, copy the signing secret, and send a free test. Then create watches using your API key. Watches belong to your account and survive key rotation.

Keys created before watches were introduced retain their existing scopes. Create a new key with watches:read and watches:write to use these endpoints. New portal keys include both scopes.

1. Follow a course

curl -X POST 'https://comidoc.com/api/v1/watches' \
  -H 'Authorization: Bearer cmd_live_your_key' \
  -H 'Content-Type: application/json' \
  --data '{"course_id":3836244}'
{
  "data": {
    "id": "watch_example",
    "course_id": 3836244,
    "course_title": "Python Automation",
    "course_slug": "python-automation",
    "created_at": "2026-10-03T12:00:00Z"
  },
  "meta": { "...": "standard API metadata and shared quota" }
}

A new watch returns 201; creating the same active watch again returns 200 with the existing identifier. Existing coupons are not replayed. Only newly confirmed free coupons after registration are eligible; repeated verification of the same coupon does not produce additional notifications. Reactivation of the same coupon is not sent again to the same destination. Practice tests and inactive or opted-out courses are excluded. Notifications continue until you delete the watch.

2. Receive a notification

{
  "id": "cf840882-07ec-4830-8e22-834a67d9a03b",
  "type": "coupon.available",
  "created_at": "2026-10-03T12:05:00Z",
  "test": false,
  "watch_id": "watch_example",
  "data": {
    "course": { "id": 3836244, "title": "Python Automation", "url": "https://comidoc.com/udemy/python-automation" },
    "offer": {
      "id": "offer_example",
      "coupon_code": "KEEPLEARNING",
      "udemy_url": "https://www.udemy.com/course/python-automation/?couponCode=KEEPLEARNING",
      "expires_at": "2026-10-05T12:00:00Z",
      "last_confirmed_active_at": "2026-10-03T12:04:58Z",
      "remaining_uses": 80
    }
  }
}

Tests use type: "webhook.test", test: true, and data.message instead of an offer. The offer can become unavailable after confirmation; notification does not reserve a redemption. Unavailable offers are discarded before retrying. Delivery order is not guaranteed.

3. Verify and acknowledge

Verify the signature against the exact raw request body before parsing JSON. The signing secret is separate from your API key. Headers are webhook-id, webhook-timestamp (Unix seconds), and webhook-signature. The HMAC-SHA256 input is id.timestamp.rawBody; the key is the Base64-decoded signing secret after removing whsec_.

import { createHmac, timingSafeEqual } from 'node:crypto';

function verifyWebhook(rawBody, headers, secret) {
  const id = headers['webhook-id'];
  const timestamp = headers['webhook-timestamp'];
  const signature = headers['webhook-signature'];
  if (typeof id !== 'string' || typeof timestamp !== 'string' ||
      typeof signature !== 'string' || !/^\d+$/.test(timestamp)) return false;
  if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false;
  const expected = createHmac('sha256', Buffer.from(secret.slice(6), 'base64'))
    .update(id + '.' + timestamp + '.' + rawBody).digest();
  return signature.split(' ').some(entry => {
    if (!entry.startsWith('v1,')) return false;
    const received = Buffer.from(entry.slice(3), 'base64');
    return received.length === expected.length && timingSafeEqual(received, expected);
  });
}

Persist the webhook-id and enqueue your work atomically, then respond with 2xx promptly. Return 2xx for already accepted identifiers. Retain deduplication records beyond the retry window; timestamps alone do not prevent duplicate processing. Automatic retries reuse the same ID and body with a fresh timestamp and signature.

Shared credits and delivery failures

Creating or listing watches costs one API credit per call. One coupon notification accepted with 2xx costs one shared credit, regardless of retries. Tests and permanently failed deliveries cost zero. A credit is temporarily reserved before sending; it becomes charged after 2xx or is released after final failure or cancellation. The portal separates API, webhook, reserved, and available credits. API response quota fields include reservations so clients cannot spend held credits twice.

The optional webhook credit limit is a UTC calendar-month ceiling within the shared quota, not an additional allowance. Zero pauses new coupon deliveries; tests remain available. The monthly counter is stored in PostgreSQL and survives application and Redis restarts.

Normal delivery attempts are immediate, then approximately 1 minute, 5 minutes, 15 minutes, 1 hour, and 3 hours after the previous failure. Redirects are not followed. HTTP 410 ends the delivery immediately. Other non-2xx responses and connection failures are retried. An ambiguous acknowledgement after a crash may cause a duplicate delivery: use the stable ID to deduplicate.

Quota or webhook-limit exhaustion pauses new deliveries. They resume automatically once credits are available or the limit is raised, provided the offer remains eligible. Expired Pro access stops deliveries but retains watches; there is no replay of coupons missed during that period. Changing the URL or replacing the signing secret cancels queued messages for the old configuration. A request already in flight may complete. View recent results in the portal and refresh to check worker progress.

List or stop watches

curl 'https://comidoc.com/api/v1/watches' \
  -H 'Authorization: Bearer cmd_live_your_key'

curl -X DELETE 'https://comidoc.com/api/v1/watches/watch_example' \
  -H 'Authorization: Bearer cmd_live_your_key'

Deletion is free and remains available after quota or Pro expiry. It returns {"deleted":true,"meta":{…}}. Stop watches through REST; this feature does not create an MCP notification subscription. Categories, topics, and instructors are outside this first version.

Listing watches is paginated. Send GET /api/v1/watches?limit=100, then pass pagination.next_cursor as cursor until it is null. The response also includes pagination.total and pagination.limit. Page size follows your account’s maximum; each page costs one API credit. Avoid modifying watches while iterating pages.

Pagination and synchronization

Pass pagination.next_cursor unchanged in the next request’s cursor parameter. Do not decode or construct cursor values. For incremental replication, call /changes?since=…, follow the cursor until it is exhausted, and advance your watermark only after processing succeeds. Course changes with is_active: false or is_opted_out: true act as tombstones and should remove the course and its offers from replicas.

Errors and retries

REST errors use application/problem+json with code, title, detail, instance, and request_id. For transient rate limits and 503 responses, use bounded retries with exponential backoff and jitter, waiting at least the delay in Retry-After. Do not automatically retry 400, 401, 403, or 406 responses without correcting the request or identity.

On monthly_quota_exceeded, stop polling until RateLimit-Reset (Unix seconds), or upgrade your plan. A short retry loop cannot restore an exhausted monthly quota. Refused quota requests do not consume credits.

// One request per scheduled run; a quota refusal stops this run.
const response = await fetch("https://comidoc.com/api/v1/offers?limit=10", {
  headers: { Authorization: `Bearer ${process.env.COMIDOC_API_KEY}` },
});
const body = await response.json();
if (!response.ok) {
  if (response.status === 429) {
    const delay = response.headers.get("Retry-After");
    const reset = response.headers.get("RateLimit-Reset");
    // Persist this deadline in your scheduler before making another call.
    throw new Error(`${body.code}: retry after ${delay}s; reset at ${reset}`);
  }
  throw new Error(`${response.status}: ${body.code ?? "request_failed"}`);
}
console.log(body.data);

Each problem type URL opens its cause and resolution. Browse the complete error catalog.

MCP server reference

To connect an agent, see the Comidoc MCP server page: every client, with copy buttons. This section is the technical reference.

Configure an HTTP MCP server at https://mcp.comidoc.com. The catalog tools work without an account at an anonymous hourly quota. The REST API always requires a key: an agent without one uses MCP.

Connect a Comidoc account (OAuth)

No account is needed until a tool needs one. Called without credentials, submit_coupons, get_my_access answer HTTP 401 with a single WWW-Authenticate: Bearer resource_metadata="…" challenge and an RFC 9457 problem body. The client then opens the Comidoc sign-in (OAuth 2.1 with PKCE): the page names the agent, creates the account on first sign-in with Google or an email link, and asks the person to approve the access. Clients are recognized by their Client ID Metadata Document; dynamic registration remains available.

courses:readSearch the Udemy course catalog, ratings, prices and coupon history.
offers:readRead active coupons. With Premium, links that open each coupon on Udemy in your browser.
topics:readBrowse topics and how many courses each one has.
trends:readTrending courses and topics over 24 hours, 7 days or 30 days.
account:readWhether you have Premium, your plan and its renewal date. Never your email, payment details or history.
coupons:submitSend Udemy coupon links you ask it to submit to Comidoc's verification queue, in your name.
offline_accessRefresh access without asking you to reconnect for every agent session.

Access tokens last 30 minutes (15 with coupons:submit) and refresh for 30 days with offline_access. Protected resource metadata: https://mcp.comidoc.com/.well-known/oauth-protected-resource. Authorization server: https://comidoc.com/api/auth.

To open a coupon, the agent opens course_url in the person's browser signed in to Comidoc: with Premium it goes straight to Udemy with the coupon applied; without Premium it shows the course and the Premium offer. If a Cloudflare check asks for an interaction, the agent hands over to the person. Once the person is connected and has Premium, the access block says granted: true and nothing is recommended for purchase. Coupon codes are never returned to a Premium connection. get_my_access returns the person's Premium status, plan, renewal date, and the page where they manage it. Without Premium, the access block explains what it is worth and links to checkout; the person always pays themselves.

The server is not read-only: submit_coupons writes to Comidoc's verification queue in the person's name, with OAuth and coupons:submit. Scripts and servers can use a developer key in the Authorization: Bearer cmd_live_… header instead of OAuth; adding the key to catalog calls applies your account quota. Only the Pro plan, built for applications, returns coupon codes.

For custom HTTP clients, send Content-Type: application/json and Accept: application/json, text/event-stream on POST requests. A missing accepted format produces HTTP 406; correct the headers before retrying. Standard MCP SDK clients set these transport headers automatically.

Catalog tool calls consume the anonymous hourly quota (per connected account with OAuth) or the account monthly business quota with a key. submit_coupons, discovery, tools/list, prompts, notifications, and legacy 2025 initialization and ping use zero credits. The per-IP MCP transport rate limit applies to the whole server. Every tool result exposes the same request, plan, coupon-code, and quota metadata as REST so an agent can regulate its own request rate.

search_courses and find_offers accept the same categories, languages, levels, course types, durations, rating bands, coupon age, Udemy update cutoff, frequent-coupon mode, and identifiers as their REST counterparts. Useunique_course: true with find_offers to reproduce the website grid.

Course cards (MCP Apps)

In clients that display MCP Apps, such as claude.ai and ChatGPT, show_course_cards shows the courses the agent chose as cards: image, title, instructor, rating, duration, language, Udemy price and price with the coupon, coupons left, and coupon end date. Cards are the default, never forced: the data tools carry no UI, and the agent answers in text when the person asks for a list, a comparison, or a short answer, or when the client does not display apps. Each card opens course_url, the Comidoc course page with utm_campaign=agent_card; a card never carries a coupon code, a redirect token, or a Udemy coupon link. The widget loads images from Udemy's course image CDN only and makes no network request.

Page size

The list tools return up to this many results per page. The limit field of each tool states the caller's cap and the tiers; a larger value is reduced to the cap rather than rejected.

Anonymous (no credentials)10 results/page
Comidoc account connected with OAuth (free, Premium or not)25 results/page
Free API key25 results/page
API Pro key100 results/page

Every list result reports meta.requested_limit, meta.applied_limit and meta.max_page_size. When a page was capped, meta.limit_note says so and how to get the rest: fetch the next page with pagination.next_cursor (trend lists have no next page). API Pro is for apps, bots and sites; a learner pages with next_cursor.

search_coursesSearch the historical catalog with multiple filters
fetch_courseFetch a course and its active offers
find_offersSearch coupon offers and redemption capacity
get_filter_optionsDiscover current categories, languages, and canonical filter values
list_topicsDiscover available topics
fetch_topicFetch a topic
get_trending_coursesCourse trends over 24 hours, 7 days, or 30 days
get_trending_topicsTopic trends over 24 hours, 7 days, or 30 days
show_course_cardsShow the courses the agent chose as MCP Apps cards (image, prices, coupon state, link to the course page)
submit_couponsQueue Udemy coupons for verification in a batch (writes; OAuth with coupons:submit, or a key)
get_my_accessThe connected person's Premium status, plan, renewal date, and management page (OAuth, account:read)

Access block and honest advice

Active coupons are a Comidoc Premium benefit. Without a Pro key, every course or offer with an active coupon, and every course that is free on Udemy, carries an access block so the agent can tell the person what Premium is worth for them. Prices come from the response and from the Premium plan currently sold, never from this page. The agent opens course_url; it never receives a code or a redirect token.

requirespremium for an active coupon, none for a course that is free on Udemy
price / price_with_coupon / savingsUdemy price observed, price with the coupon, and the difference, in currency (USD)
premiumThe plan currently sold, read from the active settings: id, price, currency, period, renews, cancel_anytime, checkout_url, and alternatives when another plan is sold
topic_last_30_daysCourses of the searched topic (or the course's main topic) that became free with a coupon over the last 30 days, and their value at Udemy prices
recommendation / reasonworth_it, optional, or not_needed, with the reason: savings_cover_premium, topic_history, savings_below_premium, price_unknown, free_course, premium_unavailable, or premium_active when the connected person has Premium
granted / how_to_opengranted is true when the person connected with OAuth has Premium: nothing to buy. how_to_open tells the agent to open course_url in the person's browser signed in to comidoc.com, which goes straight to Udemy with the coupon applied. No coupon code is returned
  • When Premium comes up (the person asks, or a coupon they want requires it), answer from the access block: the savings cover its price, or it pays off for someone who wants several courses in a topic, as topic_last_30_days shows.
  • Say it is not needed when requires is none or granted is true; otherwise present it as optional, once, without pushing it.
  • Quote only the prices of the access block. If the person decides to subscribe, they pay by opening premium.checkout_url; an agent never pays or subscribes for them.
  • Never suggest the developer API plans to someone who wants to learn: they are for applications.
  • The find_free_courses prompt (argument topic) walks an agent through search, access blocks, and what each course costs and requires.

Set up in your client

Every client below can call 9 catalog tools and the find_free_courses prompt without an account, and connects a Comidoc account with OAuth when a tool needs it.

Claude

  1. Open: Customize → Connectors → + Add → Add custom connector

  2. Fill in the name and the URL

    Name: Comidoc
  3. URL: https://mcp.comidoc.com
  4. Under Authentication, choose when to sign in, then Add: Sign in now or Sign in when needed

    Sign in now if you have a Comidoc account or Premium. Sign in when needed if you only want to search: Claude opens the Comidoc sign-in when a tool needs your account.

  5. Ask Claude for free courses on a topic

    On Team and Enterprise plans, an owner adds the connector once for the organization, then each member connects.

Claude Desktop

  1. Open: Customize → Connectors → + Add → Add custom connector

  2. Fill in the name and the URL

    Name: Comidoc
  3. URL: https://mcp.comidoc.com
  4. Under Authentication, choose when to sign in, then Add: Sign in now or Sign in when needed

    Sign in now if you have a Comidoc account or Premium. Sign in when needed if you only want to search: Claude opens the Comidoc sign-in when a tool needs your account.

  5. Already added on claude.ai? Nothing to do

    Claude Desktop and claude.ai share the same connectors: add Comidoc once and it appears in both.

Claude Code

  1. Run this in your terminal

    claude mcp add --transport http --scope user comidoc https://mcp.comidoc.com

    --scope user adds Comidoc to every project on this computer. Searching works right away.

  2. To use your Premium, sign in from Claude Code: /mcp → comidoc → Authenticate

    Claude Code opens the Comidoc sign-in in your browser. It also offers it when a tool needs your account.

ChatGPT

  1. Turn on developer mode in ChatGPT's settings

    ChatGPT accepts custom MCP connectors in developer mode.

  2. Create a connector with this name and URL

    Name: Comidoc
  3. URL: https://mcp.comidoc.com
  4. Sign in to Comidoc when ChatGPT asks

    The sign-in creates your Comidoc account if you don't have one. ChatGPT shows the courses as cards.

Codex CLI

  1. Run this in your terminal

    codex mcp add comidoc --url https://mcp.comidoc.com

    The Codex app reads the same configuration: Comidoc shows up there too.

  2. To use your Premium, sign in

    codex mcp login comidoc

    Codex opens the Comidoc sign-in in your browser. Searching works without it.

Codex app

  1. Open: Settings → Plugins → MCPs → Add → Streamable HTTP

    Already added with the Codex CLI? It is listed there: skip to the last step.

  2. Fill in the name and the URL, then Save

    Name: comidoc
  3. URL: https://mcp.comidoc.com
  4. To use your Premium, select: Authenticate

    Codex opens the Comidoc sign-in in your browser. The app and the Codex CLI share ~/.codex/config.toml.

Cursor

  1. Install in one click Add to Cursor

    Cursor opens and asks you to confirm. Sign in to Comidoc when Cursor asks, or skip it to only search.

  2. Or add it to ~/.cursor/mcp.json

    {
      "mcpServers": {
        "comidoc": {
          "url": "https://mcp.comidoc.com"
        }
      }
    }

VS Code

  1. Run this in your terminal

    code --add-mcp '{"name":"comidoc","type":"http","url":"https://mcp.comidoc.com"}'

    VS Code opens the Comidoc sign-in when a tool needs your account.

Other clients

  1. Add a remote MCP server with this URL

    URL: https://mcp.comidoc.com

    Streamable HTTP. Sign-in is discovered from the URL (OAuth): no key, no client ID.

  2. Scripts and clients without sign-in: send an API key

    {
      "mcpServers": {
        "comidoc": {
          "url": "https://mcp.comidoc.com",
          "headers": {
            "Authorization": "Bearer cmd_live_your_key"
          }
        }
      }
    }

    Create the key on comidoc.com/developers. A key applies a developer plan; Premium comes with sign-in, not with a key.

With an API key

For scripts and servers. Custom connectors in claude.ai and Claude Desktop cannot send an API key header, which OAuth replaces. Claude Code:

claude mcp add --transport http --scope user comidoc https://mcp.comidoc.com --header "Authorization: Bearer cmd_live_your_key"

Codex, with the key in the COMIDOC_API_KEY environment variable:

codex mcp add comidoc --url https://mcp.comidoc.com --bearer-token-env-var COMIDOC_API_KEY

RapidAPI

The optional RapidAPI adapter serves catalog routes under /api/v1 when enabled. Coupon submission requires a key from a Comidoc account. The identity and plan supplied by the proxy are verified with a server-side shared secret. Only the explicit pro, ultra, and mega subscription labels unlock Pro; unknown labels fail closed to Free. Proxy headers must never be sent directly by a public client. RapidAPI and direct usage remain separately observable in the administration portal.

Versions and stability

Breaking changes receive a new URL version. Fields may be added to v1, so clients must ignore unknown fields. Trending scores expose score_version so algorithm changes remain detectable. The MCP server pins TypeScript SDK 2.4.0, implements the stable stateless 2026-07-28 protocol, and retains a stateless fallback for 2025 clients.