Skip to main content
Glama
Kraviona MCP Server

Kraviona MCP Server

Kraviona MCP Server

MCP server for the Kraviona platform API. It supports local stdio and authenticated Streamable HTTP for production. It exposes tools for posts, categories, services, client enquiries, website settings, crawler files, AI drafts, and the keyword queue.

Configure

Set these variables in your MCP host configuration:

KRAVIONA_API_URL=http://localhost:4000
KRAVIONA_ADMIN_EMAIL=your-admin@example.com
KRAVIONA_ADMIN_PASSWORD=your-admin-password

Never commit real credentials. The server signs in through the normal Kraviona API and keeps its HTTP-only session cookies in memory only.

Related MCP server: TanukiMCP

MCP host configuration

{
  "mcpServers": {
    "kraviona": {
      "command": "node",
      "args": ["/absolute/path/to/kravionasite/mcp-server/src/index.js"],
      "env": {
        "KRAVIONA_API_URL": "http://localhost:4000",
        "KRAVIONA_ADMIN_EMAIL": "your-admin@example.com",
        "KRAVIONA_ADMIN_PASSWORD": "your-password"
      }
    }
  }
}

Run npm test -w mcp-server while the backend is running to verify tool discovery and API connectivity.

Production API setup

Keep production credentials in the ignored mcp-server/.env.production file, then start the stdio server with Node's environment-file support:

node --env-file=/absolute/path/to/mcp-server/.env.production /absolute/path/to/mcp-server/src/index.js

For Codex, configure this command under [mcp_servers.kraviona_production] in ~/.codex/config.toml. The MCP process runs locally while all CMS operations use https://api.kraviona.site. Restart Codex after changing MCP configuration.

Render production web service

Create a separate Render Web Service from the monorepo using these values:

Name: kraviona-site-mcp
Language: Node
Branch: main
Root Directory: mcp-server
Build Command: npm install
Start Command: npm run start:http
Health Check Path: /health

Set these Render environment variables:

NODE_VERSION=22
KRAVIONA_API_URL=https://api.kraviona.site
KRAVIONA_ADMIN_EMAIL=<production admin email>
KRAVIONA_ADMIN_PASSWORD=<production admin password>
MCP_BEARER_TOKEN=<a unique random secret of at least 24 characters>
MCP_PUBLIC_URL=https://YOUR-RENDER-SERVICE.onrender.com

Generate the bearer token locally with openssl rand -hex 32. Do not use the admin password as the bearer token. After deployment, verify the public health URL at https://YOUR-RENDER-SERVICE.onrender.com/health. The MCP endpoint is https://YOUR-RENDER-SERVICE.onrender.com/mcp and requires Authorization: Bearer <MCP_BEARER_TOKEN>.

Remote Codex configuration:

[mcp_servers.kraviona_remote]
url = "https://YOUR-RENDER-SERVICE.onrender.com/mcp"
bearer_token_env_var = "KRAVIONA_MCP_TOKEN"
startup_timeout_sec = 30
tool_timeout_sec = 60

Export KRAVIONA_MCP_TOKEN in the environment that starts Codex, then restart Codex. Test the production HTTP transport before deployment with:

npm run test:http -w mcp-server

Claude custom connector

Use the full Streamable HTTP URL when adding the connector:

https://YOUR-RENDER-SERVICE.onrender.com/mcp

The server advertises OAuth protected-resource and authorization-server metadata, supports Claude Dynamic Client Registration, and enforces PKCE. Clicking Connect opens the Kraviona consent screen. Enter the same value stored in MCP_BEARER_TOKEN; Claude receives a revocable OAuth access token and never receives the backend admin password.

mcp-kraviona

mcp-kraviona

mcp-kraviona

Available Tools

11 tools
add_keywordAdd keyword to automation queueB

Add a keyword and target category to the automatic generation queue.

Inputs: keyword (required), targetCategory (required), priority.

delete_categoryDelete empty categoryA
DestructiveIdempotent

Delete a category only when it contains no posts.

Inputs: id (required), confirm (required).

delete_serviceDelete unused serviceA
DestructiveIdempotent

Permanently delete a service only if it has no associated client enquiries.

Inputs: id (required), confirm (required).

generate_ai_draftGenerate AI draftC

Ask the configured Anthropic model to create a complete SEO draft for human review.

Inputs: topic (required), category (required).

list_inquiriesList client enquiriesC
Read-only

Read project briefs submitted from the public services contact form.

Inputs: status.

list_keyword_queueList automation queueA
Read-only

List pending and used keywords for automated content generation.

Inputs: no named parameters.

list_postsList Kraviona postsC
Read-only

List editorial posts, optionally filtered by status or search query.

Inputs: limit, search, status.

save_categoryCreate or update categoryC

Create or update a category used by frontend navigation and landing pages.

Inputs: name (required), id, seo, slug, +1 more.

save_serviceCreate or update serviceC

Manage a service, its deliverables, official kraviona.com URL, publishing status and homepage feature flag.

Inputs: title (required), summary (required), id, seo, +7 more.

update_crawler_settingsUpdate crawler and AI discovery settingsC
Idempotent

Control dynamic robots.txt, sitemap.xml, llms.txt and ai.txt generation.

Inputs: llmsEnabled, aiTxtEnabled, disallowPaths, robotsEnabled, +16 more.

update_site_settingsUpdate website settingsB
Idempotent

Update global content, official company link, contact details and SEO displayed dynamically on the public frontend.

Inputs: tagline, brandName, heroTitle, defaultSeo, +11 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 11 tools

    Disambiguation5/5

    Each tool targets a clearly distinct resource or action: categories, services, posts, inquiries, site settings, crawler settings, AI drafts, and keywords. The two settings tools are separated by their descriptions (global frontend content vs. robots/sitemap generation), so an agent should not confuse them.

    Naming Consistency4/5

    The naming mostly follows a clear verb_noun pattern: save_category, delete_service, list_posts, update_site_settings. Minor deviations include generate_ai_draft and add_keyword instead of a save/create verb, but the overall style is consistent and predictable.

    Tool Count5/5

    With 11 tools, the server is well-scoped for a content management and SEO workflow. Each tool addresses a distinct functional area without unnecessary duplication or bloat.

    Completeness2/5

    There are significant gaps in the workflow: categories and services can be saved/deleted but not listed, posts can only be listed with no create/update/delete tool, settings can only be updated and not read, and inquiries are read-only. Most notably, generate_ai_draft produces a draft but there is no tool to save or publish it as a post, leaving an obvious dead end.

    Related MCP Connectors

    Related MCP Servers