{
  "openapi": "3.1.0",
  "info": {
    "title": "Shobhit Halse Portfolio & Agent API",
    "version": "1.0.0",
    "description": "Developer resources, machine-readable portfolio endpoints, and Model Context Protocol (MCP) Streamable HTTP interface for Shobhit Halse — Designer & Developer.",
    "contact": {
      "name": "Shobhit Halse",
      "email": "hellowshobhit@gmail.com",
      "url": "https://shobhit-designs.vercel.app/contact"
    }
  },
  "servers": [
    {
      "url": "https://shobhit-designs.vercel.app",
      "description": "Production Server"
    }
  ],
  "paths": {
    "/api/mcp": {
      "get": {
        "summary": "MCP Streamable HTTP Handshake / Discovery",
        "description": "Establishes stream or returns MCP server info and protocol capabilities.",
        "responses": {
          "200": {
            "description": "MCP handshake details",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "name": { "type": "string" },
                    "version": { "type": "string" },
                    "protocolVersion": { "type": "string" },
                    "capabilities": { "type": "object" }
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "summary": "MCP JSON-RPC 2.0 Request",
        "description": "Execute JSON-RPC 2.0 method (initialize, tools/list, tools/call, resources/list, ping).",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": ["jsonrpc", "id", "method"],
                "properties": {
                  "jsonrpc": { "type": "string", "example": "2.0" },
                  "id": { "type": "string", "example": "1" },
                  "method": { "type": "string", "example": "tools/list" },
                  "params": { "type": "object" }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON-RPC 2.0 response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "jsonrpc": { "type": "string" },
                    "id": { "type": "string" },
                    "result": { "type": "object" }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/llms.txt": {
      "get": {
        "summary": "LLMs.txt Context Standard",
        "description": "Returns markdown summary context for AI crawlers and autonomous agents.",
        "responses": {
          "200": {
            "description": "Markdown context",
            "content": {
              "text/markdown": {
                "schema": { "type": "string" }
              }
            }
          }
        }
      }
    },
    "/llms-full.txt": {
      "get": {
        "summary": "Full LLM Context",
        "description": "Returns full uncompressed portfolio transcript and case studies.",
        "responses": {
          "200": {
            "description": "Full markdown context",
            "content": {
              "text/markdown": {
                "schema": { "type": "string" }
              }
            }
          }
        }
      }
    },
    "/.well-known/mcp.json": {
      "get": {
        "summary": "Model Context Protocol Server Card",
        "description": "Returns machine-readable MCP discovery manifest.",
        "responses": {
          "200": {
            "description": "MCP Manifest",
            "content": {
              "application/json": {
                "schema": { "type": "object" }
              }
            }
          }
        }
      }
    }
  }
}
