Model Context Protocol (MCP) Integration
The Model Context Protocol (MCP) is an open standard created by Anthropic that allows Large Language Models (LLMs), AI IDEs (such as Cursor, Windsurf), and autonomous coding agents to securely access external tools, databases, and operational APIs.
HashEntry provides official Streamable-HTTP MCP servers allowing developers and privacy officers to automate cookie consent scans, configure consent banners, draft privacy policies, and inspect compliance stats directly using natural language within their AI workflows.
Architecture & Access Levels
Section titled “Architecture & Access Levels”HashEntry exposes three dedicated MCP server endpoints tailored to different security and permission tiers:
| Endpoint | Access Level | Authentication | Capabilities |
|---|---|---|---|
https://system.hashentry.com/mcp/public | Public | None (Anonymous) | Run website CMP scans, check cookie library, view plans and knowledge base. |
https://system.hashentry.com/mcp/tenant | Tenant | Bearer Token (he_mcp_...) | Manage sites, trigger cookie audits, update banner design, edit and publish legal documents, view consent metrics. |
https://system.hashentry.com/mcp/reseller | Reseller | Bearer Token (he_mcp_...) | Manage multi-tenant client portfolios, commissions, balance, and reseller support tickets. |
Authentication & Personal Access Tokens
Section titled “Authentication & Personal Access Tokens”For Tenant and Reseller servers, requests must include a Personal Access Token (he_mcp_...).
Generating Tokens via HashEntry Dashboard
Section titled “Generating Tokens via HashEntry Dashboard”- Log into your HashEntry App Dashboard.
- Navigate to Settings → AI & MCP Tokens.
- Click Create New MCP Token, provide a descriptive name and expiration period.
- Copy the generated
he_mcp_...key and store it securely.
AI Client Configuration
Section titled “AI Client Configuration”1. Cursor IDE Setup
Section titled “1. Cursor IDE Setup”Add the HashEntry MCP configuration to your workspace or global settings.
Create or update .cursor/mcp.json in your project root:
{ "mcpServers": { "hashentry-public": { "url": "https://system.hashentry.com/mcp/public" }, "hashentry-tenant": { "url": "https://system.hashentry.com/mcp/tenant", "headers": { "Authorization": "Bearer he_mcp_YOUR_TOKEN_HERE" } } }}2. Claude Desktop Setup
Section titled “2. Claude Desktop Setup”Open claude_desktop_config.json:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add the server definition:
{ "mcpServers": { "hashentry": { "url": "https://system.hashentry.com/mcp/tenant", "headers": { "Authorization": "Bearer he_mcp_YOUR_TOKEN_HERE" } } }}Available MCP Tools Reference
Section titled “Available MCP Tools Reference”1. Public Tools (/mcp/public)
Section titled “1. Public Tools (/mcp/public)”Available without an account:
start_cmp_scan: Initiates a comprehensive cookie and privacy compliance scan on any web URL.get_cmp_scan_status: Checks the real-time background status of an ongoing audit.get_cmp_scan_report: Retrieves the final categorized cookie audit report, tracking scripts, and compliance score.search_cookie_definitions: Queries the HashEntry global database for cookie classification, provider information, and default lifespan.get_pricing_plans: Retrieves active HashEntry subscription packages and quota limits.search_knowledge_base: Retrieves official implementation guides, legal compliance FAQs, and developer instructions.
2. Tenant Management Tools (/mcp/tenant)
Section titled “2. Tenant Management Tools (/mcp/tenant)”Requires a valid tenant token:
list_sites: Lists all websites registered under your tenant account.get_site: Fetches specific site metadata, API keys, platform type, and domain settings.create_site: Creates and configures a new website container on HashEntry.trigger_site_cookie_scan: Initiates an automated cookie discovery audit on a registered site.list_site_cookies: Lists all detected or customized cookies and their active consent category assignments.get_banner_config: Retrieves active layout, color palette, position, and legal regulation settings for a site banner.update_banner_config: Updates banner appearance, consent modes, and behavioral properties.list_documents: Lists legal documents (Cookie Policy, Privacy Notice, Terms).get_document: Retrieves the full markdown or HTML content of a specific legal policy.save_document_draft: Saves new AI-generated clauses or legal policy revisions as a draft.publish_document: Publishes and versions an approved legal policy document.get_consent_stats: Returns aggregated consent acceptance, rejection, and category distribution percentages.list_tickets&create_ticket: Submits inquiries or technical support tickets to HashEntry support.get_quota_usage: Displays active quota consumption (scans, site limits, API requests).
3. Reseller Operations Tools (/mcp/reseller)
Section titled “3. Reseller Operations Tools (/mcp/reseller)”Requires reseller authorization:
get_reseller_dashboard: Returns total client count, commission balance, and payout statuses.list_reseller_tenants: Lists all client organizations operating under your agency umbrella.create_reseller_tenant: Provisions a new client tenant organization.list_commissions: Retrieves detailed commission settlement history.list_reseller_tickets&create_reseller_ticket: Manages priority reseller partner support channels.
Example Natural Language Prompts
Section titled “Example Natural Language Prompts”Once configured in Cursor or Claude Desktop, you can interact with HashEntry using everyday language:
“Analyze https://example.com for GDPR compliance and list all untracked third-party marketing cookies.”
“List all my registered websites on HashEntry and tell me their active consent acceptance rates.”
“Review our Cookie Policy document draft, add a section explaining Google Consent Mode v2, and save it as a new draft.”
“Update our banner design to use dark mode with modern rounded corners and floating position.”