Documentation

MCP server

Use the Krastie MCP server to call the public API from Cursor, Claude Desktop, and other MCP clients.

MCP server

The Krastie MCP server exposes the public API as tools for MCP-compatible clients such as Cursor and Claude Desktop. Every tool call authenticates with your API key.

Prerequisites

  • A Krastie API key on Business, Growth, or Enterprise — create one under Integrations → Krastie API

See Authentication for plan requirements and the api-key header.

Cursor

Add a project or user config (.cursor/mcp.json or ~/.cursor/mcp.json):

{
  "mcpServers": {
    "krastie": {
      "url": "https://api.krastie.ai/v1/mcp",
      "headers": {
        "api-key": "krastie_YOUR_KEY"
      }
    }
  }
}

Reload MCP servers in Cursor settings, then ask the agent to use Krastie tools (for example, generate text or list brand voices).

Claude Desktop

Add the same mcpServers.krastie entry to Claude Desktop’s MCP config, with your api-key header.

Authentication

Send your full krastie_… key in the api-key header on every MCP request. OAuth is currently not supported for this MCP.

Store keys in your client’s secrets manager — never commit them.

Available tools

Tools map 1:1 to public API routes:

ToolAPI
generate_textGenerate text
generate_chatGenerate chat
generate_imageGenerate image
get_jobAsync jobs
list_brand_voicesList brand voices
get_brand_voiceGet a brand voice
create_brand_voice_from_websiteBrand voice from website
list_chat_sessionsList sessions
run_visibility_reportRun a visibility report
get_visibility_reportGet the latest report
get_visibility_historyGet visibility history
list_ai_traffic_sitesList sites
get_ai_traffic_statsGet stats
get_assistant_contextAssistant workspace context

Request and response shapes match the linked API reference. Rate limits and errors are the same as the REST API — see Errors & rate limits.

Example prompts

  • “Generate a two-sentence product intro with Krastie using gpt-4o.”
  • “List my brand voices.”
  • “Queue an AI visibility report for https://example.com.”
  • “Show AI traffic stats for the last 30 days.”