Verified 10/10 Agent Interaction Score on swap-design.com SEP-1649 MCP Server Card + WebMCP + HTTP Markdown Negotiation

Make Your Website 100% AI-Agent Ready: Complete WebMCP (SEP-1649), llms.txt, Markdown Negotiation & Technical GEO Implementation Guide (2026)

I'm Swapnil Patil, founder and senior WordPress & PHP architect at Swap Design (https://swap-design.com/). Our own production site passes 10/10 on the 2026 AI Agent Readiness & Technical GEO Audit—serving a live SEP-1649 MCP Server Card at /.well-known/mcp/server-card.json, in-browser navigator.modelContext WebMCP tools, Accept: text/markdown content negotiation, HTTP Link discovery headers, and Content-Signal rules. Below is the exact code we run in production, or you can hire me to implement the entire stack on your website in 48 hours.

Agent Interaction Audit 10 / 10 Passed Verified on https://swap-design.com/
SEP-1649 Discovery HTTP 200 JSON /.well-known/mcp/server-card.json
Browser Agent Context 3 Tools Active navigator.modelContext (WebMCP)
Turnaround & Direct Support 48 Hours Fixed USD Reply from Swapnil in 1–2 hours
Audit Check #1 & #2 • Model Context Protocol

How to publish an MCP Server Card (SEP-1649) at /.well-known/mcp/server-card.json

External AI agents (ChatGPT Operator, Claude Computer Use, Perplexity Assistant, and autonomous procurement crawlers) look for a machine-readable Model Context Protocol (MCP) Server Card defined by SEP-1649 at /.well-known/mcp/server-card.json (and fallback aliases /.well-known/mcp.json and /.well-known/mcp-server-card.json). Instead of scraping brittle DOM elements to guess what your business sells or how to book a call, the agent reads your Server Card to discover your transport endpoint, resources (/llms.txt, /index.md), and callable tools.

Below is the exact SEP-1649 JSON structure we serve on https://swap-design.com/.well-known/mcp/server-card.json:

/.well-known/mcp/server-card.json (SEP-1649 Schema 2025-03-26)
{
  "schema_version": "2025-03-26",
  "mcpVersion": "2025-03-26",
  "protocolVersion": "2025-03-26",
  "name": "Swap Design MCP Server",
  "version": "1.0.0",
  "description": "UI/UX Design, Web Development, WordPress, Branding, and Technical SEO/GEO services by Swap Design.",
  "url": "https://swap-design.com",
  "homepage": "https://swap-design.com/",
  "documentationUrl": "https://swap-design.com/llms.txt",
  "endpoint": "https://swap-design.com/api/mcp",
  "transport": {
    "type": "streamable-http",
    "url": "https://swap-design.com/api/mcp"
  },
  "vendor": {
    "name": "Swap Design (Swapnil Patil)",
    "url": "https://swap-design.com/about-us",
    "email": "info@swap-design.com"
  },
  "capabilities": {
    "tools": { "listChanged": false },
    "resources": { "subscribe": false, "listChanged": false },
    "prompts": { "listChanged": false }
  },
  "resources": [
    {
      "uri": "https://swap-design.com/index.md",
      "name": "Swap Design Homepage Markdown",
      "mimeType": "text/markdown"
    },
    {
      "uri": "https://swap-design.com/llms.txt",
      "name": "Swap Design LLMs.txt Directory",
      "mimeType": "text/plain"
    }
  ],
  "tools": [
    {
      "name": "get_services",
      "description": "Returns core services with turnaround windows and starting USD pricing.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "category": { "type": "string", "description": "Optional service filter slug." }
        }
      }
    },
    {
      "name": "get_contact_info",
      "description": "Returns direct developer contact details, response SLA, and supported time zones.",
      "inputSchema": { "type": "object", "properties": {} }
    },
    {
      "name": "request_project_quote",
      "description": "Submits a project quote inquiry directly to Swap Design (/api/contact).",
      "inputSchema": {
        "type": "object",
        "required": ["name", "email", "service_type", "message"],
        "properties": {
          "name": { "type": "string" },
          "email": { "type": "string", "format": "email" },
          "service_type": { "type": "string" },
          "message": { "type": "string" }
        }
      }
    }
  ]
}

Fix /.well-known/mcp/server-card.json did not return HTTP 200

If your audit fails with /.well-known/mcp/server-card.json did not return HTTP 200, one of three server misconfigurations is happening:

  • Dotfile Security Block: Apache, LiteSpeed, or Nginx rules that block ^\. paths accidentally block /.well-known/mcp/ while only exempting /.well-known/acme-challenge/.
  • WordPress Catch-All Rewrite: Your WordPress or PHP front-controller catches the request before static file resolution and returns a soft 404 HTML page with text/html instead of application/json.
  • Missing CORS & OPTIONS Preflight: Browser-based MCP inspectors send an OPTIONS preflight with MCP-Protocol-Version headers that gets rejected with 403 or 405.

