{
  "protocol": "mcp",
  "version": "2025-11-25",
  "server": {
    "name": "AI Portfolio",
    "version": "1.0.0",
    "title": "AI Portfolio",
    "description": "5 年前端 → AI 全栈, 41 个真实开源项目",
    "websiteUrl": "https://www.yunmzc.com",
    "icons": [
      {
        "src": "https://www.yunmzc.com/logo.svg",
        "mimeType": "image/svg+xml"
      }
    ]
  },
  "capabilities": {
    "tools": {
      "listChanged": false
    },
    "resources": {
      "subscribe": true,
      "listChanged": false
    },
    "prompts": {
      "listChanged": false
    }
  },
  "transports": [
    {
      "type": "streamable-http",
      "url": "https://www.yunmzc.com/api/mcp",
      "spec": "2025-11-25/streamable"
    },
    {
      "type": "sse",
      "url": "https://www.yunmzc.com/api/mcp/sse",
      "spec": "2024-11-05/sse"
    }
  ],
  "tools": [
    {
      "name": "search_articles",
      "description": "搜索本站文章 (返回 Top 5 摘要 + URL + 标签)",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "搜索关键词"
          },
          "category": {
            "type": "string",
            "enum": [
              "blog",
              "projects",
              "all"
            ],
            "default": "all"
          },
          "limit": {
            "type": "number",
            "default": 5,
            "maximum": 20
          }
        },
        "required": [
          "query"
        ]
      }
    },
    {
      "name": "get_article",
      "description": "获取单篇文章完整内容 (Markdown)",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "文章 slug, 例如 'qlora-4bit-finetune'"
          }
        },
        "required": [
          "slug"
        ]
      }
    },
    {
      "name": "list_projects",
      "description": "列出所有项目 (含技术栈、亮点、URL)",
      "inputSchema": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "项目分类, 例如 'ai-llm'"
          }
        }
      }
    },
    {
      "name": "get_project",
      "description": "获取单个项目完整信息",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "项目 slug"
          }
        },
        "required": [
          "slug"
        ]
      }
    },
    {
      "name": "search_knowledge",
      "description": "全文语义搜索 (基于关键词 + 标签)",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string"
          },
          "top_k": {
            "type": "number",
            "default": 5
          }
        },
        "required": [
          "query"
        ]
      }
    },
    {
      "name": "get_author_info",
      "description": "获取作者信息 (求职 / 经验 / 技能)",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    }
  ],
  "resources": [
    {
      "uri": "llms://www.yunmzc.com/full",
      "name": "完整站点内容 (Markdown)",
      "description": "全部文章 + 项目, Markdown 格式",
      "mimeType": "text/markdown",
      "size_estimate": "~2 MB"
    },
    {
      "uri": "llms://www.yunmzc.com/summary",
      "name": "站点摘要",
      "description": "结构化摘要 + 核心链接",
      "mimeType": "text/markdown"
    },
    {
      "uri": "llms://www.yunmzc.com/author",
      "name": "作者信息 (Person JSON-LD)",
      "mimeType": "application/ld+json"
    }
  ],
  "prompts": [
    {
      "name": "summarize_article",
      "description": "生成文章 5 句摘要",
      "arguments": [
        {
          "name": "article_slug",
          "required": true
        }
      ]
    },
    {
      "name": "compare_projects",
      "description": "对比 2 个项目的技术差异",
      "arguments": [
        {
          "name": "project1",
          "required": true
        },
        {
          "name": "project2",
          "required": true
        }
      ]
    },
    {
      "name": "explain_concept",
      "description": "用本站内容解释 AI 概念",
      "arguments": [
        {
          "name": "concept",
          "required": true
        }
      ]
    }
  ],
  "meta": {
    "author": "Yuanduan",
    "location": "长沙",
    "license": "MIT",
    "last_updated": "2026-07-28T09:28:04.823Z"
  }
}