IN DEVELOPMENT

Work without leaving your AI tool.

The Kertiva MCP server is a thin stdio wrapper over the app’s /api/v1 JSON API. Permissions are exactly those of your account: a customer sees only their own jobs, a developer only those assigned to them.

Optional. You can do the same work on the web. Publishing, consent, payment and refund decisions are made on the web only.

Build the server (once)
cd mcp npm ci npm run build
TOOLS

14 tools on the server

Each tool returns a short text and a structured JSON result; write operations go through the same rules as the web form.

ToolWhat it doesRole
whoamiReturns your account, role, token metadata, and legal consent statusall
list_jobsLists your jobsall
get_jobReturns status, brief, proposal, and delivery for a single joball
read_messagesReads messages on a joball
send_messagePosts a message to a job threadclient, assigned builder
submit_deliverySubmits an HTTPS delivery link and verification note (after payment confirmation)assigned builder only
submit_briefOpens a new brief, with optional organizationIdclient with requester role in org
request_discoveryOpens a pilot project with a paid discovery request, optional organizationIdclient with requester role in org
list_projectsLists your pilot projects with phases, statuses, and role-scoped proposal infoclient, builder (assigned phases only)
get_projectReturns phases, role-scoped proposal details, and next step for one projectclient, builder
list_packagesLists published engagement modelsall
get_growth_metricsReads daily conversion totals by channel and solution versionbuilder · growth:read
get_case_draftReads a synthetic case-study draft and client consent statusbuilder · case-drafts:read
update_case_draftSaves a new revision to a synthetic case-study draftbuilder · case-drafts:write

For the conversion and case-draft tools (growth:read, case-drafts:read, case-drafts:write) you must select the extra permissions when you create a new access key; existing keys do not have them.

STEP 1

Create an access key

  • Sign in to your account and open /api-anahtarlari (the access-keys page).
  • Name the key, choose its validity period and create it.
  • The key, which starts with kpr_…, is shown only once. The server stores only its digest; if you lose it, revoke it and create a new one.
STEP 2

Environment variables (Node.js 22+)

  • KERTIVA_API_URL: the app’s address. https is required in production; only http://127.0.0.1 or localhost is accepted for local development.
  • KERTIVA_TOKEN: the kpr_… key you created. Never put the key in a repository, a chat or a screenshot.
STEP 3

Add it to your tool

Requires Node.js 22 or later. In the commands below, replace kpr_...with the token from your account.

Claude Code

Registers the stdio MCP server in local scope.

CLI
claude mcp add --transport stdio --env KERTIVA_API_URL=https://app.kertiva.app --env KERTIVA_TOKEN=kpr_... kertiva -- npx -y @kertiva/mcp

Verify with claude mcp get kertiva or claude mcp list, or /mcp inside a session. Avoid --scope project so tokens never enter .mcp.json.

Cursor

Add to ~/.cursor/mcp.json for global user setup.

mcp.json
{
  "mcpServers": {
    "kertiva": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@kertiva/mcp"],
      "env": {
        "KERTIVA_API_URL": "https://app.kertiva.app",
        "KERTIVA_TOKEN": "kpr_..."
      }
    }
  }
}

Do not store plaintext keys in repo-level .cursor/mcp.json; reference ${env:KERTIVA_TOKEN} or keep configuration in your user-level file.

Codex

Add via CLI or write directly into ~/.codex/config.toml.

CLI / TOML
codex mcp add kertiva --env KERTIVA_API_URL=https://app.kertiva.app --env KERTIVA_TOKEN=kpr_... -- npx -y @kertiva/mcp
~/.codex/config.toml
[mcp_servers.kertiva]
command = "npx"
args = ["-y", "@kertiva/mcp"]

[mcp_servers.kertiva.env]
KERTIVA_API_URL = "https://app.kertiva.app"
KERTIVA_TOKEN = "kpr_..."

Verify with codex mcp list or /mcp in the TUI. You can also use env_vars = ["KERTIVA_TOKEN"] instead of plaintext in the config file.

STEP 4

First try

Tell your tool: “Who am I on Kertiva? Call the whoami tool.” If your role and key name appear, the connection works. Then try “List my jobs” or “Write a message to this job …”.

SECURITY NOTES

Controlled permissions

  • Tokens are sent only in the Authorization: Bearer header; HTTP redirects are never followed.
  • Every call is bounded by your account role, capped at 10 active tokens and 60 requests per minute.
  • Messaging and delivery submissions are irreversible actions; keep confirmation prompts enabled in your AI client.
  • Write tools accept a submissionKey to prevent duplicate records; reuse the same key on retries.
  • Conversion and case-draft scopes (growth:read, case-drafts:read, case-drafts:write) must be explicitly opted into when creating a token and expire after 30 days.
For companiesInvited login

Measure page views, referring domains, UTM campaign tags, action button clicks and scroll depth.

Measure which ads bring visits using click identifiers from the page link.