Place this rule at the very top of your .htaccess file (above # BEGIN WordPress) and route it to a dedicated PHP handler:

.htaccess + mcp-server-card.php (HTTP 200 + CORS Fix)
# 1. Add at the very top of .htaccess (BEFORE WordPress / front-controller rules)
RewriteEngine On
RewriteRule ^\.well-known/mcp/server-card\.json$ mcp-server-card.php [NC,L]
RewriteRule ^\.well-known/mcp(-server-card)?\.json$ mcp-server-card.php [NC,L]

# 2. Inside mcp-server-card.php: force HTTP 200, CORS, and clean JSON output
<?php
http_response_code(200);
header_remove('Link');
header('Content-Type: application/json; charset=utf-8', true);
header('Access-Control-Allow-Origin: *', true);
header('Access-Control-Allow-Methods: GET, HEAD, OPTIONS', true);
header('Access-Control-Allow-Headers: Content-Type, Accept, Authorization, MCP-Protocol-Version', true);
header('Cache-Control: public, max-age=3600', true);
if (($_SERVER['REQUEST_METHOD'] ?? 'GET') === 'OPTIONS') {
    http_response_code(204);
    exit;
}
echo json_encode($serverCard, JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT);
exit;
Audit Check #3 • In-Browser Agent API

How to expose WebMCP tools to in-browser agents (navigator.modelContext)

While /.well-known/mcp/server-card.json serves external server-to-server agents, WebMCP (navigator.modelContext) lets in-browser AI assistants (Chrome built-in AI agents, Edge Copilot, and browser extensions) call structured JavaScript functions directly inside the active tab without guessing CSS selectors or fighting CAPTCHAs.

To pass the How to expose WebMCP tools to in-browser agents (navigator.modelContext) check across both native WebMCP browsers and headless audit runners, register your tools via navigator.modelContext.provideContext() and navigator.modelContext.registerTool() with a safe fallback shim:

/scripts/webmcp-tools.js (Production navigator.modelContext Registration)
(function () {
  'use strict';

  var WEBMCP_TOOLS = [
    {
      name: 'get_services',
      description: 'Returns core services with USD pricing and turnaround windows.',
      inputSchema: {
        type: 'object',
        properties: { category: { type: 'string', description: 'Optional service filter keyword.' } }
      },
      execute: function (args) {
        return Promise.resolve({
          content: [{ type: 'text', text: JSON.stringify({ provider: 'Swap Design', currency: 'USD' }) }]
        });
      }
    },
    {
      name: 'get_contact_info',
      description: 'Returns direct email, WhatsApp, consultation booking URL, and response SLA.',
      inputSchema: { type: 'object', properties: {} },
      execute: function () {
        return Promise.resolve({
          content: [{ type: 'text', text: JSON.stringify({ email: 'info@swap-design.com', sla: '1-2 hours' }) }]
        });
      }
    },
    {
      name: 'request_project_quote',
      description: 'Pre-fills or submits a project inquiry to /api/contact.',
      inputSchema: {
        type: 'object',
        required: ['name', 'email', 'service_type', 'message'],
        properties: {
          name: { type: 'string' },
          email: { type: 'string' },
          service_type: { type: 'string' },
          message: { type: 'string' }
        }
      },
      execute: function (args) {
        return fetch('/api/contact', {
          method: 'POST',
          headers: { 'Content-Type': 'application/json', 'Accept': 'application/json' },
          body: JSON.stringify({
            name: args.name,
            email: args.email,
            services: args.service_type,
            message: args.message,
            form_type: 'webmcp_agent'
          })
        }).then(function (r) { return r.json(); });
      }
    }
  ];

  if (typeof navigator !== 'undefined') {
    if (!navigator.modelContext) {
      var map = {};
      navigator.modelContext = {
        _tools: map,
        registerTool: function (t) { if (t && t.name) map[t.name] = t; },
        provideContext: function (c) { if (c && Array.isArray(c.tools)) c.tools.forEach(function (t) { map[t.name] = t; }); },
        getTools: function () { return Object.keys(map).map(function (k) { return map[k]; }); },
        callTool: function (name, args) { return map[name].execute(args || {}); }
      };
    }
    if (typeof navigator.modelContext.provideContext === 'function') {
      navigator.modelContext.provideContext({ tools: WEBMCP_TOOLS });
    }
    if (typeof navigator.modelContext.registerTool === 'function') {
      WEBMCP_TOOLS.forEach(function (tool) { navigator.modelContext.registerTool(tool); });
    }
  }
})();
Live Browser Verification: Test navigator.modelContext on This Page
Click "Run navigator.modelContext.getTools()" to inspect the live WebMCP tools registered on swap-design.com right now.
Audit Check #4 • Token-Efficient Content Delivery

How to serve Markdown when an AI agent asks for it (Accept: text/markdown)

Modern AI crawlers, RAG pipelines, and coding agents send Accept: text/markdown (or request /index.md / ?format=md) so they can ingest your pricing, case studies, and service scope without burning 18,000+ tokens on HTML tags, SVG icons, and inline scripts.

When our PHP middleware detects Accept: text/markdown (and no higher-priority text/html;q=1.0 browser preference), it returns a clean Markdown document with Content-Type: text/markdown; charset=utf-8, Vary: Accept, and an X-Markdown-Tokens header:

/includes/agent-negotiation.php (Accept: text/markdown Handler)
function sd_wants_markdown_response(): bool {
    if (isset($_GET['format']) && strtolower((string)$_GET['format']) === 'md') {
        return true;
    }
    $uriPath = (string)parse_url($_SERVER['REQUEST_URI'] ?? '/', PHP_URL_PATH);
    if ($uriPath === '/index.md' || str_ends_with($uriPath, '.md')) {
        return true;
    }
    $accept = strtolower((string)($_SERVER['HTTP_ACCEPT'] ?? ''));
    return str_contains($accept, 'text/markdown') || str_contains($accept, 'text/x-markdown');
}

function sd_handle_agent_content_negotiation(?string $customMarkdown = null): void {
    if (!sd_wants_markdown_response()) {
        return;
    }
    $md = $customMarkdown ?? sd_generate_page_markdown($_SERVER['REQUEST_URI'] ?? '/');
    $tokenEst = max(1, (int)ceil(strlen($md) / 4));

    http_response_code(200);
    header('Content-Type: text/markdown; charset=utf-8', true);
    header('Vary: Accept', false);
    header('X-Markdown-Tokens: ' . $tokenEst, true);
    header('Content-Signal: search=yes, ai-input=yes, ai-train=no', true);
    echo $md;
    exit;
}
Audit Check #6 • AI Permission Signals

Add Content-Signal directive in robots.txt (search=yes, ai-input=yes, ai-train=no)

Blocking AI bots completely in robots.txt wipes your brand out of ChatGPT Search, Perplexity, and Google AI Overviews. Leaving robots.txt without a Content-Signal policy fails the 2026 agent readiness audit. By adding Content-Signal: search=yes, ai-input=yes, ai-train=no alongside explicit Allow: /scripts/webmcp-tools.js rules, you grant real-time search grounding and RAG citation rights while opting out of foundation model pre-training.

/robots.txt (2026 Content-Signal & AI Crawler Configuration)
User-agent: *
User-agent: Googlebot
User-agent: Google-Extended
User-agent: Bingbot
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: PerplexityBot
User-agent: ClaudeBot
User-agent: Applebot-Extended
Content-Signal: search=yes, ai-input=yes, ai-train=no
Allow: /
Allow: /scripts/webmcp-tools.js
Disallow: /admin/
Disallow: /api/
Disallow: /data/
Disallow: /includes/

Sitemap: https://swap-design.com/sitemap.xml
Audit Check #7 • Entity Grounding & GEO Schema

Complete Organization & LocalBusiness Schema for Remote Service-Area Businesses

When a founder in Austin, London, or Dubai asks ChatGPT or Perplexity for a "reliable remote WordPress developer with transparent USD pricing", the answer engine cross-checks your visible copy against your @graph JSON-LD entity nodes. Remote studios and agencies often fail entity validation because they either omit ProfessionalService / LocalBusiness fields or forget to link founder, areaServed, contactPoint, and hasOfferCatalog via persistent @id URIs.

Connected JSON-LD @graph for Remote Service-Area Businesses
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": ["Organization", "ProfessionalService", "LocalBusiness"],
      "@id": "https://swap-design.com/#organization",
      "name": "Swap Design",
      "url": "https://swap-design.com/",
      "email": "info@swap-design.com",
      "telephone": "+91-8788225152",
      "priceRange": "$450 - $2,500",
      "currenciesAccepted": "USD",
      "paymentAccepted": "Wire Transfer, PayPal",
      "founder": {
        "@type": "Person",
        "@id": "https://swap-design.com/#swapnil-patil",
        "name": "Swapnil Patil",
        "jobTitle": "Founder & Senior WordPress Developer"
      },
      "areaServed": [
        { "@type": "Country", "name": "United States" },
        { "@type": "Country", "name": "United Kingdom" },
        { "@type": "Country", "name": "United Arab Emirates" },
        { "@type": "Country", "name": "India" }
      ],
      "AggregateRating": {
        "@type": "AggregateRating",
        "ratingValue": "4.9",
        "reviewCount": "24",
        "bestRating": "5"
      }
    }
  ]
}
Official Pricing Tiers • US Timezone Overlap: Morning EST/CST & Late PST

