# Paperloo Compliance Infrastructure & Autonomous Agent Hub > Automated website compliance infrastructure, GDPR/CCPA auditing, WCAG 2.1 accessibility checks, EU AI Act transparency scans, Google Consent Mode v2, Google Tag Manager (GTM) sync, and statutory document synthesis for digital agencies and autonomous AI agents. ## When to Use This - When your AI agent needs to register and manage websites (`add_site`, `delete_site`, `list_sites`, `get_site`). - When you need multi-vector compliance, WCAG accessibility, EU AI Act transparency, or live cookie/tracker scans (`audit_site`, `audit_accessibility`, `audit_ai_transparency`, `scan_cookies`, `verify_compliance`). - When you need to generate, update, or export legally tailored Privacy Policies, Terms of Service, Cookie Policies, EULAs, and DPAs (`get_questionnaire_schema`, `generate_documents`, `generate_docs_questionnaire`, `generate_dpa`, `export_documents`). - When you need to deploy and configure Google Consent Mode v2 cookie banners with unconsented tracker auto-blocking (`configure_cookie_banner`, `get_cookie_banner_script`, `get_consent_banner_code`). - When you need to integrate Google Tag Manager with consent triggers and dataLayer updates (`configure_gtm_integration`, `get_gtm_container_setup`). ## Model Context Protocol (MCP) Server - **Transport:** Streamable HTTP (`2025-12-11` protocol with `structuredContent` + `outputSchema`) - **URL:** `https://paperloo.vercel.app/api/mcp` - **Server Manifest:** `https://paperloo.vercel.app/server.json` and `/.well-known/mcp` - **Supported Capabilities:** `tools`, `resources`, `prompts` ### 19 Available MCP Tools: 1. `add_site(name, url, platform, jurisdictions, agency_name)`: Provision and register a website for compliance monitoring. 2. `delete_site(siteId)`: Remove a site and clean up audit history, banners, and documents. 3. `list_sites(filter, limit, offset)`: List monitored sites with compliance grades (A+ to F) and pagination. 4. `get_site(siteId)`: Retrieve complete configuration, documents, banner settings, GTM config, and script snippets. 5. `audit_site(url, deep_scan)`: Multi-vector live compliance audit (GCM v2, SSL, security headers, legal links, trackers, accessibility, AI transparency). 6. `audit_accessibility(url, standard)`: Evaluate live HTML DOM against WCAG 2.1 AA, WCAG 2.1 AAA, or Section 508. 7. `audit_ai_transparency(url)`: Inspect live HTML and robots.txt for EU AI Act transparency and AI crawler directives. 8. `scan_cookies(url)`: Inventory live response cookies and third-party trackers by category (`Necessary`, `Analytics`, `Marketing`, `Preferences`). 9. `configure_cookie_banner(...)`: Configure banner theme, position, accent color, auto-blocking, and GCM v2 sync. 10. `get_cookie_banner_script(siteId, framework)`: Generate ready-to-paste embed script (`/api/paperloo.js`) for HTML, React, Next.js, WordPress, Webflow, or Shopify. 11. `get_consent_banner_code(siteId, framework, gtm_mode)`: Generate Google Consent Mode v2 (Basic or Advanced) code bundle and `gtag('consent', 'update')` listener. 12. `configure_gtm_integration(...)`: Link Google Tag Manager container ID (`GTM-*`) with Consent Mode v2 default states. 13. `get_gtm_container_setup(siteId, gtm_container_id)`: Return GTM `` and `` snippets and trigger recipes. 14. `get_questionnaire_schema(document_type)`: Return standardized questionnaire schema for automated legal intake. 15. `generate_documents(...)`: Synthesize statutory legal documents and optionally persist them to a registered site (`siteId`). 16. `generate_docs_questionnaire(...)`: End-to-end questionnaire synthesis producing document suite, metadata, and word counts. 17. `generate_dpa(controller_name, processor_name, governing_law, sub_processors)`: Generate GDPR Article 28 Data Processing Addendum contract. 18. `export_documents(siteId, format, document_types)`: Export generated documents as `markdown`, `html`, or structured `json`. 19. `verify_compliance(siteId)`: Compute live compliance verification status, cryptographic certificate, and SVG badge (`/api/badge.svg`). ## Core REST API Endpoints All endpoints support OAuth2 Bearer tokens or public sandbox execution: - `GET /api/health` - Server health status - `GET /api/v1/compliance/sites` - List monitored sites - `POST /api/v1/compliance/sites` - Register a new site - `GET /api/v1/compliance/sites/:id` - Get site profile and configuration - `DELETE /api/v1/compliance/sites/:id` - Delete a site - `POST /api/v1/compliance/audit` - Multi-vector compliance audit - `GET /api/v1/compliance/questionnaire/schema` - Legal questionnaire structure - `POST /api/v1/compliance/generate-docs` - Generate legal documents from questionnaire - `POST /api/v1/compliance/banner/configure` - Configure cookie banner - `GET /api/v1/compliance/banner/script` - Get cookie banner embed script - `POST /api/v1/compliance/gtm/configure` - Configure Google Tag Manager - `GET /api/v1/compliance/gtm/setup` - Get GTM container code and trigger guide - `POST /api/v1/compliance/cookies/scan` - Scan domain cookies - `POST /api/v1/compliance/dpa/generate` - Generate GDPR Data Processing Addendum - `GET /api/v1/compliance/verify/:id` - Verify compliance status and get certificate - `GET /api/paperloo.js` - Live Edge Consent Banner script - `GET /api/badge.svg` - Live SVG compliance badge ## Documentation & Machine-Readable Specs - Web UI: https://paperloo.vercel.app - Documentation: https://paperloo.vercel.app/docs - OpenAPI 3.1 Spec: https://paperloo.vercel.app/openapi.json - MCP Manifest: https://paperloo.vercel.app/server.json - LLM Guidelines: https://paperloo.vercel.app/llms.txt