Quickstart GuidesStreamable HTTP Transport

Client Integration Quickstarts

Connect your favorite AI agent, coding assistant, or autonomous workflow to Krafto's 20 MCP tools in seconds.

1Generate Your MCP Access Token or API Key

Navigate to the MCP Dashboard or the Developer Dashboard to create an application and generate your personal access token. You can configure granular scopes (catalog:read, library:download, wallet:spend) based on your security preferences.

2Select Your Client Environment

Cursor AI Integration

~/.cursor/mcp.json

Add Krafto to your global Cursor MCP configuration file:

{
  "mcpServers": {
    "krafto": {
      "url": "https://api.trykrafto.xyz/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_KRAFTO_MCP_TOKEN"
      }
    }
  }
}
Restart Cursor to activate the 20 Krafto tools in Agent Mode.

Claude Desktop

claude_desktop_config.json

Add the Krafto MCP definition to Claude Desktop configuration:

{
  "mcpServers": {
    "krafto": {
      "command": "npx",
      "args": [
        "-y",
        "@krafto/mcp-server"
      ],
      "env": {
        "KRAFTO_TOKEN": "YOUR_KRAFTO_MCP_TOKEN",
        "KRAFTO_API_URL": "https://api.trykrafto.xyz"
      }
    }
  }
}

Google Antigravity IDE

mcp_config.json

Add Krafto as a remote streamable MCP server in Antigravity:

{
  "mcpServers": {
    "krafto": {
      "url": "https://api.trykrafto.xyz/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_KRAFTO_MCP_TOKEN"
      }
    }
  }
}

Programmatic (TypeScript & Python)

@modelcontextprotocol/sdk

Invoke Krafto tools directly inside your backend agentic pipelines:

import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";

const transport = new StreamableHTTPClientTransport(
  new URL("https://api.trykrafto.xyz/mcp"),
  {
    headers: {
      Authorization: `Bearer ${process.env.KRAFTO_MCP_TOKEN}`,
    },
  }
);

const client = new Client({ name: "my-ai-app", version: "1.0.0" }, { capabilities: {} });
await client.connect(transport);

// Call search_assets tool
const result = await client.callTool({
  name: "search_assets",
  arguments: {
    query: "modern landing page template",
    category: "templates",
    limit: 5
  }
});
console.log(result);

3Verify Tool Execution

Ask your connected assistant in natural language:

“Use Krafto MCP to search for modern cyberpunk font families, check their licensing tiers, and inspect their AI manifest.”