{
    "server": {
        "name": "J.CV Content Discovery Server",
        "version": "1.0.0",
        "description": "Public MCP server for discovering and reading content on J.CV",
        "protocol": "Model Context Protocol (MCP)"
    },
    "about": {
        "what_is_mcp": "The Model Context Protocol (MCP) is a standardized protocol that enables AI agents and applications to interact with external systems and data sources in a consistent way.",
        "purpose": "This server exposes read-only content discovery tools that allow AI agents to search, browse, and read content on this WordPress site.",
        "access": "Public - No authentication required"
    },
    "usage": {
        "method": "POST",
        "endpoint": "https://j.cv/mcp",
        "content_type": "application/json",
        "protocol": "JSON-RPC 2.0",
        "note": "This endpoint expects POST requests with JSON-RPC 2.0 formatted payloads. Browser GET requests are not supported for MCP operations."
    },
    "available_methods": {
        "initialize": "Initialize a new MCP session (required first step)",
        "tools/list": "List all available tools/abilities",
        "tools/call": "Execute a specific tool with arguments"
    },
    "available_tools": [
        {
            "name": "jcv-get-sitemap",
            "description": "Retrieve WordPress sitemap with optional filtering by post type"
        },
        {
            "name": "jcv-search-posts",
            "description": "Search for posts with advanced filters (category, author, date range, pagination)"
        },
        {
            "name": "jcv-get-post-content",
            "description": "Get full post content and metadata by ID"
        },
        {
            "name": "jcv-get-posts-by-ids",
            "description": "Retrieve multiple posts by their IDs in a single request"
        },
        {
            "name": "jcv-get-recent-posts",
            "description": "Get recently published or modified posts"
        }
    ],
    "example_requests": {
        "initialize": {
            "jsonrpc": "2.0",
            "id": 1,
            "method": "initialize",
            "params": {
                "protocolVersion": "2024-11-05",
                "capabilities": [],
                "clientInfo": {
                    "name": "example-client",
                    "version": "1.0.0"
                }
            }
        },
        "list_tools": {
            "jsonrpc": "2.0",
            "id": 2,
            "method": "tools/list",
            "params": []
        },
        "search_posts": {
            "jsonrpc": "2.0",
            "id": 3,
            "method": "tools/call",
            "params": {
                "name": "jcv-search-posts",
                "arguments": {
                    "query": "wordpress",
                    "posts_per_page": 5,
                    "orderby": "relevance"
                }
            }
        }
    },
    "learn_more": {
        "mcp_specification": "https://modelcontextprotocol.io/",
        "mcp_adapter": "https://github.com/WordPress/mcp-adapter",
        "abilities_api": "https://github.com/WordPress/abilities-api"
    }
}