{"id":198,"date":"2026-07-13T09:35:31","date_gmt":"2026-07-13T01:35:31","guid":{"rendered":"http:\/\/www.luips.com\/?p=198"},"modified":"2026-07-13T09:35:31","modified_gmt":"2026-07-13T01:35:31","slug":"mcp-%e6%9c%8d%e5%8a%a1%e5%bc%80%e5%8f%91%ef%bc%9a%e5%a6%82%e4%bd%95%e6%ad%a3%e7%a1%ae%e5%ae%9a%e4%b9%89-tools%e3%80%81resources%e3%80%81prompts","status":"publish","type":"post","link":"https:\/\/www.luips.com\/index.php\/ai%e6%8a%80%e6%9c%af\/mcp-%e6%9c%8d%e5%8a%a1%e5%bc%80%e5%8f%91%ef%bc%9a%e5%a6%82%e4%bd%95%e6%ad%a3%e7%a1%ae%e5%ae%9a%e4%b9%89-tools%e3%80%81resources%e3%80%81prompts\/","title":{"rendered":"MCP \u670d\u52a1\u5f00\u53d1\uff1a\u5982\u4f55\u6b63\u786e\u5b9a\u4e49 Tools\u3001Resources\u3001Prompts"},"content":{"rendered":"<p>\u5728\u5f00\u53d1 MCP \u670d\u52a1\u65f6\uff0c\u6b63\u786e\u533a\u5206\u548c\u5b9a\u4e49\u4e09\u5927\u539f\u8bed\u662f\u975e\u5e38\u5173\u952e\u7684\u3002\u8ba9\u6211\u7ed3\u5408\u89c4\u8303\u548c\u5b9e\u8df5\uff0c\u4e3a\u4f60\u8be6\u7ec6\u8bb2\u89e3\u3002<\/p>\n<h2>\u4e00\u3001\u4e09\u5927\u539f\u8bed\u7684\u6838\u5fc3\u533a\u522b<\/h2>\n<p>MCP \u534f\u8bae\u5b9a\u4e49\u4e86\u4e09\u79cd\u80fd\u529b\uff0c\u6bcf\u79cd\u90fd\u6709\u4e0d\u540c\u7684\u7528\u9014\u548c\u884c\u4e3a\u6a21\u5f0f\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th><strong>\u7ef4\u5ea6<\/strong><\/th>\n<th><strong>Tools\uff08\u5de5\u5177\uff09<\/strong><\/th>\n<th><strong>Resources\uff08\u8d44\u6e90\uff09<\/strong><\/th>\n<th><strong>Prompts\uff08\u63d0\u793a\u6a21\u677f\uff09<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>\u672c\u8d28<\/strong><\/td>\n<td>\u6267\u884c\u64cd\u4f5c\uff08\u7c7b\u4f3c POST\uff09<\/td>\n<td>\u66b4\u9732\u6570\u636e\uff08\u7c7b\u4f3c GET\uff09<\/td>\n<td>\u5de5\u4f5c\u6d41\u6a21\u677f<\/td>\n<\/tr>\n<tr>\n<td><strong>\u662f\u5426\u53ea\u8bfb<\/strong><\/td>\n<td>\u5426\uff08\u53ef\u80fd\u6709\u526f\u4f5c\u7528\uff09<\/td>\n<td>\u662f\uff08\u53ea\u8bfb\uff09<\/td>\n<td>\u662f\uff08\u6a21\u677f\uff09<\/td>\n<\/tr>\n<tr>\n<td><strong>\u8c01\u89e6\u53d1<\/strong><\/td>\n<td>AI \u6a21\u578b\u81ea\u52a8\u8c03\u7528<\/td>\n<td>\u5ba2\u6237\u7aef\/\u4e3b\u673a\u52a0\u8f7d<\/td>\n<td>\u7528\u6237\u4e3b\u52a8\u9009\u62e9<\/td>\n<\/tr>\n<tr>\n<td><strong>\u9700\u8981\u8f93\u5165 Schema<\/strong><\/td>\n<td>\u662f<\/td>\n<td>\u5426&#42;<\/td>\n<td>\u662f<\/td>\n<\/tr>\n<tr>\n<td><strong>\u6a21\u578b\u5982\u4f55\u770b\u5230<\/strong><\/td>\n<td>\u901a\u8fc7\u8c03\u7528\u7ed3\u679c<\/td>\n<td>\u901a\u8fc7\u4e3b\u673a\u6ce8\u5165\u4e0a\u4e0b\u6587<\/td>\n<td>\u901a\u8fc7\u6d88\u606f\u5bf9\u8bdd<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<blockquote><p>\n  &#42;\u8d44\u6e90\u6a21\u677f\u53ef\u4ee5\u6709 URI \u53c2\u6570\n<\/p><\/blockquote>\n<h2>\u4e8c\u3001Tools\uff08\u5de5\u5177\uff09\u7684\u89c4\u8303\u5b9a\u4e49<\/h2>\n<h3>2.1 \u6838\u5fc3\u89c4\u8303<\/h3>\n<p>Tools \u662f MCP \u670d\u52a1\u5668\u66b4\u9732\u7ed9 AI \u6a21\u578b\u7684\u53ef\u8c03\u7528\u51fd\u6570\uff0c\u6bcf\u4e2a\u5de5\u5177\u5fc5\u987b\u6709\uff1a<\/p>\n<ul>\n<li><strong><code>name<\/code><\/strong>\uff1a\u552f\u4e00\u6807\u8bc6\u7b26\uff0c\u957f\u5ea6 1-128 \u5b57\u7b26\uff0c\u53ea\u5141\u8bb8\u5927\u5c0f\u5199\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u4e0b\u5212\u7ebf\u3001\u8fde\u5b57\u7b26\u548c\u70b9<\/li>\n<li><strong><code>description<\/code><\/strong>\uff1a\u4eba\u7c7b\u53ef\u8bfb\u7684\u529f\u80fd\u63cf\u8ff0\uff08<strong>\u8fd9\u662f AI \u5224\u65ad\u4f55\u65f6\u8c03\u7528\u5de5\u5177\u7684\u5173\u952e<\/strong>\uff09<\/li>\n<li><strong><code>inputSchema<\/code><\/strong>\uff1a\u5b9a\u4e49\u53c2\u6570\u7684 JSON Schema\uff08\u9ed8\u8ba4\u4e3a 2020-12 \u7248\u672c\uff09<\/li>\n<\/ul>\n<h3>2.2 \u8ba9 AI \u6b63\u786e\u7406\u89e3\u7684\u5173\u952e<\/h3>\n<p><strong>description \u662f AI \u6a21\u578b\u5224\u65ad\u201c\u4ec0\u4e48\u65f6\u5019\u8be5\u7528\u8fd9\u4e2a\u5de5\u5177\u201d\u7684\u552f\u4e00\u4f9d\u636e<\/strong>\u3002\u5199\u5f97\u597d\u4e0d\u597d\uff0c\u76f4\u63a5\u51b3\u5b9a AI \u4f1a\u4e0d\u4f1a\u6b63\u786e\u8c03\u7528\u3002\u6700\u4f73\u5b9e\u8df5\uff1a<\/p>\n<pre><code class=\"language-python line-numbers\">python\n@mcp.tool()\ndef search_documents(\n    query: str,\n    categories: list[str] | None = None,\n    max_results: int = 10\n) -&gt; list[dict]:\n    \"\"\"\n    \u641c\u7d22\u5185\u90e8\u6587\u6863\u5e93\n\n    Args:\n        query: \u641c\u7d22\u5173\u952e\u8bcd\uff08\u5fc5\u586b\uff09\n        categories: \u9650\u5236\u641c\u7d22\u7684\u6587\u6863\u7c7b\u522b\u5217\u8868\uff0c\u5982 [\"api\", \"guide\"]\n        max_results: \u6700\u591a\u8fd4\u56de\u7ed3\u679c\u6570\uff0c1-50 \u4e4b\u95f4\n    \"\"\"\n    # \u5b9e\u73b0\u903b\u8f91\n<\/code><\/pre>\n<p><strong>\u7f16\u5199\u5224\u65ad\u539f\u5219<\/strong>\uff1a<\/p>\n<ul>\n<li><strong>\u4ece AI \u7684\u89c6\u89d2\u5199\u63cf\u8ff0<\/strong>\uff1a\u89e3\u91ca\u201c\u8fd9\u4e2a\u5de5\u5177\u505a\u4ec0\u4e48\u3001\u4ec0\u4e48\u65f6\u5019\u7528\u3001\u8fd4\u56de\u4ec0\u4e48\u3001\u6709\u4ec0\u4e48\u9650\u5236\u201d<\/li>\n<li><strong>\u4f7f\u7528\u6700\u5177\u4f53\u7684 Schema \u7c7b\u578b<\/strong>\uff1a\u65e5\u671f\u7528 <code>z.string().date()<\/code>\uff0c\u90ae\u7bb1\u7528 <code>z.string().email()<\/code><\/li>\n<li><strong>\u63d0\u4f9b\u793a\u4f8b\u53c2\u6570<\/strong>\uff1a\u5728\u63cf\u8ff0\u4e2d\u5305\u542b\u4f7f\u7528\u573a\u666f\uff0c\u5e2e\u52a9 AI \u7406\u89e3<\/li>\n<\/ul>\n<h3>2.3 \u9519\u8bef\u5904\u7406\u89c4\u8303<\/h3>\n<p>\u5de5\u5177\u9519\u8bef\u5e94\u901a\u8fc7\u7ed3\u679c\u5bf9\u8c61\u62a5\u544a\uff0c\u800c\u4e0d\u662f\u534f\u8bae\u7ea7\u9519\u8bef\uff1a<\/p>\n<pre><code class=\"language-python line-numbers\">python\ntry:\n    result = perform_operation()\n    return {\"content\": [{\"type\": \"text\", \"text\": f\"\u64cd\u4f5c\u6210\u529f: {result}\"}]}\nexcept Exception as error:\n    return {\n        \"isError\": True,  # \u6807\u8bb0\u4e3a\u4e1a\u52a1\u9519\u8bef\n        \"content\": [{\"type\": \"text\", \"text\": f\"\u9519\u8bef: {str(error)}\"}]\n    }\n<\/code><\/pre>\n<h2>\u4e09\u3001Resources\uff08\u8d44\u6e90\uff09\u7684\u89c4\u8303\u5b9a\u4e49<\/h2>\n<h3>3.1 \u6838\u5fc3\u89c4\u8303<\/h3>\n<p>Resources \u662f\u901a\u8fc7 <strong>URI<\/strong> \u552f\u4e00\u6807\u8bc6\u7684\u53ea\u8bfb\u6570\u636e<\/p>\n<p>\u3002URI \u8bbe\u8ba1\u8981\u8bed\u4e49\u5316\uff1a<\/p>\n<pre><code class=\"language-python line-numbers\">python\n# \u9759\u6001\u8d44\u6e90\n@mcp.resource(\"config:\/\/app\/settings\")\ndef get_settings() -&gt; str:\n    \"\"\"\u5e94\u7528\u914d\u7f6e\uff08\u53ea\u8bfb\uff09\"\"\"\n    return json.dumps({\"version\": \"1.0.0\", \"environment\": \"production\"})\n\n# \u52a8\u6001\u8d44\u6e90\uff08\u5305\u542b URI \u53c2\u6570\uff09\n@mcp.resource(\"users:\/\/{user_id}\/profile\")\ndef get_user_profile(user_id: str) -&gt; str:\n    \"\"\"\u83b7\u53d6\u6307\u5b9a\u7528\u6237\u7684\u6863\u6848\"\"\"\n    user = db.query(f\"SELECT * FROM users WHERE id = ?\", [user_id])\n    return json.dumps(user)\n<\/code><\/pre>\n<h3>3.2 URI \u8bbe\u8ba1\u539f\u5219<\/h3>\n<p>URI \u5e94\u8bed\u4e49\u5316\u3001\u53ef\u8bfb\u6027\u5f3a\uff1a<\/p>\n<p>\u8868\u683c<\/p>\n<table>\n<thead>\n<tr>\n<th><strong>\u793a\u4f8b URI<\/strong><\/th>\n<th><strong>\u542b\u4e49<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>file:\/\/\/path\/to\/file.ts<\/code><\/td>\n<td>\u672c\u5730\u6587\u4ef6<\/td>\n<\/tr>\n<tr>\n<td><code>postgres:\/\/host\/db\/table\/schema<\/code><\/td>\n<td>\u6570\u636e\u5e93\u7ed3\u6784<\/td>\n<\/tr>\n<tr>\n<td><code>memory:\/\/context\/conversation<\/code><\/td>\n<td>\u5185\u5b58\u6570\u636e<\/td>\n<\/tr>\n<tr>\n<td><code>custom:\/\/myapp\/config\/settings<\/code><\/td>\n<td>\u81ea\u5b9a\u4e49\u534f\u8bae<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>3.3 \u4e0e Tools \u7684\u9009\u62e9\u6807\u51c6<\/h3>\n<p>\u4f7f\u7528\u8d44\u6e90\u8fd8\u662f\u5de5\u5177\u7684\u6838\u5fc3\u5224\u65ad\uff1a<\/p>\n<ul>\n<li><strong>\u9700\u8981\u6570\u636e \u2794 Resource<\/strong>\uff08AI \u4f1a\u76f4\u63a5\u8bfb\u53d6\uff09<\/li>\n<li><strong>\u9700\u8981\u6267\u884c\u64cd\u4f5c \u2794 Tool<\/strong>\uff08AI \u4e3b\u52a8\u8c03\u7528\uff09<\/li>\n<li><strong>\u6570\u636e\u9891\u7e41\u53d8\u5316 \u2794 Resource + \u8ba2\u9605<\/strong><\/li>\n<li><strong>\u64cd\u4f5c\u6709\u526f\u4f5c\u7528 \u2794 Tool<\/strong><\/li>\n<\/ul>\n<h2>\u56db\u3001Prompts\uff08\u63d0\u793a\u6a21\u677f\uff09\u7684\u89c4\u8303\u5b9a\u4e49<\/h2>\n<h3>4.1 \u6838\u5fc3\u89c4\u8303<\/h3>\n<p>Prompts \u662f\u53ef\u590d\u7528\u7684\u4ea4\u4e92\u6a21\u677f\uff0c\u7528\u4e8e\u6807\u51c6\u5316\u5de5\u4f5c\u6d41\u7a0b\uff1a<\/p>\n<pre><code class=\"language-python line-numbers\">python\n# \u9759\u6001 Prompt\n@mcp.prompt()\ndef security_audit() -&gt; str:\n    \"\"\"\u89e6\u53d1\u5b89\u5168\u5ba1\u8ba1\u5de5\u4f5c\u6d41\"\"\"\n    return \"\"\"\n    \u8bf7\u6267\u884c\u5b8c\u6574\u7684\u5b89\u5168\u5ba1\u8ba1\uff1a\n    1. \u4f7f\u7528 scan_dependencies \u68c0\u67e5\u4f9d\u8d56\u6f0f\u6d1e\n    2. \u4f7f\u7528 check_config \u9a8c\u8bc1\u5b89\u5168\u914d\u7f6e\n    3. \u4f7f\u7528 find_secrets \u626b\u63cf\u786c\u7f16\u7801\u5bc6\u94a5\n    4. \u6c47\u603b\u6240\u6709\u53d1\u73b0\uff0c\u6309 CVSS \u8bc4\u5206\u6392\u5e8f\n    5. \u4e3a\u6bcf\u4e2a\u95ee\u9898\u63d0\u4f9b\u4fee\u590d\u5efa\u8bae\n    \"\"\"\n\n# \u5e26\u53c2\u6570\u7684\u52a8\u6001 Prompt\n@mcp.prompt()\ndef code_migration(\n    from_framework: str,\n    to_framework: str,\n    file_path: str | None = None\n) -&gt; list[dict]:\n    \"\"\"\u751f\u6210\u4ee3\u7801\u8fc1\u79fb\u6307\u5bfc\"\"\"\n    scope = f\"\u6587\u4ef6 {file_path}\" if file_path else \"\u6574\u4e2a\u9879\u76ee\"\n    return [{\"role\": \"user\", \"content\": {\"type\": \"text\", \"text\": f\"...\"]}}]\n<\/code><\/pre>\n<h3>4.2 Prompts \u7684\u771f\u6b63\u4ef7\u503c<\/h3>\n<p>Prompts \u662f\u6700\u5bb9\u6613\u88ab\u5ffd\u89c6\u4f46\u5b9e\u9645\u4e0a<strong>\u975e\u5e38\u5f3a\u5927<\/strong>\u7684\u539f\u8bed\u3002\u5b83\u7684\u4ef7\u503c\u5728\u4e8e\uff1a<\/p>\n<blockquote><p>\n  <strong>\u8ba9\u56e2\u961f\u7684\u6700\u4f73\u5b9e\u8df5\u6807\u51c6\u5316<\/strong>\u2014\u2014\u4f60\u56e2\u961f\u91cc\u6700\u5389\u5bb3\u7684\u5de5\u7a0b\u5e08\u7684\u5de5\u4f5c\u903b\u8f91\uff0c\u53ef\u4ee5\u56fa\u5316\u6210 Prompt\uff0c\u4f9b\u6240\u6709\u5de5\u7a0b\u5e08\u4f7f\u7528\u3002\n<\/p><\/blockquote>\n<h2>\u4e94\u3001\u5982\u4f55\u8ba9 AI \u6b63\u786e\u7406\u89e3\u548c\u8c03\u7528<\/h2>\n<h3>5.1 \u63cf\u8ff0\u7684\u7f16\u5199\u9ec4\u91d1\u6cd5\u5219<\/h3>\n<ol>\n<li><strong>\u4ece AI \u89c6\u89d2\u51fa\u53d1<\/strong>\uff1a\u5199\u63cf\u8ff0\u65f6\u5047\u8bbe\u81ea\u5df1\u662f AI\uff0c\u9700\u8981\u4ec0\u4e48\u4fe1\u606f\u6765\u51b3\u5b9a\u662f\u5426\u8c03\u7528<\/li>\n<li><strong>\u5177\u4f53\u800c\u975e\u62bd\u8c61<\/strong>\uff1a\u274c &#8220;\u5929\u6c14\u5de5\u5177&#8221; \u2192 \u2705 &#8220;\u83b7\u53d6\u6307\u5b9a\u57ce\u5e02\u7684\u5f53\u524d\u5929\u6c14\u4fe1\u606f\uff0c\u5305\u62ec\u6e29\u5ea6\u3001\u6e7f\u5ea6\u548c\u98ce\u901f&#8221;<\/li>\n<li><strong>\u660e\u786e\u9650\u5236\u6761\u4ef6<\/strong>\uff1a&#8221;\u4ec5\u652f\u6301\u7f8e\u56fd\u57ce\u5e02&#8221; \u9632\u6b62 AI \u9519\u8bef\u8c03\u7528<\/li>\n<li><strong>\u793a\u4f8b\u5f15\u5bfc<\/strong>\uff1a\u5728\u63cf\u8ff0\u4e2d\u52a0\u5165\u5178\u578b\u4f7f\u7528\u573a\u666f<\/li>\n<\/ol>\n<h3>5.2 \u5de5\u5177\u6ce8\u91ca\uff08Annotations\uff09<\/h3>\n<p>\u5411 AI \u548c\u5ba2\u6237\u7aef\u63d0\u4f9b\u884c\u4e3a\u5143\u4fe1\u606f\uff1a<\/p>\n<pre><code class=\"language-typescript line-numbers\">typescript\n{\n  name: \"delete_records\",\n  description: \"\u5220\u9664\u6570\u636e\u5e93\u8bb0\u5f55\",\n  inputSchema: { ... },\n  annotations: {\n    readOnlyHint: false,    \/\/ \u4f1a\u4fee\u6539\u6570\u636e\n    destructiveHint: true,  \/\/ \u64cd\u4f5c\u4e0d\u53ef\u64a4\u9500\n    idempotentHint: false,  \/\/ \u4e0d\u662f\u5e42\u7b49\u7684\n    openWorldHint: false    \/\/ \u53ea\u5f71\u54cd\u672c\u5730\u7cfb\u7edf\n  }\n}\n<\/code><\/pre>\n<p>\u6ce8\u89e3\u5f71\u54cd\u5ba2\u6237\u7aef\u7684\u884c\u4e3a\uff1a<\/p>\n<ul>\n<li><code>readOnlyHint: true<\/code> \u2192 \u53ef\u81ea\u52a8\u6267\u884c\uff0c\u65e0\u9700\u786e\u8ba4<\/li>\n<li><code>destructiveHint: true<\/code> \u2192 \u8981\u6c42\u7528\u6237\u660e\u786e\u786e\u8ba4<\/li>\n<\/ul>\n<h3>5.3 \u5b89\u5168\u4fe1\u4efb\u539f\u5219<\/h3>\n<p>\u5ba2\u6237\u7aef<strong>\u5fc5\u987b<\/strong>\u5c06\u5de5\u5177\u6ce8\u91ca\u89c6\u4e3a\u4e0d\u53ef\u4fe1\uff0c\u9664\u975e\u5b83\u4eec\u6765\u81ea\u53d7\u4fe1\u4efb\u7684\u670d\u52a1\u5668\u3002<\/p>\n<h2>\u516d\u3001\u5b9e\u6218\u51b3\u7b56\u6846\u67b6<\/h2>\n<p>\u5f53\u4f60\u5f00\u53d1\u65f6\uff0c\u53ef\u4ee5\u8fd9\u6837\u5224\u65ad\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th><strong>\u573a\u666f<\/strong><\/th>\n<th><strong>\u5e94\u8be5\u7528\u54ea\u4e2a<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u67e5\u8be2\u6570\u636e\u5e93\u83b7\u53d6\u6570\u636e<\/td>\n<td>Resource<\/td>\n<\/tr>\n<tr>\n<td>\u4fee\u6539\u6570\u636e\u5e93\u8bb0\u5f55<\/td>\n<td>Tool<\/td>\n<\/tr>\n<tr>\n<td>\u641c\u7d22\u6587\u6863<\/td>\n<td>Tool\uff08\u56e0\u4e3a\u6709\u641c\u7d22\u903b\u8f91\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u66b4\u9732\u914d\u7f6e\u4fe1\u606f<\/td>\n<td>Resource<\/td>\n<\/tr>\n<tr>\n<td>\u4ee3\u7801\u5ba1\u67e5\u6d41\u7a0b<\/td>\n<td>Prompt<\/td>\n<\/tr>\n<tr>\n<td>\u53d1\u9001\u90ae\u4ef6<\/td>\n<td>Tool<\/td>\n<\/tr>\n<tr>\n<td>Bug \u62a5\u544a\u6a21\u677f<\/td>\n<td>Prompt<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u603b\u7ed3<\/h2>\n<p>\u5f00\u53d1 MCP \u670d\u52a1\u65f6\uff0c\u9075\u5faa\u4ee5\u4e0b\u539f\u5219\uff1a<\/p>\n<ol>\n<li><strong>Tools<\/strong> = \u6267\u884c\u64cd\u4f5c\uff0c\u4f7f\u7528 <code>@mcp.tool()<\/code>\uff0c<strong>description \u8981\u5199\u8be6\u7ec6<\/strong><\/li>\n<li><strong>Resources<\/strong> = \u66b4\u9732\u6570\u636e\uff0c\u4f7f\u7528 <code>@mcp.resource()<\/code>\uff0cURI \u8bbe\u8ba1\u8981\u8bed\u4e49\u5316<\/li>\n<li><strong>Prompts<\/strong> = \u5de5\u4f5c\u6d41\u6a21\u677f\uff0c\u4f7f\u7528 <code>@mcp.prompt()<\/code>\uff0c\u6807\u51c6\u5316\u6700\u4f73\u5b9e\u8df5<\/li>\n<\/ol>\n<p>AI \u4e3b\u8981\u901a\u8fc7 <strong>description<\/strong>\uff08\u63cf\u8ff0\uff09\u548c <strong>inputSchema<\/strong>\uff08\u53c2\u6570 Schema\uff09\u6765\u7406\u89e3\u4f60\u7684\u5de5\u5177\u3002\u63cf\u8ff0\u5199\u5f97\u8d8a\u6e05\u6670\u3001\u8d8a\u5177\u4f53\uff0cAI \u5c31\u8d8a\u80fd\u6b63\u786e\u5224\u65ad\u4f55\u65f6\u8c03\u7528\u4ee5\u53ca\u5982\u4f55\u4f20\u9012\u53c2\u6570\u3002\u8fd9\u662f\u6574\u4e2a MCP \u670d\u52a1\u5f00\u53d1\u4e2d\u6700\u503c\u5f97\u6295\u5165\u7cbe\u529b\u7684\u5730\u65b9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u5f00\u53d1 MCP \u670d\u52a1\u65f6\uff0c\u6b63\u786e\u533a\u5206\u548c\u5b9a\u4e49\u4e09\u5927\u539f\u8bed\u662f\u975e\u5e38\u5173\u952e\u7684\u3002&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[32,34,33],"class_list":["post-198","post","type-post","status-publish","format-standard","hentry","category-ai","tag-mcp","tag-34","tag-33"],"_links":{"self":[{"href":"https:\/\/www.luips.com\/index.php\/wp-json\/wp\/v2\/posts\/198","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.luips.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.luips.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.luips.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.luips.com\/index.php\/wp-json\/wp\/v2\/comments?post=198"}],"version-history":[{"count":1,"href":"https:\/\/www.luips.com\/index.php\/wp-json\/wp\/v2\/posts\/198\/revisions"}],"predecessor-version":[{"id":199,"href":"https:\/\/www.luips.com\/index.php\/wp-json\/wp\/v2\/posts\/198\/revisions\/199"}],"wp:attachment":[{"href":"https:\/\/www.luips.com\/index.php\/wp-json\/wp\/v2\/media?parent=198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.luips.com\/index.php\/wp-json\/wp\/v2\/categories?post=198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.luips.com\/index.php\/wp-json\/wp\/v2\/tags?post=198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}