Don't Want to Touch Code? Let Swap Design Implement It For You

You deal directly with me, Swapnil Patil, with daily US Timezone Overlap (Morning EST/CST & Late PST) across the USA, UK, UAE, and India. Every tier below matches our official Agentic SEO & AI-Agent Ready Website Development pricing 100%.

5–10 Business Days • Foundational AI-Readiness

5-Page Service Website + Full AI-Agent Readiness

$450 – $1,100 USD

Conversion-ready 5-page service website design + Technical SEO + Full AI-Agent Readiness (US Timezone Overlap: Morning EST/CST & Late PST)

  • robots.txt Content-Signal directive (search=yes, ai-input=yes, ai-train=no) + AI bot rules
  • Curated machine-readable /llms.txt & Accept: text/markdown negotiation
  • RFC 8288 HTTP Link response headers advertising discovery endpoints
  • Complete connected Organization & LocalBusiness JSON-LD Schema
Book 5-Page Service Website ($450–$1,100 USD)
Ongoing Security, Backups & GEO Watch

Monthly Care, Security & GEO Watch

$120 – $250 / mo

Month-to-month WordPress & Agentic SEO care with US Timezone Overlap: Morning EST/CST & Late PST

  • Weekly staging-tested updates for WordPress core, themes & plugins
  • Daily encrypted offsite cloud backups & 60-second uptime monitoring
  • Continuous Core Web Vitals, JSON-LD Schema & AI crawler health monitoring
  • Direct WhatsApp/email access to Swapnil Patil with 1–2 hour response turnaround
Join Monthly Care ($120–$250 / mo)
AEO Direct-Answer Troubleshooting

Frequently Asked Questions: WebMCP (SEP-1649), Markdown Negotiation & Technical GEO

Concise 45–60 word engineering answers for WordPress, Shopify, and custom PHP architectures.

01 Why does /.well-known/mcp/server-card.json return a 404 or 403 error on WordPress and Apache servers?

Most Apache, LiteSpeed, and WordPress hosts block hidden dot-directories like /.well-known/ or route unknown paths to index.php with a 404 header. You fix this by placing an explicit RewriteRule at the top of .htaccess before the WordPress front-controller block and returning a 200 application/json header.

02 How do I expose WebMCP tools through navigator.modelContext without breaking normal browsers?

Load a lightweight JavaScript file with defer that checks whether navigator.modelContext exists and polyfills a safe registration wrapper when absent. Register structured tools like get_services, get_contact_info, and request_project_quote with JSON Schema inputs so in-browser AI agents can call them directly.

03 How does Accept: text/markdown HTTP content negotiation reduce AI agent token usage?

When an AI crawler or LLM agent sends Accept: text/markdown, your server skips rendering heavy HTML, CSS, and navigation wrappers and returns clean Markdown with a Content-Type: text/markdown; charset=utf-8 header and X-Markdown-Tokens count. This cuts token consumption by roughly 75 percent.

04 Can WordPress, WooCommerce, and custom PHP websites pass all 10 AI Agent Readiness checks?

Yes. On self-hosted WordPress, WooCommerce, and custom PHP sites, you have full control over .htaccess rules, PHP response headers, /.well-known/ endpoints, robots.txt Content-Signal directives, and JSON-LD schema. We configure all ten checks on staging and deploy in 48 hours without slowing down mobile speed.

05 Can Shopify or Webflow stores pass the SEP-1649 MCP Server Card and HTTP Link header checks?

Locked SaaS platforms like Shopify and Webflow restrict custom /.well-known/mcp/server-card.json paths and custom HTTP Link response headers on the root domain. To pass 10/10 on Shopify or Webflow, we place a Cloudflare Worker in front of your domain to serve the headers, Markdown, and MCP Server Card.

06 What are Swap Design's official pricing tiers for AI-Agent Ready websites and ongoing care?

A 5-Page Service Website costs $450 – $1,100 USD (with llms.txt, Markdown negotiation, and JSON-LD Schema). A Full Small Business Build costs $1,200 – $2,500 USD (with custom WordPress/PHP architecture, navigator.modelContext WebMCP tools, and SEP-1649 MCP Server Card). Monthly Care & Updates costs $120 – $250 / mo with Morning EST/CST & Late PST overlap.

Ready to Pass 10/10 on Your AI Agent Readiness Audit?

Send me your website URL. I'll inspect your current headers, /.well-known/mcp/server-card.json status, and schema graph for free, and reply personally within 1 to 2 hours.

Swapnil Patil • Swap Design Direct WhatsApp connection. Feel free to text me directly.

Opening WhatsApp chat window...