PageSourceSearch

https://ouch1978.github.io/assets/js/d972499c.c65ab5b4.js

js ouch1978.github.io collected 2026-10-03 09:46:31 UTC 82,182 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkouch1978_at_github=globalThis.webpackChunkouch1978_at_github||[]).push([[4844],{12363(e,n,s){s.r(n),s.d(n,{assets:()=>c,contentTitle:()=>d,default:()=>a,frontMatter:()=>r,metadata:()=>i,toc:()=>o});const i=JSON.parse('{"id":"ai/vibe-coding/the-tokenomics-of-cursor-ai/index","title":"Cursor AI \u7684 Token \u7d93\u6fdf\u5b78\uff1a\u5982\u4f55\u900f\u904e Rules\u3001Skills \u8207 MCP \u5efa\u69cb\u9ad8 ROI \u7684\u6574\u5957 Combo","description":"Cursor AI \u7528\u8d8a\u6df1\uff0cToken \u6210\u672c\u8d8a\u5bb9\u6613\u5931\u63a7\u3002\u672c\u6587\u5f9e Rules\u3001Skills\u3001Subagent \u8207 MCP \u7684\u5206\u5de5\u51fa\u767c\uff0c\u62c6\u89e3 All-in-One MCP\u3001\u6df7\u5408\u5f0f MCP\u3001tool response \u904e\u80a5\u8207\u5951\u7d04\u4e0d\u4e00\u81f4\u9020\u6210\u7684 Token \u6d6a\u8cbb\uff0c\u4e26\u6574\u7406\u51fa\u80fd\u63d0\u5347 ROI \u7684\u67b6\u69cb\u91cd\u69cb\u5fc3\u6cd5\u3002","source":"@site/docs/06-ai/01-vibe-coding/05-the-tokenomics-of-cursor-ai/index.md","sourceDirName":"06-ai/01-vibe-coding/05-the-tokenomics-of-cursor-ai","slug":"/ai/vibe-coding/the-tokenomics-of-cursor-ai/","permalink":"/docs/ai/vibe-coding/the-tokenomics-of-cursor-ai/","draft":false,"unlisted":false,"editUrl":"https://github.com/ouch1978/ouch1978.github.io/edit/main/docs/06-ai/01-vibe-coding/05-the-tokenomics-of-cursor-ai/index.md","tags":[{"inline":true,"label":"AI","permalink":"/docs/tags/ai"},{"inline":true,"label":"Cursor AI","permalink":"/docs/tags/cursor-ai"},{"inline":true,"label":"Token","permalink":"/docs/tags/token"},{"inline":true,"label":"MCP","permalink":"/docs/tags/mcp"},{"inline":true,"label":"Rules","permalink":"/docs/tags/rules"},{"inline":true,"label":"Skills","permalink":"/docs/tags/skills"},{"inline":true,"label":"Subagent","permalink":"/docs/tags/subagent"},{"inline":true,"label":"Agentic AI","permalink":"/docs/tags/agentic-ai"},{"inline":true,"label":"ROI","permalink":"/docs/tags/roi"}],"version":"current","lastUpdatedBy":"Ouch Liu","lastUpdatedAt":1777305600000,"frontMatter":{"title":"Cursor AI \u7684 Token \u7d93\u6fdf\u5b78\uff1a\u5982\u4f55\u900f\u904e Rules\u3001Skills \u8207 MCP \u5efa\u69cb\u9ad8 ROI \u7684\u6574\u5957 Combo","description":"Cursor AI \u7528\u8d8a\u6df1\uff0cToken \u6210\u672c\u8d8a\u5bb9\u6613\u5931\u63a7\u3002\u672c\u6587\u5f9e Rules\u3001Skills\u3001Subagent \u8207 MCP \u7684\u5206\u5de5\u51fa\u767c\uff0c\u62c6\u89e3 All-in-One MCP\u3001\u6df7\u5408\u5f0f MCP\u3001tool response \u904e\u80a5\u8207\u5951\u7d04\u4e0d\u4e00\u81f4\u9020\u6210\u7684 Token \u6d6a\u8cbb\uff0c\u4e26\u6574\u7406\u51fa\u80fd\u63d0\u5347 ROI \u7684\u67b6\u69cb\u91cd\u69cb\u5fc3\u6cd5\u3002","author":"ouch1978","image":"how-many-tokens-consumed-by-mcp-server.png","tags":["AI","Cursor AI","Token","MCP","Rules","Skills","Subagent","Agentic AI","ROI"],"keywords":["Cursor AI","Token \u7d93\u6fdf\u5b78","MCP","Rules","Skills","Subagent","Agentic AI","ROI","\u6295\u8cc7\u5831\u916c\u7387","Tool Response","Token \u6210\u672c","AI \u5de5\u4f5c\u6d41"],"last_update":{"date":"2026/04/28 GMT+8","author":"Ouch Liu"}},"sidebar":"tutorialSidebar","previous":{"title":"\u591a Repo \u7684 Cursor AI \u898f\u5247\u6cbb\u7406\uff1a\u5f9e\u53d7\u9650\u74b0\u5883\u51fa\u767c\u7684\u6700\u5c0f\u53ef\u884c\u65b9\u6848","permalink":"/docs/ai/vibe-coding/cursor-ai-rules-implementation-part3/"}}');var l=s(74848),t=s(28453);const r={title:"Cursor AI \u7684 Token \u7d93\u6fdf\u5b78\uff1a\u5982\u4f55\u900f\u904e Rules\u3001Skills \u8207 MCP \u5efa\u69cb\u9ad8 ROI \u7684\u6574\u5957 Combo",description:"Cursor AI \u7528\u8d8a\u6df1\uff0cToken \u6210\u672c\u8d8a\u5bb9\u6613\u5931\u63a7\u3002\u672c\u6587\u5f9e Rules\u3001Skills\u3001Subagent \u8207 MCP \u7684\u5206\u5de5\u51fa\u767c\uff0c\u62c6\u89e3 All-in-One MCP\u3001\u6df7\u5408\u5f0f MCP\u3001tool response \u904e\u80a5\u8207\u5951\u7d04\u4e0d\u4e00\u81f4\u9020\u6210\u7684 Token \u6d6a\u8cbb\uff0c\u4e26\u6574\u7406\u51fa\u80fd\u63d0\u5347 ROI \u7684\u67b6\u69cb\u91cd\u69cb\u5fc3\u6cd5\u3002",author:"ouch1978",image:"how-many-tokens-consumed-by-mcp-server.png",tags:["AI","Cursor AI","Token","MCP","Rules","Skills","Subagent","Agentic AI","ROI"],keywords:["Cursor AI","Token \u7d93\u6fdf\u5b78","MCP","Rules","Skills","Subagent","Agentic AI","ROI","\u6295\u8cc7\u5831\u916c\u7387","Tool Response","Token \u6210\u672c","AI \u5de5\u4f5c\u6d41"],last_update:{date:"2026/04/28 GMT+8",author:"Ouch Liu"}},d=void 0,c={},o=[{value:"\u524d\u8a00\uff1aToken \u624d\u662f Agentic AI \u771f\u6b63\u7684\u6210\u672c",id:"\u524d\u8a00token-\u624d\u662f-agentic-ai-\u771f\u6b63\u7684\u6210\u672c",level:2},{value:"\u56db\u5927\u6b66\u5668\u7684 Token \u7d93\u6fdf\u5b78",id:"\u56db\u5927\u6b66\u5668\u7684-token-\u7d93\u6fdf\u5b78",level:2},{value:"\u6211\u7684\u8ff7\u601d\uff1aMCP \u6210\u672c\u771f\u6b63\u767c\u751f\u5728\u54ea\u88e1",id:"\u6211\u7684\u8ff7\u601dmcp-\u6210\u672c\u771f\u6b63\u767c\u751f\u5728\u54ea\u88e1",level:2},{value:"\u771f\u5be6\u6848\u4f8b\u7684 Token \u7d93\u6fdf\u5b78\u5206\u6790",id:"\u771f\u5be6\u6848\u4f8b\u7684-token-\u7d93\u6fdf\u5b78\u5206\u6790",level:2},{value:"\u6848\u4f8b A\uff1a\u81ea\u5efa All-in-One MCP",id:"\u6848\u4f8b-a\u81ea\u5efa-all-in-one-mcp",level:3},{value:"Token \u6bba\u624b\u4e00\uff1a\u628a\u5927\u578b JSON \u76f4\u63a5\u56de\u50b3\u7d66 Agent",id:"token-\u6bba\u624b\u4e00\u628a\u5927\u578b-json-\u76f4\u63a5\u56de\u50b3\u7d66-agent",level:3},{value:"Token \u6bba\u624b\u4e8c\uff1aJira comments \u7121\u9650\u5236\u5c55\u958b",id:"token-\u6bba\u624b\u4e8cjira-comments-\u7121\u9650\u5236\u5c55\u958b",level:3},{value:"Token \u6bba\u624b\u4e09\uff1a\u904e\u80a5\u7684\u932f\u8aa4\u8a0a\u606f",id:"token-\u6bba\u624b\u4e09\u904e\u80a5\u7684\u932f\u8aa4\u8a0a\u606f",level:3},{value:"Token \u6bba\u624b\u56db\uff1a\u5de5\u5177\u5951\u7d04\u4e0
1d\u4e00\u81f4",id:"token-\u6bba\u624b\u56db\u5de5\u5177\u5951\u7d04\u4e0d\u4e00\u81f4",level:3},{value:"\u6848\u4f8b A \u7684\u6539\u5584\u5efa\u8b70",id:"\u6848\u4f8b-a-\u7684\u6539\u5584\u5efa\u8b70",level:3},{value:"\u6848\u4f8b B\uff1a\u5c0e\u5165\u6df7\u5408\u5f0f MCP \u4e5f\u53ef\u80fd\u8e29\u96f7",id:"\u6848\u4f8b-b\u5c0e\u5165\u6df7\u5408\u5f0f-mcp-\u4e5f\u53ef\u80fd\u8e29\u96f7",level:2},{value:"Token \u6bba\u624b\uff1aDB MCP \u7684\u67e5\u8a62\u7d50\u679c\u592a\u5927",id:"token-\u6bba\u624bdb-mcp-\u7684\u67e5\u8a62\u7d50\u679c\u592a\u5927",level:3},{value:"\u5168\u57df MCP vs \u5c08\u6848\u5167 MCP",id:"\u5168\u57df-mcp-vs-\u5c08\u6848\u5167-mcp",level:2},{value:"\u5168\u57df MCP\uff1a\u5927\u5bb6\u90fd\u80fd\u7528\u7684\u5e73\u6c11\u6b66\u5668",id:"\u5168\u57df-mcp\u5927\u5bb6\u90fd\u80fd\u7528\u7684\u5e73\u6c11\u6b66\u5668",level:3},{value:"\u5c08\u6848\u5167 MCP\uff1a\u7279\u5b9a\u89d2\u8272\u624d\u80fd\u7528\u7684\u5c08\u6b66",id:"\u5c08\u6848\u5167-mcp\u7279\u5b9a\u89d2\u8272\u624d\u80fd\u7528\u7684\u5c08\u6b66",level:3},{value:"Multi-root Workspace \u6703\u653e\u5927\u5de5\u5177\u6c7a\u7b56\u7a7a\u9593",id:"multi-root-workspace-\u6703\u653e\u5927\u5de5\u5177\u6c7a\u7b56\u7a7a\u9593",level:3},{value:"\u5168\u57df MCP vs \u5c08\u6848\u5167 MCP \u7684\u9078\u64c7\u6307\u5f15",id:"\u5168\u57df-mcp-vs-\u5c08\u6848\u5167-mcp-\u7684\u9078\u64c7\u6307\u5f15",level:3},{value:"\u67b6\u69cb\u91cd\u69cb\u5fc3\u6cd5",id:"\u67b6\u69cb\u91cd\u69cb\u5fc3\u6cd5",level:2},{value:"\u539f\u5247\u4e00\uff1a\u628a\u300c\u8cc7\u6599\u6d41\u300d\u79fb\u51fa\u4e0a\u4e0b\u6587",id:"\u539f\u5247\u4e00\u628a\u8cc7\u6599\u6d41\u79fb\u51fa\u4e0a\u4e0b\u6587",level:3},{value:"\u539f\u5247\u4e8c\uff1a\u8b93 LLM \u5beb\u7a0b\u5f0f\uff0c\u8655\u7406\u8cc7\u6599\u4ea4\u7d66\u5225\u7684\u5de5\u5177",id:"\u539f\u5247\u4e8c\u8b93-llm-\u5beb\u7a0b\u5f0f\u8655\u7406\u8cc7\u6599\u4ea4\u7d66\u5225\u7684\u5de5\u5177",level:3},{value:"\u539f\u5247\u4e09\uff1a\u622a\u65b7\u3001\u5206\u9801\u3001\u6458\u8981\u90fd\u8981\u6210\u70ba\u9810\u8a2d\u503c",id:"\u539f\u5247\u4e09\u622a\u65b7\u5206\u9801\u6458\u8981\u90fd\u8981\u6210\u70ba\u9810\u8a2d\u503c",level:3},{value:"\u539f\u5247\u56db\uff1a\u4ee5\u6b63\u78ba\u7684\u59ff\u52e2\u8655\u7406\u5916\u90e8\u932f\u8aa4",id:"\u539f\u5247\u56db\u4ee5\u6b63\u78ba\u7684\u59ff\u52e2\u8655\u7406\u5916\u90e8\u932f\u8aa4",level:3},{value:"\u4ee5\u6b63\u78ba\u7684\u5de5\u5177\u6253\u9020\u51fa\u9ad8 ROI Combo",id:"\u4ee5\u6b63\u78ba\u7684\u5de5\u5177\u6253\u9020\u51fa\u9ad8-roi-combo",level:2},{value:"Token \u512a\u5316\u5f8c\u7684\u6548\u76ca\u4f30\u7b97",id:"token-\u512a\u5316\u5f8c\u7684\u6548\u76ca\u4f30\u7b97",level:2},{value:"Token \u6d6a\u8cbb\u81ea\u8a55\u8868",id:"token-\u6d6a\u8cbb\u81ea\u8a55\u8868",level:2},{value:"\u7d50\u8a9e",id:"\u7d50\u8a9e",level:2}];function h(e){const n={admonition:"admonition",code:"code",h2:"h2",h3:"h3",img:"img",li:"li",mermaid:"mermaid",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,t.R)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.admonition,{title:"\u672c\u6587\u6458\u8981",type:"tip",children:(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsx)(n.li,{children:"\u76ee\u6a19\u8b80\u8005\uff1a\u8ffd\u6c42\u6975\u81f4\u958b\u767c\u6548\u80fd\u3001\u5c0d Token \u6210\u672c\u654f\u611f\uff0c\u4e14\u9700\u8981\u5728\u8907\u96dc\u4f01\u696d\u74b0\u5883\uff08Jira/DB/CI\uff09\u5efa\u7acb\u9ad8\u6548 AI \u5de5\u4f5c\u6d41\u7684\u8cc7\u6df1\u67b6\u69cb\u5e2b\u6216\u662f Team Lead\u3002"}),"\n",(0,l.jsxs)(n.li,{children:["\u524d\u7f6e\u77e5\u8b58\uff1a\u5177\u5099 Cursor AI \u57fa\u790e\u7d93\u9a57\uff0c\u4e86\u89e3 ",(0,l.jsx)(n.code,{children:".mdc"}),"\u3001MCP \u57fa\u672c\u67b6\u69cb\u8207 LLM Token \u8a08\u8cbb\u539f\u7406\u3002"]}),"\n",(0,l.jsx)(n.li,{children:"\u6838\u5fc3\u65b9\u5411\uff1a\u5efa\u7acb\u300c\u6df7\u5408\u5f0f MCP \u67b6\u69cb\u300d\u9032\u884c\u9694\u96e2\uff0c\u4e26\u900f\u904e\u300cServer \u7aef\u904e\u6ffe\u300d\u8207\u300cSkills \u6309\u9700\u6c42\u8f09\u5165\u300d\u5be6\u73fe ROI \u6975\u5927\u5316\u3002"}),"\n",(0,l.jsx)(n.li,{children:"\u672c\u6587\u5b9a\u4f4d\uff1a\u5f9e\u5be6\u969b\u
16848\u4f8b\u4e2d\u6574\u7406\u51fa\u4f86\u7684\u5be6\u6230\u5fc3\u5f97\uff0c\u5206\u4eab\u5982\u4f55\u900f\u904e\u300c\u541d\u55c7\u578b\u8a2d\u8a08\u300d\u5728\u73fe\u5be6\u9650\u5236\u4e0b\u6253\u51fa\u9ad8\u50f9\u503c\u7684\u958b\u767c Combo\u3002"}),"\n"]})}),"\n",(0,l.jsx)(n.h2,{id:"\u524d\u8a00token-\u624d\u662f-agentic-ai-\u771f\u6b63\u7684\u6210\u672c",children:"\u524d\u8a00\uff1aToken \u624d\u662f Agentic AI \u771f\u6b63\u7684\u6210\u672c"}),"\n",(0,l.jsx)(n.p,{children:"\u770b\u8457 Cursor AI \u6162\u6162\u5f9e\u4e4b\u524d\u53ea\u80fd\u5b8c\u6210\u55ae\u9ede\u7a81\u7834\u7684\u5de5\u4f5c\uff0c\u5230\u73fe\u5728\u80fd\u5920\u4e32\u63a5\u6574\u500b\u6d41\u6c34\u7dda\uff0c\u5927\u5bb6\u4e5f\u6162\u6162\u7fd2\u6163\u6709\u9019\u500b\u300c\u65b0\u540c\u4e8b\u300d\u4e86\uff0c\u751a\u81f3\u8d8a\u4f86\u8d8a\u4f9d\u8cf4\u5b83\u3002"}),"\n",(0,l.jsxs)(n.p,{children:["\u4e0d\u904e\uff0c\u96a8\u8457\u4f7f\u7528\u7684\u6df1\u5165\uff0c",(0,l.jsx)(n.strong,{children:"Token \u7684\u6d88\u8017\u91cf\u9060\u8d85\u904e\u6211\u5011\u7684\u9810\u671f"})," \u9019\u500b\u554f\u984c\u4e5f\u8d8a\u4f86\u8d8a\u660e\u986f\u4e86\u3002"]}),"\n",(0,l.jsx)(n.p,{children:"\u4e4b\u524d\u672c\u4f86\u5f88\u5929\u771f\u7684\u4ee5\u70ba Token \u61c9\u8a72\u4e0d\u6703\u6709\u7528\u5b8c\u7684\u4e00\u5929\uff0c\u7562\u7adf\u53ea\u662f\u53eb AI \u5e6b\u5fd9\u5beb\u5beb Code\u3001\u67e5\u67e5\u8cc7\u6599\u3001\u8dd1\u8dd1\u6d41\u7a0b\u800c\u5df2\u561b\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u7d50\u679c\u5462\uff1f"}),"\n",(0,l.jsx)(n.p,{children:"\u6c92\u60f3\u5230\u5728\u6574\u689d\u5de5\u4f5c\u6d41\u7a0b\u88ab\u4e32\u8d77\u4f86\u4e4b\u5f8c\u6c92\u591a\u4e45\uff0c\u5c31\u6536\u5230 Token \u7528\u5b8c\u7684\u8b66\u544a\u4e86\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u800c\u4e14\uff0c\u4e0d\u53ea Cursor AI\uff0c\u5176\u5b83 Agentic AI \u5e73\u53f0\u4e5f\u90fd\u4e0d\u7d04\u800c\u540c\u7684\u958b\u59cb\u9650\u7e2e\u4e0d\u540c\u65b9\u6848\u63d0\u4f9b\u7684 Token \u6578\u91cf\u3002"}),"\n",(0,l.jsx)(n.admonition,{title:"\u788e\u788e\u5538",type:"danger",children:(0,l.jsx)(n.p,{children:"\u524d\u4e00\u9663\u5b50\u6709\u4e00\u5247\u65b0\u805e\u63d0\u5230\uff0c\u9ec3\u4ec1\u52f3\u66fe\u958b\u73a9\u7b11\u8aaa\uff1a\u300c\u5982\u679c\u8f1d\u9054\u7684\u5de5\u7a0b\u5e2b\u6c92\u82b1\u5230\u5e74\u85aa\u50f9\u503c\u4e00\u534a\u7684 Token \u91cf\uff0c\u6211\u6703\u975e\u5e38\u751f\u6c23\u3002\u300d\n\u5f88\u4e0d\u5e78\u7684\u662f\uff0c\u6211\u4e0d\u5728 NVIDIA \u4e0a\u73ed\uff0c\u4e5f\u6c92\u6709\u5e74\u85aa\u4e00\u534a\u7684 Token \u53ef\u4ee5\u7528\uff0c\u6240\u4ee5\u6211\u5f97\u5c0d Token \u7684\u4f7f\u7528\u65a4\u65a4\u8a08\u8f03\u3002"})}),"\n",(0,l.jsx)(n.p,{children:"\u9019\u6642\u5019\u6211\u624d\u771f\u6b63\u610f\u8b58\u5230\uff0cToken \u4e0d\u662f\u4ec0\u9ebc\u8eb2\u5728\u6a21\u578b\u80cc\u5f8c\u7684\u6280\u8853\u7d30\u7bc0\uff0c\u800c\u662f\u6703\u76f4\u63a5\u5f71\u97ff\u6211\u5011\u6bcf\u5929\u80fd\u8dd1\u591a\u5c11\u6b21 Agent\u3001\u80fd\u89e3\u5e7e\u5f35\u5de5\u55ae\u3001\u80fd\u7701\u4e0b\u591a\u5c11\u4eba\u529b\u7684\u73fe\u5be6\u9810\u7b97\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u7576 Token \u7528\u5b8c\u7684\u6642\u5019\uff0c\u4e0d\u7ba1\u6211\u5011\u7684 Prompt \u5beb\u5f97\u591a\u6f02\u4eae\u3001MCP \u63a5\u5f97\u591a\u5b8c\u6574\u3001Agent \u591a\u50cf\u65b0\u540c\u4e8b\uff1b\u5982\u679c\u4e0d\u4e56\u4e56\u628a\u9322\u9322\u638f\u51fa\u4f86\u3001\u8b93\u5b83\u8b8a\u6210 Token \u7684\u5f62\u72c0\uff0c\u5c31\u901a\u901a\u90fd\u53ea\u80fd\u76ef\u8457 Cursor AI \u90a3\u6bcf\u500b\u6708\u91cd\u7f6e\u4e00\u6b21\u7684 Token \u91cf\u767c\u5446\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u63a5\u4e0b\u4f86\uff0c\u6211\u6703\u628a Cursor AI \u7684\u56db\u5927\u6b66\u5668\uff08Rules\u3001Skills\u3001Subagent\u3001MCP\uff09\u7576\u6210\u300c\u7d93\u6fdf\u5b78\u5de5\u5177\u300d\uff0c\u7528\u771f\u5be6\u7684\u6848\u4f8b\uff0c\u91cf\u5316 Token \u6d88\u8017\u524d\u5f8c\u5dee\u7570\uff0c\u8ddf\u5927\u5bb6\u5206\u4eab\u6211\u5f9e\u4e2d\u6574\u7406\u51fa\u4f86\uff0c\u66f4\u6709\u7d93\u6fdf\u6548\u76ca\u7684 Combo \u73a9\u6cd5\u3002"}),"\n",(0,l.jsx)(n.h2,{id:"\u56db\u5927\u6b66\u5668\u7684-token-\u7d93\u6fdf\u5b78",children:"\u56db\u5927\u6b66\u5668\u7684 Token \u7d93\u6fdf\u5b78"}),"\n",(0,l.jsx)(n.p,{children:"\u9996\u5148\uff0c\u5148\u8b93\u6211\u8a66\u8457\u7528\u4e00\u5f35\u8868\u683c\u4f86\u7c21\u55ae\u5217\u51fa\u9019\u4e9b\u5de5\u5177\u53ef\u80fd\u7684\u6210\u672c\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u5148\u8aaa\u5728\u524d\u9762\uff0c\u9019\u5f35\u8868\u4e0d\u662f\u8981\u5e6b\u52a9\u5927\u5bb6\u7cbe\u6e96\u8a08\u50f9\uff0c\u7562\u7adf\u6bcf\u500b\u4eba\u7684\u74b0\u5883\u3001\u6a21\u578b\u3001Rules \u548c MCP \u6578\u91cf\u90fd\u4e0d\u540c\uff0c\u786c\u8981\u53bb\u7b97\u51fa\u4e00\u500b\u7d55\u5c0d\u6578\u5b57\u5176\u5be6\u6c92\u4ec0\u9ebc\u610f\u7fa9\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u9019\u908a\u53ea\u662f\u60f3\u5148\u8b93\u5927\u5bb6\u80fd\u6293\u500b\u5927\u6982\u7684\u611f\u89ba\uff1a\u6709\u4e9b\u5de5\u5177\u770b\u8d77\u4f86\u5f88\u8f15\uff0c\u4f46\u5176\u5be6\u662f\u56fa\u5b9a\u6210\u672c\uff1b\u6709\u4e9b\u5de5\u5177\u770b\u8d77\u4f86\u5f88\u91cd\uff0c\u4f46\u5982\u679c\u7528\u5c0d\u5730\u65b9\uff0c\u53cd\u800c\u53ef\u4ee5\u5e6b\u6211\u5011\u628a\u96dc\u8a0a\u9694\u96e2\u6389\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u4e0d\u7136\u5f88\u5bb9\u6613\u6703\u8b8a\u6210\u300c\u5de5\u5177\u8d8a\u63a5\u8d8a\u591a\uff0cAgent \u8d8a\u8dd1\u8d8a\u8cb4\uff0c\u6700\u5f8c\u9084\u4e0d\u77e5\u9053\u9322\u5230\u5e95\u82b1\u53bb\u54ea\u88e1\u300d\u3002"}),"\n",(0,l.jsxs)(n.table,{children:[(0,l.jsx)(n.thead,{children:(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.th,{children:"\u5de5\u5177"}),(0,l.jsx)(n.th,{children:"Token \u6d88\u8017\u6a5f\u5236"}),(0,l.jsx)(n.th,{children:"ROI \u5224\u65b7"}),(0,l.jsx)(n.th,{children:"\u9069\u5408\u60c5\u5883"}),(0,l.jsx)(n.th,{children:"\u4f7f\u7528\u6642\u8981\u5c0f\u5fc3\u4ec0\u9ebc"})]})}),(0,l.jsxs)(n.tbody,{children:[(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"Rule"}),(0,l.jsx)(n.td,{children:"\u7d93\u5e38\u88ab\u5e36\u9032 input context"}),(0,l.jsx)(n.td,{children:"\u6700\u5bb9\u6613\u9ed8\u9ed8\u8b8a\u8cb4"}),(0,l.jsx)(n.td,{children:"\u9577\u671f\u7a69\u5b9a\u3001\u4e0d\u5e38\u8b8a\u7684\u57fa\u672c\u539f\u5247"}),(0,l.jsx)(n.td,{children:"\u53ea\u653e\u300c\u61b2\u6cd5\u300d\uff0c\u6d41\u7a0b\u7d30\u7bc0\u548c\u5927\u91cf\u7bc4\u4f8b\u5148\u5fcd\u4f4f"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"Skill"}),(0,l.jsx)(n.td,{children:"\u6309\u9700\u6c42\u8f09\u5165"}),(0,l.jsx)(n.td,{children:"\u901a\u5e38\u6700\u9ad8"}),(0,l.jsx)(n.td,{children:"\u91cd\u8907 workflow\u3001SOP\u3001\u56fa\u5b9a\u64cd\u4f5c\u6b65\u9a5f"}),(0,l.jsx)(n.td,{children:"\u628a\u6703\u8b8a\u52d5\u3001\u6703\u5c55\u958b\u7684\u6d41\u7a0b\u653e\u9032 Skill"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"MCP"}),(0,l.jsx)(n.td,{children:"tool schema \u8207 tool response \u6703\u9032 context"}),(0,l.jsx)(n.td,{children:"\u4e2d\u9ad8\uff0c\u4f46\u5f88\u770b\u8a2d\u8a08"}),(0,l.jsx)(n.td,{children:"\u9ad8\u983b\u5916\u90e8\u5de5\u5177\u3001\u7d50\u69cb\u5316\u67e5\u8a62\u3001\u8de8\u7cfb\u7d71\u8b49\u64da\u93c8"}),(0,l.jsx)(n.td,{children:"Server \u7aef\u904e\u6ffe\uff0c\u56de\u6458\u8981\u8207\u4e0b\u4e00\u6b65\u9700\u8981\u7684\u8cc7\u8a0a"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"Subagent"}),(0,l.jsx)(n.td,{children:"\u53e6\u958b context\uff0c\u6703\u6709\u984d\u5916\u6210\u672c"}),(0,l.jsx)(n.td,{children:"\u9069\u5408\u9694\u96e2\u9ad8\u8017\u80fd\u5de5\u4f5c"}),(0,l.jsx)(n.td,{children:"\u9577\u67e5\u8a62\u3001\u5927\u6a94\u6848\u5206\u6790\u3001CI log \u8ffd\u8e64"}),(0,l.jsx)(n.td,{children:"\u7528\u4f86\u9694\u96e2 heavy task\uff0c\u4e0d\u8981\u6feb\u958b"})]})]})]}),"\n",(0,l.jsx)(n.p,{children:"\u6211\u5f8c\u4f86\u81ea\u5df1\u7684\u7406\u89e3\u662f\u9019\u6a23\uff1a"}),"\n",(0,l.jsx)(n.admonition,{title:"\u5c0f\u8a23\u7ac5",type:"tip",children:(0,l.jsx)(n.p,{children:"\u4e0d\u8981\u7528 Rule \u4f86\u8655\u7406\u6d41\u7a0b\uff0cMCP \u8981\u907f\u514d\u56de\u50b3\u539f\u59cb\u8cc
17\u6599\uff0cSubagent \u5225\u62ff\u4f86\u904e\u6ffe\u8cc7\u6599\u3002"})}),"\n",(0,l.jsx)(n.p,{children:"\u9ad8 ROI \u7684\u95dc\u9375\u4e0d\u662f\u628a\u5de5\u5177\u5168\u90e8\u63a5\u4e0a\u53bb\uff0c\u800c\u662f\u4e0d\u8981\u8b93\u6bcf\u500b\u5de5\u5177\u90fd\u8b8a\u6210\u842c\u7528\u81a0\u5e36\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u5de5\u5177\u8d8a\u591a\uff0c\u4e26\u4e0d\u4ee3\u8868 Agent \u8d8a\u8070\u660e\uff1b\u5f88\u591a\u6642\u5019\u53ea\u662f\u4ee3\u8868\u5b83\u6709\u66f4\u591a\u6771\u897f\u53ef\u4ee5\u8aa4\u6703\u3002"}),"\n",(0,l.jsx)(n.h2,{id:"\u6211\u7684\u8ff7\u601dmcp-\u6210\u672c\u771f\u6b63\u767c\u751f\u5728\u54ea\u88e1",children:"\u6211\u7684\u8ff7\u601d\uff1aMCP \u6210\u672c\u771f\u6b63\u767c\u751f\u5728\u54ea\u88e1"}),"\n",(0,l.jsx)(n.p,{children:"\u5728\u8a0e\u8ad6 MCP \u4e4b\u524d\uff0c\u5148\u8b1b\u4e00\u500b\u6211\u81ea\u5df1\u4e00\u958b\u59cb\u4e5f\u641e\u6df7\u7684\u5730\u65b9\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u900f\u904e MCP \u4e0b\u8f09\u5927\u6a94\u6848\u3001\u547c\u53eb API\u3001\u57f7\u884c\u67e5\u8a62\uff0c\u672c\u8eab\u4e0d\u4e00\u5b9a\u6703\u6d88\u8017\u5927\u91cf Token\u3002"}),"\n",(0,l.jsxs)(n.p,{children:["\u771f\u6b63\u6703\u6d88\u8017 Token \u7684\uff0c\u662f ",(0,l.jsx)(n.strong,{children:"MCP Server \u6700\u5f8c\u56de\u50b3\u591a\u5c11\u5167\u5bb9\u7d66 LLM"}),"\u3002"]}),"\n",(0,l.jsx)(n.p,{children:"\u63db\u53e5\u8a71\u8aaa\uff0c\u91cd\u9ede\u4e0d\u662f\u300c\u5de5\u5177\u5728\u80cc\u5f8c\u505a\u4e86\u591a\u5c11\u4e8b\u300d\uff0c\u800c\u662f\u300c\u5de5\u5177\u6700\u5f8c\u628a\u591a\u5c11\u6771\u897f\u5012\u9032 Agent \u7684\u4e0a\u4e0b\u6587\u300d\u3002"}),"\n",(0,l.jsx)(n.p,{children:(0,l.jsx)(n.img,{alt:"\u4f7f\u7528 MCP \u6642\u6703\u6d88\u8017 Token \u6578\u91cf\u793a\u610f\u5716",src:s(96150).A+"",title:"\u4f7f\u7528 MCP \u6642\u6703\u6d88\u8017 Token \u6578\u91cf\u793a\u610f\u5716",width:"1556",height:"1044"})}),"\n",(0,l.jsx)(n.p,{children:"\u5982\u679c MCP \u628a 5MB JSON\u300150 \u5247 Jira comments\u3001\u5b8c\u6574 Jenkins log\u3001\u6574\u9801 HTML \u932f\u8aa4\u9801\u90fd\u539f\u5c01\u4e0d\u52d5\u56de\u50b3\u7d66 Agent\uff0c\u90a3\u4e9b\u5167\u5bb9\u624d\u6703\u8b8a\u6210 Token \u6210\u672c\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u9019\u4e5f\u662f\u6211\u5f8c\u4f86\u6700\u6709\u611f\u7684\u4e00\u4ef6\u4e8b\uff1aMCP \u53ef\u6015\u7684\u5730\u65b9\u4e0d\u662f\u5b83\u80fd\u62ff\u5230\u8cc7\u6599\uff0c\u800c\u662f\u5b83\u592a\u5bb9\u6613\u628a\u300c\u62ff\u5230\u7684\u8cc7\u6599\u300d\u8aa4\u7576\u6210\u300cAgent \u9700\u8981\u77e5\u9053\u7684\u8cc7\u6599\u300d\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u6240\u4ee5 MCP \u6700\u5bb9\u6613\u8e29\u96f7\u7684\u5730\u65b9\u4e0d\u662f\u300c\u80fd\u4e0d\u80fd\u62ff\u5230\u8cc7\u6599\u300d\uff0c\u800c\u662f\uff1a"}),"\n",(0,l.jsx)(n.admonition,{title:"\u5c0f\u8a23\u7ac5",type:"tip",children:(0,l.jsx)(n.p,{children:"MCP Server \u6700\u597d\u5148\u628a\u8cc7\u6599\u6574\u7406\u5230 Agent \u505a\u4e0b\u4e00\u6b65\u6c7a\u7b56\u6240\u9700\u8981\u7684\u6700\u5c0f\u5f62\u72c0\u3002"})}),"\n",(0,l.jsx)(n.h2,{id:"\u771f\u5be6\u6848\u4f8b\u7684-token-\u7d93\u6fdf\u5b78\u5206\u6790",children:"\u771f\u5be6\u6848\u4f8b\u7684 Token \u7d93\u6fdf\u5b78\u5206\u6790"}),"\n",(0,l.jsx)(n.p,{children:"\u63a5\u4e0b\u4f86\u6211\u5011\u5c31\u4f86\u770b\u770b\u5169\u500b\u771f\u5be6\u7684\u6848\u4f8b\uff0c\u770b\u770b\u9019\u5169\u500b\u6848\u4f8b\u5728\u89e3\u6c7a\u554f\u984c\u7684\u80cc\u5f8c\uff0c\u6f5b\u85cf\u4e86\u591a\u5c11\u770b\u4e0d\u5230\u7684\u6210\u672c\u3002"}),"\n",(0,l.jsx)(n.h3,{id:"\u6848\u4f8b-a\u81ea\u5efa-all-in-one-mcp",children:"\u6848\u4f8b A\uff1a\u81ea\u5efa All-in-One MCP"}),"\n",(0,l.jsx)(n.p,{children:"\u5148\u4f86\u770b\u4e00\u500b\u6211\u89ba\u5f97\u5f88\u6709\u4ee3\u8868\u6027\u7684\u5834\u666f\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u5728\u5be6\u4f5c\u591a\u8a9e\u7cfb\u76f8\u95dc\u7684\u9700\u6c42\u6642\uff0c\u539f\u672c\u5de5\u7a0b\u5e2b\u5f97\u8981\u5230 Jira\u3001Jenkins\u3001SharePoint \u548c\u7a0b\u5f0f\u78bc\u4e4b\u9593\u4f86\u56de\u5207\u63db\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u8981\u67e5\u9700\u6c42\u3001\u6293\u6a94\u6848\u3001\u8f49\u683c\u5f0f\u3001\u6539 Code\u3001\u8dd1 CI\u3001\u56de Jira\uff0c\u4e2d\u9593\u7684 context switch \u591a\u5230\u8b93\u4eba\u5f88\u5bb9\u6613\u60f3\u8981\u6454\u9375\u76e4\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u65bc\u662f\u5c31\u6709\u5de5\u7a0b\u5e2b\u505a\u4e86\u4e00\u500b All-in-One MCP\uff0c\u8b93 Cursor AI \u53ef\u4ee5\u76f4\u63a5\u4e32\u8d77\u6574\u689d\u6d41\u7a0b\u3002"}),"\n",(0,l.jsx)(n.p,{children:(0,l.jsx)(n.img,{alt:"\u5c0e\u5165\u81ea\u5efa All-in-One MCP \u7684\u524d\u5f8c\u5c0d\u6bd4",src:s(71820).A+"",title:"\u5c0e\u5165\u81ea\u5efa All-in-One MCP \u7684\u524d\u5f8c\u5c0d\u6bd4",width:"1709",height:"951"})}),"\n",(0,l.jsx)(n.p,{children:"\u5982\u4f55\uff1f\u662f\u4e0d\u662f\u6539\u6210\u53f3\u908a\u7684\u89e3\u6c7a\u65b9\u6848\u4e4b\u5f8c\u8003\u8a66\u5c31\u90fd\u4e00\u767e\u5206\u4e86\uff1f"}),"\n",(0,l.jsx)(n.p,{children:"\u5f9e\u6d41\u7a0b\u6548\u7387\u4f86\u770b\uff0c\u9019\u500b\u65b9\u5411\u771f\u7684\u5f88\u5408\u7406\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u8001\u5be6\u8aaa\uff0c\u5982\u679c\u53ea\u770b\u53f3\u908a\u90a3\u5f35\u5716\uff0c\u6211\u4e5f\u6703\u89ba\u5f97\u9019\u6a23\u5f88\u6f02\u4eae\uff1a\u5de5\u7a0b\u5e2b\u4e0d\u7528\u5728\u4e00\u5806\u7cfb\u7d71\u4e4b\u9593\u4f86\u56de\u5207\u63db\uff0cAgent \u770b\u8d77\u4f86\u4e5f\u7d42\u65bc\u80fd\u5e6b\u4e0a\u6574\u689d\u6d41\u6c34\u7dda\u7684\u5fd9\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u4f46\u662f\u5728\u6211\u4ed4\u7d30\u770b\u5b8c\u9019\u500b\u89e3\u6c7a\u65b9\u6848\u7684\u5be6\u4f5c\u7d30\u7bc0\u4e4b\u5f8c\uff0c\u624d\u767c\u73fe\u5b83\u5728 Token \u7d93\u6fdf\u5b78\u4e0a\u5176\u5be6\u662f\u975e\u5e38\u4e0d\u5212\u7b97\u7684\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u63a5\u4e0b\u4f86\u5c31\u4e00\u6b65\u6b65\u4f86\u8ddf\u5927\u5bb6\u5206\u4eab\u539f\u4f86\u7684\u5be6\u4f5c\u8e29\u4e86\u54ea\u4e9b\u96f7\u3002"}),"\n",(0,l.jsx)(n.admonition,{title:"\u5c0f\u63d0\u9192",type:"note",children:(0,l.jsx)(n.p,{children:"\u4e0b\u9762\u7684\u7a0b\u5f0f\u78bc\u7bc4\u4f8b\u90fd\u5df2\u7d93\u57fa\u65bc\u539f\u59cb\u6848\u4f8b\u505a\u904e\u7c21\u5316\u8207\u53bb\u8b58\u5225\u5316\uff0c\u4e3b\u8981\u662f\u62ff\u4f86\u8aaa\u660e\u6211\u770b\u5230\u7684\u5751\uff0c\u4e0d\u662f\u9084\u539f\u5b8c\u6574\u5be6\u4f5c\u3002"})}),"\n",(0,l.jsx)(n.h3,{id:"token-\u6bba\u624b\u4e00\u628a\u5927\u578b-json-\u76f4\u63a5\u56de\u50b3\u7d66-agent",children:"Token \u6bba\u624b\u4e00\uff1a\u628a\u5927\u578b JSON \u76f4\u63a5\u56de\u50b3\u7d66 Agent"}),"\n",(0,l.jsxs)(n.p,{children:["\u539f\u672c\u7684 SharePoint tool \u540c\u6642\u652f\u63f4 Excel \u8207 JSON\u3002Excel \u5206\u652f\u6709\u7528 ",(0,l.jsx)(n.code,{children:"maxRows = 10"})," \u9650\u5236\u56de\u50b3\u7b46\u6578\uff0c\u4f46 JSON \u5206\u652f\u537b\u76f4\u63a5\u628a\u6574\u5305\u6a94\u6848 parse \u5f8c\u56de\u50b3\u3002"]}),"\n",(0,l.jsx)(n.pre,{children:(0,l.jsx)(n.code,{className:"language-javascript",metastring:'title="sharepoint-client.js"',children:"async function readSharePointFile(sharePointUrl, driveId = null, sheetName = null, maxRows = 10) {\n    // ...\n    if (fileType === 'json') {\n        // \u554f\u984c\uff1a\u76f4\u63a5\u628a\u6574\u5305 JSON parse \u5b8c\u56de\u50b3\u3002\n        const jsonContent = JSON.parse(fileBuffer.toString('utf-8'));\n        return {\n            fileName: fileName,\n            content: jsonContent,\n            type: 'json'\n        };\n    } else if (fileType === 'excel') {\n        // Excel \u5206\u652f\u6709\u4f7f\u7528 maxRows \u9650\u5236\u56de\u50b3\u7b46\u6578\u3002\n        const dataObjects = allData.slice(1, maxRows + 1).map(row => { ... });\n        result[targetSheetName] = dataObjects;\n        return { fileName: fileName, sheets: result, type: 'excel' };\n    }\n}\n"})}),"\n",(0,l.jsx)(n.p,{children:"\u9019\u7a2e\u8a2d\u8a08\u5728\u8cc7\u6599\u5c0f\u7684\u6642\u5019\u770b\u4e0d\u51fa\u554f\u984c\uff0c\u751a\u81f3\u9084\u6703\u89ba\u5f97\u300c\u5f88\u65b9\u4fbf\u554a\uff0cAgent \u4e00\u6b21\u90fd\u62ff\u5230\u4e86\u300d\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u4f46\u662f\u5982\u679c\u54ea\u5929\u8cc7\u6599\u91cf\u8b8a\u5927\uff0c\u4e0b\u8f09\u5230\u7684 JSON \u6a94\u7684\u5bb9\u91cf\u9054\u6578 MB\uff0c\u6578\u5341\u842c\u7684 Token \u53ef\u80fd\u6703\u99ac\u4e0a\u5674\u5149\u3002\u9019\u9664\u4e86\u6703\u9020\u6210\u9ad8\u6602\u7684 API \u6210\u672c\uff0c\u9084\u6703\u89f8\u767c LLM \u7684 context \u8ff7\u5931\uff08Lost in the middle\uff09\uff0c\u5927\u5e45\u964d\u4f4e\u63a8\u7406\u54c1\u8cea\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u5982\u679c\u628a JSON \u4e0b\u8f09\u5230\u672c\u5730\uff0ctool response \u53ea\u56de\u50b3\u8def\u5f91\u3001\u5927\u5c0f\u3001\u683c\u5f0f\u3001\u6b04\u4f4d\u6458\u8981\u6216 sample\uff0c\u5c31\u6703\u597d\u5f88\u591a\uff0c\u4f8b\u5982\uff1a"}),"\n",(0,l.jsx)(n.pre,{children:(0,l.jsx)(n.code,{className:"language-json",children:'{\n  "ok": true,\n  "file": {\n    "path": ".cursor/tmp/translations.json",\n    "sizeBytes": 2148920,\n    "type": "json",\n    "preview": {\n      "topLevelType": "array",\n      "sampleC
1ount": 3\n    }\n  },\n  "nextActionHint": "Read the local file with a script instead of loading the full content into context."\n}\n'})}),"\n",(0,l.jsx)(n.p,{children:"Agent \u9700\u8981\u77e5\u9053\u8cc7\u6599\u5728\u54ea\u88e1\uff0c\u4e0d\u9700\u8981\u628a\u6574\u5305\u8cc7\u6599\u90fd\u8b80\u9032\u8166\u888b\u88e1\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u9019\u500b\u5dee\u5225\u770b\u8d77\u4f86\u5c0f\uff0c\u4f46\u662f Token \u5e33\u55ae\u6703\u5f88\u8aa0\u5be6\u3002"}),"\n",(0,l.jsx)(n.h3,{id:"token-\u6bba\u624b\u4e8cjira-comments-\u7121\u9650\u5236\u5c55\u958b",children:"Token \u6bba\u624b\u4e8c\uff1aJira comments \u7121\u9650\u5236\u5c55\u958b"}),"\n",(0,l.jsx)(n.p,{children:"\u53e6\u4e00\u500b\u5f88\u5bb9\u6613\u4e0d\u5c0f\u5fc3\u505a\u904e\u982d\u7684\u5730\u65b9\uff0c\u662f\u91dd\u5c0d Jira ticket \u7684\u6240\u6709\u6b77\u53f2\u7559\u8a00\u9032\u884c\u8f09\u5165\u3002"}),"\n",(0,l.jsx)(n.pre,{children:(0,l.jsx)(n.code,{className:"language-javascript",metastring:'title="get_jira_issue.js"',children:"if (issue.comments && issue.comments.length > 0) {\n    message += `\\n\\n**\u7559\u8a00** (\u5171 ${issue.comments.length} \u5247):\\n`;\n    issue.comments.forEach((comment, index) => {\n        message += `\\n---\\n`;\n        message += `**${index + 1}. ${comment.author?.name || 'Unknown'}**`;\n        message += `\\n\\n${comment.body || '(\u7121\u5167\u5bb9)'}`;\n    });\n}\n"})}),"\n",(0,l.jsx)(n.p,{children:"\u6488\u56de\u6240\u6709\u7559\u8a00\u672c\u8eab\u96d6\u7136\u8aaa\u4e0d\u662f\u7f6a\u5927\u60e1\u6975\uff0c\u4f46\u662f Agent \u901a\u5e38\u4e0d\u9700\u8981\u8b80\u5b8c\u5168\u90e8\u7684\u7559\u8a00\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u4ee5\u591a\u8a9e\u7cfb\u9700\u6c42\u4f86\u8aaa\uff0cAgent \u9700\u8981\u7684\u662f\u548c\u7ffb\u8b6f\u3001\u6b04\u4f4d\u3001\u6a94\u6848\u3001\u9a57\u6536\u689d\u4ef6\u76f8\u95dc\u7684\u7559\u8a00\uff0c\u50cf\u662f GitLab \u81ea\u52d5\u7522\u751f\u7684 commit log \u6216 pipeline \u901a\u77e5\u9019\u4e9b\u6771\u897f\uff0c\u9023\u4eba\u770b\u4e86\u90fd\u6703\u8df3\u904e\uff0c\u66f4\u4e0d\u7528\u8aaa\u9084\u8981\u82b1 Token \u8acb Agent \u8b80\u4e00\u904d\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u6bd4\u8f03\u597d\u7684 response \u53ef\u4ee5\u50cf\u9019\u6a23\uff1a"}),"\n",(0,l.jsx)(n.pre,{children:(0,l.jsx)(n.code,{className:"language-json",children:'{\n  "ok": true,\n  "issueKey": "APP-1234",\n  "summary": "Update i18n resources for checkout flow",\n  "comments": {\n    "total": 42,\n    "returned": 5,\n    "truncated": true,\n    "selectionReason": "latest comments with i18n-related keywords",\n    "items": [\n      {\n        "author": "QA",\n        "createdAt": "2026-04-20T10:30:00+08:00",\n        "bodyPreview": "Please update checkout.title and checkout.cta..."\n      }\n    ]\n  }\n}\n'})}),"\n",(0,l.jsx)(n.p,{children:"\u4e26\u4e0d\u662f\u8aaa comments \u90fd\u4e0d\u8981\u7d66\uff0c\u800c\u662f\u8b93 Agent \u77e5\u9053\uff1a\u7e3d\u5171\u6709\u591a\u5c11\u3001\u9019\u6b21\u56de\u4e86\u591a\u5c11\u3001\u70ba\u4ec0\u9ebc\u53ea\u56de\u9019\u4e9b\u3001\u5982\u679c\u9700\u8981\u66f4\u591a\u8a72\u600e\u9ebc\u8fa6\u3002"}),"\n",(0,l.jsx)(n.h3,{id:"token-\u6bba\u624b\u4e09\u904e\u80a5\u7684\u932f\u8aa4\u8a0a\u606f",children:"Token \u6bba\u624b\u4e09\uff1a\u904e\u80a5\u7684\u932f\u8aa4\u8a0a\u606f"}),"\n",(0,l.jsx)(n.p,{children:"\u5916\u90e8\u7684 API \u932f\u8aa4\u4e5f\u5f88\u5bb9\u6613\u8b8a\u6210 Token \u9ed1\u6d1e\uff0c\u800c\u4e14\u9019\u4e9b Token \u6703\u82b1\u5f97\u5f88\u51a4\u6789\u3002"}),"\n",(0,l.jsx)(n.pre,{children:(0,l.jsx)(n.code,{className:"language-javascript",metastring:'title="sharepoint-client.js"',children:"res.on('end', () => {\n  if (res.statusCode >= 200 && res.statusCode < 300) {\n    // ...\n  } else {\n    // \u554f\u984c\uff1a\u5b8c\u6574 response body \u6703\u88ab\u585e\u9032\u932f\u8aa4\u8a0a\u606f\u3002\n    reject(new Error(`HTTP ${res.statusCode}: ${data}`));\n  }\n});\n"})}),"\n",(0,l.jsx)(n.p,{children:"\u5982\u679c\u5916\u90e8\u7684 API \u56de\u50b3\u7684\u662f\u4e00\u6574\u9801 HTML \u932f\u8aa4\u9801\uff0c\u9019\u6574\u4efd payload \u5176\u5be6\u5c0d Agent \u7684\u4e0b\u4e00\u6b65\u5224\u65b7\u5e6b\u52a9\u6709\u9650\uff0c\u537b\u6703\u7167\u6a23\u8b8a\u6210\u88ab\u82b1\u6389\u7684 Token\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u66f4\u8b93\u4eba\u7121\u8a00\u7684\u662f\uff0cAgent \u8b80\u5b8c\u901a\u5e38\u4e5f\u53ea\u80fd\u5f97\u51fa\u300cAPI \u58de\u4e86\u300d\u9019\u7a2e\u7d50\u8ad6\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u6bd4\u8f03\u5efa\u8b70\u7684\u4f5c\u6cd5\u6703\u662f\uff1a\u5b8c\u6574\u932f\u8aa4\u7559\u5728 MCP Server log\uff0c\u56de\u7d66 Agent \u7684\u53ea\u662f\u4e00\u500b\u53ef\u884c\u52d5\u3001\u9650\u5236\u9577\u5ea6\u3001\u53bb\u9664\u6a5f\u654f\u8cc7\u6599\u7684\u6458\u8981\u3002"}
1),"\n",(0,l.jsx)(n.p,{children:"\u50cf\u4e0b\u9762\u9019\u6a23\uff1a"}),"\n",(0,l.jsx)(n.pre,{children:(0,l.jsx)(n.code,{className:"language-json",children:'{\n  "ok": false,\n  "error": {\n    "type": "external_api_error",\n    "service": "SharePoint",\n    "operation": "download_sharepoint_sheet",\n    "statusCode": 502,\n    "retryable": true,\n    "message": "SharePoint returned 502 Bad Gateway",\n    "hint": "Retry later or verify SharePoint availability.",\n    "detailPreview": "<html><title>Bad Gateway</title>..."\n  }\n}\n'})}),"\n",(0,l.jsx)(n.h3,{id:"token-\u6bba\u624b\u56db\u5de5\u5177\u5951\u7d04\u4e0d\u4e00\u81f4",children:"Token \u6bba\u624b\u56db\uff1a\u5de5\u5177\u5951\u7d04\u4e0d\u4e00\u81f4"}),"\n",(0,l.jsx)(n.p,{children:"\u5728\u770b\u7a0b\u5f0f\u78bc\u7684\u6642\u5019\u6211\u4e5f\u610f\u5916\u767c\u73fe\u53e6\u4e00\u500b\u5c0f\u554f\u984c\uff0c\u96d6\u7136\u5b83\u4e0d\u80fd\u7b97\u662f\u7b2c\u4e00\u7dda\u7684 Token \u9ed1\u6d1e\uff0c\u4f46\u662f\u5b83\u4ecd\u7136\u6709\u6a5f\u6703\u5c0e\u81f4 Agent \u9032\u884c\u7121\u7aae\u7684\u91cd\u8a66\u8ff4\u5708\uff0c\u800c\u8b93 Token \u6191\u767d\u6d6a\u8cbb\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u9019\u500b\u554f\u984c\u5c0f\u5230\u5982\u679c\u6c92\u4ed4\u7d30\u770b\u7684\u8a71\u53ef\u80fd\u6c38\u9060\u90fd\u4e0d\u6703\u88ab\u767c\u73fe\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u7c21\u55ae\u7684\u8aaa\uff0c\u5de5\u7a0b\u5e2b\u5728\u6574\u500b\u6d41\u7a0b\u4e2d\u8a2d\u8a08\u4e86\u4e00\u500b Skill\uff0c\u7528\u4f86\u8655\u7406\u8a9e\u7cfb xlsx \u6a94 \u2192 JSON \u6a94\u7684\u8f49\u63db\u3002"}),"\n",(0,l.jsxs)(n.p,{children:["Skill \u6a94\u88e1\u6559 Agent \u50b3 ",(0,l.jsx)(n.code,{children:"outputPath"}),"\uff1a"]}),"\n",(0,l.jsx)(n.pre,{children:(0,l.jsx)(n.code,{className:"language-text",metastring:'title="SKILL.md"',children:"Use MCP tool to download the sheet.\nCall the tool with outputPath set to translations_input. \nmcp_download_sharepoint_sheet\nfileName: my_file_name\nsheetName: my_localization\noutputPath: translations_input\nThen download the file using the returned URL and execute the processing script\nnode index.js\n"})}),"\n",(0,l.jsxs)(n.p,{children:["\u4f46\u662f MCP tool \u88e1\u5be6\u969b\u4f7f\u7528\u7684\u662f ",(0,l.jsx)(n.code,{children:"outputFileName"})," \u9019\u500b\u53c3\u6578\uff1a"]}),"\n",(0,l.jsx)(n.pre,{children:(0,l.jsx)(n.code,{className:"language-js",metastring:'title="tools/definitions.js"',children:'outputFileName: {\n  type: "string",\n  description: "\u8f38\u51fa\u6a94\u6848\u540d\u7a31",\n}\n'})}),"\n",(0,l.jsxs)(n.p,{children:["Handler \u4e5f\u53ea\u8b80 ",(0,l.jsx)(n.code,{children:"outputFileName"}),"\uff1a"]}),"\n",(0,l.jsx)(n.pre,{children:(0,l.jsx)(n.code,{className:"language-javascript",metastring:'title="tools/handlers.js"',children:"const { fileName, sheetName, siteName, outputFileName } = args;\nconst finalFileName = outputFileName || `${sanitizedSheetName}.xlsx`;\nconst outputPath = path.join(targetDir, finalFileName);\n"})}),"\n",(0,l.jsx)(n.p,{children:"\u6240\u4ee5\u7576 Agent \u81ea\u52d5\u547c\u53eb Skill \u8981\u9032\u884c\u6a94\u6848\u7684\u8f49\u63db\u6642\uff0c\u53ef\u80fd\u6703\u767c\u751f\u4e0b\u5217\u72c0\u6cc1\uff1a"}),"\n",(0,l.jsx)(n.mermaid,{value:"flowchart LR\n    A[Skill \u5beb outputPath] --\x3e B[Agent \u7167\u8457\u547c\u53eb MCP]\n    B --\x3e C[Handler \u53ea\u8b80 outputFileName]\n    C --\x3e D[outputPath \u88ab\u5ffd\u7565]\n    D --\x3e E[\u4f7f\u7528\u9810\u8a2d sheetName.xlsx]\n    E --\x3e F[\u5f8c\u7e8c\u6d41\u7a0b\u6a94\u540d\u4e0d\u4e00\u81f4]\n    F --\x3e G[Agent \u81ea\u52d5\u9032\u5165\u88dc\u6551\u8ff4\u5708]"}),"\n",(0,l.jsx)(n.p,{children:"\u554f\u984c\u6703\u51fa\u5728\u6700\u5f8c\u4e00\u6b65\uff0cAgent \u53ef\u80fd\u70ba\u4e86\u81ea\u52d5\u4fee\u5fa9\u6574\u500b\u6d41\u7a0b\uff0c\u5c31\u6703\u81ea\u52d5\u9032\u5165\u88dc\u6551\u8ff4\u5708\uff0c\u591a\u8dd1\u4e86\u597d\u5e7e\u8f2a\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u9019\u7a2e\u554f\u984c\u4e0d\u4e00\u5b9a\u6703\u8b93\u55ae\u6b21 tool response \u8b8a\u5927\uff0c\u4f46\u6703\u8b93 Agent \u591a\u8dd1\u597d\u5e7e\u8f2a\u3002\u8868\u9762\u4e0a\u770b\u8d77\u4f86 Agent \u5f88\u52aa\u529b\uff0c\u5be6\u969b\u4e0a Token \u90fd\u82b1\u5728\u66ff\u6d41\u7a0b\u8a2d\u8a08\u9084\u50b5\u3002"}),"\n",(0,l.jsx)(n.h3,{id:"\u6848\u4f8b-a-\u7684\u6539\u5584\u5efa\u8b70",children:"\u6848\u4f8b A \u7684\u6539\u5584\u5efa\u8b70"}),"\n",(0,l.jsx)(n.p,{children:"\u628a\u6848\u4f8b A \u7684\u554f\u984c\u91cd\u65b0\u6574\u7406\u5f8c\uff0c\u6211\u6703\u5efa\u8b70\u4f9d\u7167\u4e0b\u9762\u9
1019\u5f35\u8868\u683c\u7684\u5167\u5bb9\u9032\u884c\u6539\u5584\uff1a"}),"\n",(0,l.jsxs)(n.table,{children:[(0,l.jsx)(n.thead,{children:(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.th,{children:"\u5143\u4ef6"}),(0,l.jsx)(n.th,{children:"\u539f\u59cb\u98a8\u96aa"}),(0,l.jsx)(n.th,{children:"\u5efa\u8b70\u505a\u6cd5"})]})}),(0,l.jsxs)(n.tbody,{children:[(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"MCP Server"}),(0,l.jsx)(n.td,{children:"\u55ae\u4e00 Server \u585e\u9032 Jira / CI / SharePoint \u591a\u7a2e\u5de5\u5177"}),(0,l.jsx)(n.td,{children:"\u4f9d\u7528\u9014\u62c6\u5206\uff0c\u6216\u5148\u8b93\u6bcf\u500b\u5de5\u5177\u53ea\u66b4\u9732\u5fc5\u8981\u80fd\u529b"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"tool response"}),(0,l.jsx)(n.td,{children:"\u56de\u5168\u6587\u3001\u5b8c\u6574 comments\u3001\u5b8c\u6574 error payload"}),(0,l.jsx)(n.td,{children:"\u9810\u8a2d\u56de summary / sample / path\uff0c\u9700\u8981\u6642\u518d\u5c55\u958b"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"SharePoint \u6a94\u6848"}),(0,l.jsx)(n.td,{children:"JSON \u6216\u6587\u5b57\u6a94\u53ef\u80fd\u6574\u5305\u56de\u50b3"}),(0,l.jsx)(n.td,{children:"\u5927\u6a94\u6848\u6539\u8d70\u4e0b\u8f09\u578b tool\uff0c\u53ea\u56de metadata \u8207\u672c\u5730\u8def\u5f91"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"i18n \u8f49\u63db"}),(0,l.jsx)(n.td,{children:"\u5de5\u5177\u5951\u7d04\u4e0d\u4e00\u81f4"}),(0,l.jsx)(n.td,{children:"\u5c0d\u9f4a\u53c3\u6578\u540d\u7a31\u3001\u8f38\u51fa\u6a94\u540d\u8207\u5f8c\u7e8c\u8173\u672c"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"Jira \u67e5\u8a62"}),(0,l.jsx)(n.td,{children:"\u9810\u8a2d 50 \u7b46\u3001comments \u5168\u5c55\u958b"}),(0,l.jsx)(n.td,{children:"\u964d\u4f4e\u9810\u8a2d\u7b46\u6578\uff0ccomments \u9650\u5236\u9577\u5ea6\u4e26\u6a19\u8a3b truncated"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"\u5916\u90e8\u932f\u8aa4"}),(0,l.jsx)(n.td,{children:"\u5b8c\u6574 response body \u56de\u50b3"}),(0,l.jsx)(n.td,{children:"\u7d50\u69cb\u5316\u6458\u8981\u3001\u9650\u5236\u9577\u5ea6\u3001\u53bb\u9664\u6a5f\u654f\u8cc7\u6599\u3001\u6a19\u8a18\u662f\u5426\u53ef\u91cd\u8a66"})]})]})]}),"\n",(0,l.jsx)(n.h2,{id:"\u6848\u4f8b-b\u5c0e\u5165\u6df7\u5408\u5f0f-mcp-\u4e5f\u53ef\u80fd\u8e29\u96f7",children:"\u6848\u4f8b B\uff1a\u5c0e\u5165\u6df7\u5408\u5f0f MCP \u4e5f\u53ef\u80fd\u8e29\u96f7"}),"\n",(0,l.jsx)(n.p,{children:"\u6848\u4f8b B \u7684\u65b9\u5411\u6bd4\u6848\u4f8b A \u66f4\u597d\u4e00\u9ede\uff1a\u5b83\u6c92\u6709\u628a\u6240\u6709\u6771\u897f\u9
10fd\u585e\u9032\u540c\u4e00\u500b MCP\uff0c\u800c\u662f\u628a MCP \u5206\u6210\u5168\u57df MCP \u548c\u5c08\u6848\u5167 MCP\u3002"}),"\n",(0,l.jsx)(n.p,{children:(0,l.jsx)(n.img,{alt:"\u5c0e\u5165\u6df7\u5408\u5f0f MCP \u7684\u524d\u5f8c\u5c0d\u6bd4",src:s(92048).A+"",title:"\u5c0e\u5165\u6df7\u5408\u5f0f MCP \u7684\u524d\u5f8c\u5c0d\u6bd4",width:"1712",height:"950"})}),"\n",(0,l.jsxs)(n.p,{children:["\u9019\u7a2e\u5206\u5c64\u78ba\u5be6\u6bd4\u8f03\u5065\u5eb7\uff0c\u4e5f\u6bd4\u8f03\u7b26\u5408\u6cbb\u7406\u548c\u8cc7\u5b89\u9700\u6c42\u3002\u4f46\u662f\uff1a",(0,l.jsx)(n.strong,{children:"\u5206\u5c64\u4e0d\u4ee3\u8868 Token \u554f\u984c\u5c31\u6703\u81ea\u52d5\u6d88\u5931"}),"\u3002"]}),"\n",(0,l.jsx)(n.p,{children:"\u8b93\u6211\u5011\u7e7c\u7e8c\u770b\u4e0b\u53bb~~"}),"\n",(0,l.jsx)(n.h3,{id:"token-\u6bba\u624bdb-mcp-\u7684\u67e5\u8a62\u7d50\u679c\u592a\u5927",children:"Token \u6bba\u624b\uff1aDB MCP \u7684\u67e5\u8a62\u7d50\u679c\u592a\u5927"}),"\n",(0,l.jsx)(n.p,{children:"\u6848\u4f8b B \u88e1\uff0c\u5de5\u7a0b\u5e2b\u900f\u904e DB MCP \u8b93 Agent \u67e5 schema\u3001\u7522\u751f migration script\uff0c\u751a\u81f3\u5354\u52a9\u8abf\u6574\u8cc7\u6599\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u4f46\u662f\u5728\u5be6\u969b\u7684\u904b\u884c\u4e2d\uff0cDB MCP \u56de\u50b3\u4e86\u904e\u591a\u7684\u8cc7\u6599\uff0c\u5c0e\u81f4 Agent \u7684 Context Window \u88ab\u585e\u7206\uff0c\u751a\u81f3\u4e5f\u51fa\u73fe\u4e86\u300cLost in the middle\u300d\u7684\u72c0\u6cc1\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u8209\u4f8b\u4f86\u8aaa\uff0cJira \u7684 QT \u55ae\u53ea\u63cf\u8ff0\u300c\u67d0\u500b\u6b04\u4f4d\u9577\u5ea6\u9700\u8981\u8abf\u6574\u300d\uff0c\u4f46\u662f\u6c92\u8a3b\u660e\u662f\u54ea\u500b\u8cc7\u6599\u8868\uff0c\u6240\u4ee5 MCP \u5c31\u6703\u6383\u4e00\u8f2a\u6240\u6709\u7684\u8cc7\u6599\u8868\uff0c\u628a\u7b26\u5408\u689d\u4ef6\u7684\u8cc7\u6599\u8868\u90fd\u56de\u50b3\u7d66 Agent\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u5982\u679c\u8981\u6539\u7684\u8cc7\u6599\u8868\u5176\u5be6\u53ea\u6709\u4e00\u500b\uff0c\u4f46\u662f\u8cc7\u6599\u5eab\u4e2d\u6709\u4e8c\u5341\u500b\u8cc7\u6599\u8868\u90fd\u6709\u7b26\u5408\u689d\u4ef6\u7684\u6b04\u4f4d\uff0c\u90a3\u56de\u50b3\u7684\u8cc7\u6599\u53ef\u80fd\u5c31\u6703\u6d6a\u8cbb\u539f\u672c\u5341\u4e5d\u500d\u4ee5\u4e0a\u7684 Token\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u9019\u548c\u6848\u4f8b A \u7684\u672c\u8cea\u4e00\u6a23\uff1aMCP Server \u6c92\u6709\u5148\u5728 Server \u7aef\u5e6b Agent \u7be9\u904e\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u6211\u6703\u5e0c\u671b DB tool response \u4e0d\u8981\u53ea\u662f\u4e00\u5927\u5305\u67e5\u8a62\u7d50\u679c\uff0c\u800c\u662f\u5148\u6574\u7406\u6210 Agent \u80fd\u5224\u65b7\u7684\u5019\u9078\u6e05\u55ae\uff0c\u4f8b\u5982\uff1a"}),"\n",(0,l.jsx)(n.pre,{children:(0,l.jsx)(n.code,{className:"language-json",children:'{\n  "ok": true,\n  "queryIntent": "Find candidate columns for max length update",\n  "candidates": {\n    "total": 20,\n    "returned": 5,\n    "truncated": true,\n    "rankingReason": "matched table prefix, column name, and recent migration history"\n  },\n  "items": [\n    {\n      "schema": "billing",\n      "table": "invoice_item",\n      "column": "display_name",\n      "type": "varchar(50)",\n      "confidence": "high",\n      "reason": "column name and table domain match Jira description"\n    }\n  ],\n  "nextActionHint": "Ask user to confirm the target table before generating migration."\n}\n'})}),"\n",(0,l.jsx)(n.p,{children:"\u9019\u6a23 Agent \u4e0d\u6703\u88ab\u786c\u585e\u3001\u8b80\u5b8c\u6574\u500b\u8cc7\u6599\u5eab\u7684\u6383\u63cf\u7d50\u679c\uff0c\u800c\u662f\u62ff\u5230\u4e00\u500b\u53ef\u5224\u65b7\u3001\u53ef\u8ffd\u554f\u3001\u53ef\u6536\u6582\u7684\u6e05\u55ae\uff1b\u540c\u6642\uff0c\u4eba\u985e\u5728 Review \u6642\u4e5f\u6bd4\u8f03\u4e0d\u6703\u770b\u5230\u61f7\u7591\u4eba\u751f\u3002"}),"\n",(0,l.jsx)(n.h2,{id:"\u5168\u57df-mcp-vs-\u5c08\u6848\u5167-mcp",children:"\u5168\u57df MCP vs \u5c08\u6848\u5167 MCP"}),"\n",(0,l.jsx)(n.p,{children:"MCP \u5206\u5c64\u4e0d\u53ea\u662f\u6cbb\u7406\u6216\u8cc7\u5b89\u554f\u984c\uff0c\u4e5f\u6703\u76f4\u63a5\u5f71\u97ff Token \u6210\u672c\u8207\u5de5\u5177\u9078\u64c7\u6210\u672c\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u7c21\u55ae\u7684\u5206\u6cd5\u5982\u4e0b\uff1a"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.strong,{children:"\u5168\u57df MCP"}),"\uff1a\u653e\u5728 ",(0,l.jsx)(n.code,{children:"~/.cursor/mcp.json"}),"\uff0c\u4f8b\u5982 Jira\u3001GitLab\u3001Jenkins \u9019\u4e9b\u8de8\u5c08\u6848\u9ad8\u983b\u5de5\u5177\u3002"]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.strong,{children:"\u5c08\u6848\u5167 MCP"}),"\uff1a\u653e\u5728 ",(0,l.jsx)(n.code,{children:"<repo>/.cursor/mcp.json"})," \u6216\u985e\u4f3c\u5c08\u6848\u8a2d\u5b9a\u88e1\uff0c\u4f8b\u5982 DB\u3001Redis\u3001\u7279\u5b9a\u74b0\u5883\u5f8c\u53f0\u5de5\u5177\u3002"]}),"\n"]}),"\n",(0,l.jsx)(n.h3,{id:"\u5168\u57df-mcp\u5927\u5bb6\u90fd\u80fd\u7528\u7684\u5e73\u6c11\u6b66\u5668",children:"\u5168\u57df MCP\uff1a\u5927\u5bb6\u90fd\u80fd\u7528\u7684\u5e73\u6c11\u6b66\u5668"}),"\n",(0,l.jsx)(n.p,{children:"\u5168\u57df MCP \u7684\u597d\u8655\u662f\u8ddf\u8457\u4eba\u8d70\uff0c\u6240\u6709\u7684 Repo \u90fd\u80fd\u7528\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u50cf Jira \u67e5\u55ae\u3001GitLab MR\u3001Jenkins build summary \u9019\u985e\u578b\u5e38\u7528\u7684\u8de8\u5c08\u6848\u5de5\u5177\uff0c\u5c31\u5f88\u9069\u5408\u653e\u5168\u57df\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u5b83\u5011\u7684\u5171\u540c\u7279\u5fb5\u662f\uff1a"}),"\n",(0,l.jsxs)(n.ol,{children:["\n",(0,l.jsx)(n.li,{children:"\u591a\u6578 Repo \u90fd\u7528\u5f97\u5230\u3002"}),"\n",(0,l.jsx)(n.li,{children:"\u4e0d\u548c\u7279\u5b9a schema \u6216\u74b0\u5883\u5f37\u7d81\u5b9a\u3002"}),"\n",(0,l.jsx)(n.li,{children:"\u56de\u50b3\u5167\u5bb9\u53ef\u4ee5\u7a69\u5b9a\u63a7\u5236\u5728\u5c0f\u7bc4\u570d\u3002"}),"\n",(0,l.jsx)(n.li,{children:"\u4e0d\u5c0f\u5fc3\u7528\u932f\u6642\u7684\u5f71\u97ff\u7bc4\u570d\u76f8\u5c0d\u5c0f\u3002"}),"\n"]}),"\n",(0,l.jsx)(n.p,{children:"\u4f46\u5168\u57df MCP \u7684\u58de\u8655\u4e5f\u5f88\u660e\u986f\uff1a\u4e00\u65e6\u653e\u9032\u5168\u57df\uff0c\u5b83\u53ef\u80fd\u5728\u67d0\u4e9b\u4e0d\u9700\u8981\u5b83\u7684\u5de5\u4f5c\u968e\u6bb5\u88e1\u4e5f\u8b8a\u6210\u5de5\u5177\u7684\u5019\u9078\u540d\u55ae\u3002"}),"\n",(0,l.jsx)(n.h3,{id:"\u5c08\u6848\u5167-mcp\u7279\u5b9a\u89d2\u8272\u624d\u80fd\u7528\u7684\u5c08\u6b66",children:"\u5c08\u6848\u5167 MCP\uff1a\u7279\u5b9a\u89d2\u8272\u624d\u80fd\u7528\u7684\u5c08\u6b66"}),"\n",(0,l.jsx)(n.p,{children:"\u5c08\u6848\u5167 MCP \u7684\u597d\u8655\u662f\u908a\u754c\u6e05\u695a\uff0c\u53ea\u6709\u5728\u5c08\u6848\u5167\u7684\u7bc4\u570d\u624d\u80fd\u4f7f\u7528\u3002"}),"\n",(0,l.jsx)(n.p,{children:"DB / Redis \u9019\u7a2e\u8ddf Repo\u3001Schema \u6216\u662f\u548c\u74b0\u5883\u5f37\u7d81\u5b9a\u7684\u5de5\u5177\uff0c\u5c31\u6bd4\u8f03\u9069\u5408\u653e\u5728\u5c08\u6848\u5167\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u9019\u6a23 Agent \u53ea\u6709\u5728\u958b\u5230\u8a72 Repo \u6642\uff0c\u624d\u6703\u770b\u5230\u9019\u4e9b\u5de5\u5177\uff0c\u4e5f\u6bd4\u8f03\u4e0d\u6703\u5728\u4e0d\u76f8\u95dc\u7684\u4efb\u52d9\u88e1\u8aa4\u67e5\u8cc7\u6599\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u4f46\u9019\u88e1\u6709\u500b\u5bb9\u6613\u6df7\u6dc6\u7684\u9ede\uff1a"}),"\n",(0,l.jsx)(n.admonition,{title:"\u5c0f\u63d0\u9192",type:"note",children:(0,l.jsx)(n.p,{children:"Rules \u7684\u4f5c\u7528\u7bc4\u570d\uff0c\u4e0d\u7b49\u65bc MCP tools \u7684\u53ef\u7528\u7bc4\u570d\u3002"})}),"\n",(0,l.jsx)(n.p,{children:"Cursor \u7684 Project Rules \u53ef\u4ee5\u900f\u904e Nested Rules\u3001glob\u3001Manual\u3001Agent Requested \u7b49\u6a5f\u5236\uff0c\u8cbc\u8fd1\u7279\u5b9a\u6a94\u6848\u6216\u4efb\u52d9\uff1b\u63db\u53e5\u8a71\u8aaa\uff0cRules \u6bd4\u8f03\u50cf\u662f\u300c\u8d8a\u9760\u8fd1\u76ee\u524d\u5de5\u4f5c\uff0c\u5c31\u8d8a\u53ef\u80fd\u88ab\u5e36\u9032\u4e0a\u4e0b\u6587\u300d\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u4f46 MCP tools \u66f4\u50cf\u662f\u300c\u5df2\u555f\u7528\u5de5\u5177\u6e05\u55ae\u4e2d\u7684\u5019\u9078\u80fd\u529b\u300d\u3002Agent \u6703\u4f9d\u4efb\u52d9\u76f8\u95dc\u6027\u9078\u7528\u5de5\u5177\uff0c\u4f7f\u7528\u8005\u4e5f\u80fd\u5728\u6e05\u55ae\u4e2d\u555f\u7528\u6216\u505c\u7528\uff1b\u4f46\u9019\u4e0d\u4ee3\u8868\u53ef\u4ee5\u5b8c\u5168\u4f9d\u8cf4\u300c\u6700\u8fd1\u7684 Repo MCP\u300d\u4f86\u9694\u96e2\u6240\u6709\u5de5\u5177\u3002"}),"\n",(0,l.jsx)(n.h3,{id:"multi-root-workspace-\u6703\u653e\u5927\u5de5\u5177\u6c7a\u7b56\u7a7a\u9593",children:"Multi-root Worksp
1ace \u6703\u653e\u5927\u5de5\u5177\u6c7a\u7b56\u7a7a\u9593"}),"\n",(0,l.jsx)(n.p,{children:"Multi-root Workspace\uff08\u4e5f\u5c31\u662f\u524d\u9762\u5e7e\u7bc7\u6587\u7ae0\u63d0\u5230\u7684\u5927\u6df7\u6230\u958b\u767c\u6a21\u5f0f\uff09\u4e0d\u55ae\u55ae\u53ea\u662f\u628a\u591a\u500b Repo \u653e\u5728\u4e00\u8d77\uff0c\u4e5f\u6703\u628a\u9019\u4e9b Repo \u7684\u5de5\u5177\u5019\u9078\u96c6\u5408\u653e\u5728\u540c\u4e00\u500b\u6c7a\u7b56\u7a7a\u9593\u88e1\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u7576 Application Repo\u3001Domain Repo\u3001Repository Repo \u90fd\u555f\u7528\u76f8\u4f3c\u7684 DB / Redis tools\uff0cAgent \u9700\u8981\u5728\u66f4\u591a\u5019\u9078\u5de5\u5177\u4e2d\u5224\u65b7\uff0c\u4eba\u4e5f\u9700\u8981\u5be9\u6838\u66f4\u591a\u76f8\u4f3c\u9078\u9805\u3002"}),"\n",(0,l.jsxs)(n.p,{children:["\u82e5\u5de5\u5177\u540d\u7a31\u53c8\u90fd\u53eb ",(0,l.jsx)(n.code,{children:"query_db"}),"\u3001",(0,l.jsx)(n.code,{children:"get_redis_value"}),"\uff0c\u908a\u754c\u5c31\u66f4\u5bb9\u6613\u6a21\u7cca\uff0c\u5982\u4e0b\u5716\uff1a"]}),"\n",(0,l.jsx)(n.p,{children:(0,l.jsx)(n.img,{alt:"\u5927\u6df7\u6230\u958b\u767c\u6a21\u5f0f\u64f4\u5927\u4e86 Agent \u7684\u5de5\u5177\u6c7a\u7b56\u7a7a\u9593",src:s(22700).A+"",title:"\u5927\u6df7\u6230\u958b\u767c\u6a21\u5f0f\u64f4\u5927\u4e86 Agent \u7684\u5de5\u5177\u6c7a\u7b56\u7a7a\u9593",width:"1692",height:"961"})}),"\n",(0,l.jsxs)(n.admonition,{title:"\u5c0f\u8a23\u7ac5",type:"tip",children:[(0,l.jsx)(n.p,{children:"\u5728\u4f7f\u7528\u5927\u6df7\u6230\u958b\u767c\u6a21\u5f0f\u6642\uff0c\u5343\u842c\u8981\u6ce8\u610f\u9019\u4e09\u4ef6\u4e8b\uff1a"}),(0,l.jsxs)(n.ol,{children:["\n",(0,l.jsxs)(n.li,{children:["\u5c08\u6848\u5de5\u5177\u547d\u540d\u8981\u5e36 Domain / Repo / \u74b0\u5883\uff0c\u4f8b\u5982 ",(0,l.jsx)(n.code,{children:"billing_dev_readonly_query"}),"\u3002"]}),"\n",(0,l.jsx)(n.li,{children:"\u4e00\u5b9a\u8981\u78ba\u4fdd\u67e5\u8a62\u5916\u90e8\u8cc7\u6599\u985e\u7684\u5de5\u5177\u56de\u50b3\u7d66 Agent \u7684\u8cc7\u6599\u91cf\u662f\u5920\u7cbe\u7c21\u53c8\u525b\u597d\u7cbe\u6e96\u5920\u7528\u7684\u3002"}),"\n",(0,l.jsx)(n.li,{children:"\u5728 Multi-root Workspace \u88e1\uff0c\u5148\u505c\u7528\u4e0d\u9700\u8981\u7684 MCP Server\uff0c\u81f3\u5c11\u4e0d\u8981\u8b93\u540d\u7a31\u6216\u529f\u80fd\u76f8\u4f3c\u7684\u5de5\u5177\u540c\u6642\u958b\u592a\u591a\u3002"}),"\n"]})]}),"\n",(0,l.jsx)(n.h3,{id:"\u5168\u57df-mcp-vs-\u5c08\u6848\u5167-mcp-\u7684\u9078\u64c7\u6307\u5f15",children:"\u5168\u57df MCP vs \u5c08\u6848\u5167 MCP \u7684\u9078\u64c7\u6307\u5f15"}),"\n",(0,l.jsx)(n.p,{children:"\u5982\u679c\u5c0d\u65bc\u67d0\u500b\u5de5\u5177\u5230\u5e95\u61c9\u8a72\u88ab\u6b78\u985e\u5728\u5168\u57df\u9084\u662f\u5c08\u6848\u5167\u6709\u9078\u64c7\u969c\u7919\u7684\u8a71\uff0c\u53ef\u4ee5\u53c3\u8003\u4e0b\u9762\u9019\u5f35\u8868\u683c\uff1a"}),"\n",(0,l.jsxs)(n.table,{children:[(0,l.jsx)(n.thead,{children:(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.th,{children:"\u5224\u65b7\u554f\u984c"}),(0,l.jsx)(n.th,{children:"\u9069\u5408\u653e\u5168\u57df"}),(0,l.jsx)(n.th,{children:"\u9069\u5408\u653e\u5c08\u6848\u5167"})]})}),(0,l.jsxs)(n.tbody,{children:[(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"\u591a\u6578 Repo \u90fd\u6703\u7528\u5230\u55ce\uff1f"}),(0,l.jsx)(n.td,{children:"\u662f\uff0c\u4f8b\u5982 Jira \u67e5\u55ae / GitLab MR / Jenkins Build Summary"}),(0,l.jsx)(n.td,{children:"\u5426\uff0c\u53ea\u670d\u52d9\u7279\u5b9a Repo \u6216\u7cfb\u7d71"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"\u662f\u5426\u8ddf\u7279\u5b9a schema / env \u7d81\u5b9a\uff1f"}),(0,l.jsx)(n.td,{children:"\u5426"}),(0,l.jsx)(n.td,{children:"\u662f\uff0c\u4f8b\u5982\u67d0\u500b Repo \u5c08\u7528 DB \u67e5\u8a62\u3001Redis key \u67e5\u8a62"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"\u662f\u5426\u542b\u654f\u611f\u9023\u7dda\u5b57\u4e32\uff1f"}),(0,l.jsx)(n.td,{children:"\u76e1\u91cf\u5426"}),(0,l.jsxs)(n.td,{children:["\u53ef\u4ee5\uff0c\u4f46\u8981\u52a0\u5230 ",(0,l.jsx)(n.code,{children:".gitignore"}),"\uff0c\u4e26\u9650\u5236\u6b0a\u9650"]})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"tool response \u662f\u5426\u53ef\u63a7\u3001\u77ed\u5c0f\uff1f"}),(0,l.jsx)(n.td,{children:"\u6700\u597d\u662f\uff0c\u4f8b\u5982\u7cbe\u7c21\u7248 Context Hub \u67e5\u8a62"}),(0,l.jsx)(n.td,{children:"\u6700\u597d\u662f\uff0c\u907f\u514d\u628a\u5927\u91cf\u8cc7\u6599\u76f4\u63a5\u4e1f\u9032 context"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"\u8aa4\u7528\u6642\u5f71\u97ff\u7bc4\u570d\u5927\u4e0d\u5927\uff1f"}),(0,l.jsx)(n.td,{children:"\u5c0f"}),(0,l.jsx)(n.td,{children:"\u4e2d\u9ad8\uff0c\u9700\u9650\u5236\u74b0\u5883\u3001\u6b0a\u9650\u8207\u5de5\u5177\u547d\u540d"})]})]})]}),"\n",(0,l.jsx)(n.admonition,{title:"\u5c0f\u8a23\u7ac5",type:"tip",children:(0,l.jsx)(n.p,{children:"\u5168\u57df MCP \u89e3\u6c7a\u8de8\u5c08\u6848\u6d41\u7a0b\u6548\u7387\uff0c\u5c08\u6848\u5167 MCP \u89e3\u6c7a repo-specific \u9a57\u8b49\uff1b\u5169\u8005\u90fd\u8981\u7bc0\u5236\uff0c\u56e0\u70ba\u53ef\u898b\u5de5\u5177\u8d8a\u591a\uff0c\u4e0d\u4ee3\u8868\u4e0a\u4e0b\u6587\u8d8a\u6e05\u695a\u3002"})}),"\n",(0,l.jsx)(n.h2,{id:"\u67b6\u69cb\u91cd\u69cb\u5fc3\u6cd5",children:"\u67b6\u69cb\u91cd\u69cb\u5fc3\u6cd5"}),"\n",(0,l.jsx)(n.p,{children:"\u770b\u5b8c\u524d\u9762\u7684\u6848\u4f8b\u4e4b\u5f8c\uff0c\u6211\u81ea\u5df1\u6574\u7406\u51fa\u4e00\u500b\u5f88\u7c21\u55ae\u7684\u539f\u5247\uff1a"}),"\n",(0,l.jsx)(n.admonition,{title:"\u5c0f\u8a23\u7ac5",type:"tip",children:(0,l.jsx)(n.p,{children:(0,l.jsx)(n.strong,{children:"\u4e0d\u8981\u8b93 LLM \u76f4\u63a5\u541e\u8cc7\u6599\uff0c\u8b93\u5b83\u8ca0\u8cac\u6c7a\u7b56\u3001\u5beb\u7a0b\u5f0f\u548c\u7de8\u6392\u6d41\u7a0b\u5c31\u597d\u3002"})})}),"\n",(0,l.jsx)(n.p,{children:"\u4e5f\u5c31\u662f\u8aaa\uff0c\u67b6\u69cb\u91cd\u69cb\u7684\u91cd\u9ede\u4e0d\u662f\u628a MCP \u62c6\u5f97\u8d8a\u7d30\u8d8a\u597d\uff0c\u800c\u662f\u8981\u5148\u5206\u6e05\u695a\uff1a"}),"\n",(0,l.jsxs)(n.ol,{children:["\n",(0,l.jsx)(n.li,{children:"\u8cc7\u6599\u6bd4\u8f03\u9069\u5408\u5728\u54ea\u88e1\u88ab\u8655\u7406\uff1f"}),"\n",(0,l.jsx)(n.li,{children:"\u54ea\u4e9b\u8cc7\u8a0a\u771f\u7684\u9700\u8981\u9032\u5230 Agent \u7684\u4e0a\u4e0b\u6587\uff1f"}),"\n"]}),"\n",(0,l.jsxs)(n.p,{children:["\u5f88\u591a Token \u6d6a\u8cbb\uff0c\u5176\u5be6\u90fd\u662f\u56e0\u70ba\u628a ",(0,l.jsx)(n.strong,{children:"\u300c\u5de5\u5177\u62ff\u8cc7\u6599\u300d"})," \u8ddf ",(0,l.jsx)(n.strong,{children:"\u300cAgent \u505a\u6c7a\u7b56\u300d"})," \u9019\u5169\u4ef6\u4e8b\u6df7\u5728\u4e00\u8d77\u4e86\u3002"]}),"\n",(0,l.jsx)(n.h3,{id:"\u539f\u5247\u4e00\u628a\u8cc7\u6599\u6d41\u79fb\u51fa\u4e0a\u4e0b\u6587",children:"\u539f\u5247\u4e00\uff1a\u628a\u300c\u8cc7\u6599\u6d41\u300d\u79fb\u51fa\u4e0a\u4e0b\u6587"}),"\n",(0,l.jsx)(n.p,{children:"\u5927\u91cf\u7684\u539f\u59cb\u8cc
17\u6599\u61c9\u8a72\u7559\u5728\u6a94\u6848\u3001\u8cc7\u6599\u5eab\u6216\u5de5\u5177\u81ea\u5df1\u7684\u57f7\u884c\u74b0\u5883\u88e1\uff0c\u4e0d\u61c9\u8a72\u76f4\u63a5\u585e\u9032 LLM \u7684\u5c0d\u8a71\u4e0a\u4e0b\u6587\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u6bd4\u8f03\u597d\u7684\u505a\u6cd5\u662f\uff1a"}),"\n",(0,l.jsxs)(n.ol,{children:["\n",(0,l.jsx)(n.li,{children:"\u5927\u578b JSON\u3001Excel\u3001log \u5148\u4e0b\u8f09\u5230\u672c\u5730\u6216\u4fdd\u7559\u5728\u5916\u90e8\u7cfb\u7d71\u3002"}),"\n",(0,l.jsx)(n.li,{children:"tool response \u53ea\u56de\u50b3 metadata\u3001\u8def\u5f91\u3001\u6458\u8981\u3001sample\u3001\u67e5\u8a62\u689d\u4ef6\u3002"}),"\n",(0,l.jsx)(n.li,{children:"\u9700\u8981\u8655\u7406\u5927\u91cf\u8cc7\u6599\u6642\uff0c\u7531\u8173\u672c\u8b80\u6a94\u8655\u7406\uff0c\u4e0d\u7531 LLM \u9010\u5b57\u95b1\u8b80\u3002"}),"\n"]}),"\n",(0,l.jsxs)(n.p,{children:["\u6838\u5fc3\u5dee\u7570\u5728\u65bc\uff1a",(0,l.jsx)(n.strong,{children:"Agent \u53ea\u9700\u8981\u77e5\u9053\u8cc7\u6599\u5728\u54ea\u88e1\uff0c\u4e0d\u9700\u8981\u628a\u6574\u5305\u8cc7\u6599\u90fd\u8b80\u9032\u8166\u888b\u88e1\u3002"})]}),"\n",(0,l.jsx)(n.h3,{id:"\u539f\u5247\u4e8c\u8b93-llm-\u5beb\u7a0b\u5f0f\u8655\u7406\u8cc7\u6599\u4ea4\u7d66\u5225\u7684\u5de5\u5177",children:"\u539f\u5247\u4e8c\uff1a\u8b93 LLM \u5beb\u7a0b\u5f0f\uff0c\u8655\u7406\u8cc7\u6599\u4ea4\u7d66\u5225\u7684\u5de5\u5177"}),"\n",(0,l.jsx)(n.p,{children:"\u5f88\u591a\u8cc7\u6599\u8f49\u63db\u4efb\u52d9\u6700\u8cb4\u7684\u5730\u65b9\uff0c\u4e0d\u662f\u8f49\u63db\u908f\u8f2f\u672c\u8eab\uff0c\u800c\u662f\u6211\u5011\u5f88\u9806\u624b\u7684\u628a\u8cc7\u6599\u642c\u9032\u4e0a\u4e0b\u6587\uff0c\u7562\u7adf\u76f4\u63a5\u7121\u8166\u9019\u6a23\u505a\u6700\u5feb\uff08\u4f46\u662f\u4e5f\u6700\u8cb4\uff09\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u6240\u4ee5 Skill \u7684\u8a2d\u8a08\u53ef\u4ee5\u5f9e\u300cAI \u76f4\u63a5\u8655\u7406\u8cc7\u6599\u300d\u6539\u6210\u300cAI \u5beb\u8173\u672c\uff0c\u8b93\u96fb\u8166\u8655\u7406\u8cc7\u6599\u300d\uff1a"}),"\n",(0,l.jsxs)(n.ol,{children:["\n",(0,l.jsx)(n.li,{children:"\u78ba\u8a8d\u4f86\u6e90\u6a94\u6848\u8207\u76ee\u6a19\u6a94\u6848\u3002"}),"\n",(0,l.jsx)(n.li,{children:"\u547c\u53eb MCP\uff0c\u628a\u8cc7\u6599\u4e0b\u8f09\u5230\u672c\u5730\u5c08\u6848\u76ee\u9304\u3002"}),"\n",(0,l.jsxs)(n.li,{children:["\u8b93 Agent \u7522\u751f ",(0,l.jsx)(n.code,{children:"transform.js"})," \u6216 ",(0,l.jsx)(n.code,{children:"transform.py"}),"\u3002"]}),"\n",(0,l.jsx)(n.li,{children:"\u7531\u8173\u672c\u8b80\u53d6\u672c\u5730\u6a94\u6848\uff0c\u57f7\u884c\u8f49\u63db\uff0c\u8986\u5beb\u76ee\u6a19\u6a94\u6848\u3002"}),"\n",(0,l.jsx)(n.li,{children:"Agent \u6aa2\u67e5 diff\u3001\u88dc\u6e2c\u8a66\uff0c\u6700\u5f8c\u518d commit\u3002"}),"\n"]}),"\n",(0,l.jsx)(n.p,{children:"\u9019\u6a23\u7684\u8a71\uff0c\u5927\u91cf\u8cc7\u6599\u7559\u5728\u6a94\u6848\u88e1\uff0c\u4e0a\u4e0b\u6587\u53ea\u6703\u4fdd\u7559\u4efb\u52d9\u610f\u5716\u3001\u6a94\u6848\u8def\u5f91\u3001\u8f49\u63db\u898f\u5247\u548c\u57f7\u884c\u7d50\u679c\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u82b1\u8cbb\u7684 Token \u81ea\u7136\u6703\u5c11\u5f88\u591a\uff0c\u4e5f\u6bd4\u8f03\u4e0d\u5bb9\u6613\u51fa\u932f\uff0c\u56e0\u70ba\u771f\u6b63\u8655\u7406\u8cc7\u6599\u7684\u662f\u8173\u672c\uff0c\u4e0d\u662f LLM \u5728\u4e0a\u4e0b\u6587\u88e1\u4e00\u908a\u8b80\u4e00\u908a\u731c\u3002"}),"\n",(0,l.jsx)(n.h3,{id:"\u539f\u5247\u4e09\u622a\u65b7\u5206\u9801\u6458\u8981\u90fd\u8981\u6210\u70ba\u9810\u8a2d\u503c",children:"\u539f\u5247\u4e09\uff1a\u622a\u65b7\u3001\u5206\u9801\u3001\u6458\u8981\u90fd\u8981\u6210\u70ba\u9810\u8a2d\u503c"}),"\n",(0,l.jsx)(n.p,{children:"MCP \u6bcf\u6b21\u8981\u56de\u50b3\u8cc7\u6599\u7d66 Agent \u4e4b\u524d\uff0c\u90fd\u61c9\u8a72\u5148\u554f\u4e00\u500b\u554f\u984c\uff1a"}),"\n",(0,l.jsx)(n.admonition,{title:"\u81ea\u554f\u81ea\u7b54",type:"note",children:(0,l.jsx)(n.p,{children:"\u9019\u6bb5\u5167\u5bb9\u6703\u5e6b\u52a9 Agent \u505a\u4e0b\u4e00\u500b\u6c7a\u7b56\u55ce\uff1f"})}),"\n",(0,l.jsx)(n.p,{children:"\u5982\u679c\u7b54\u6848\u662f\u5426\u5b9a\u7684\uff0c\u5c31\u4e0d\u8981\u56de\u50b3\u5168\u6587\u3002\u9019\u807d\u8d77\u4f86\u5f88\u57fa\u672c\uff0c\u4f46\u5f88\u591a MCP Server \u7684 Token \u5c31\u662f\u9019\u6a23\u6d41\u6389\u7684\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u5be6\u4f5c\u4e0a\u53ef\u4ee5\u5f9e\u9019\u4e9b\u5730\u65b9\u958b\u59cb\uff1a"}),"\n",(0,l.jsxs)(n.ol,{children:["\n",(0,l.jsx)(n.li,{children:"Jira comments \u9810\u8a2d\u53ea\u56de\u6700\u65b0\u6216\u6700\u76f8\u95dc\u7684\u5e7e\u7b46\uff0c\u6bcf\u7b46\u9
1650\u5236\u9577\u5ea6\u3002"}),"\n",(0,l.jsx)(n.li,{children:"\u641c\u5c0b\u985e\u7684 API \u9810\u8a2d\u56de 10-15 \u7b46\uff0c\u9700\u8981\u66f4\u591a\u518d\u5206\u9801\u3002"}),"\n",(0,l.jsx)(n.li,{children:"log \u985e\u7684\u5de5\u5177\u5148\u56de\u72c0\u614b\u3001\u6458\u8981\u3001\u6700\u5f8c\u5e7e\u884c\u6216\u662f\u884c\u865f\u3002"}),"\n",(0,l.jsx)(n.li,{children:"\u6587\u4ef6\u5de5\u5177\u5148\u56de\u6458\u8981\u3001\u6bb5\u843d\u4f4d\u7f6e\u3001\u4f86\u6e90\u9023\u7d50\uff0c\u4e0d\u8981\u76f4\u63a5\u56de\u5168\u6587\u3002"}),"\n"]}),"\n",(0,l.jsx)(n.p,{children:"\u9019\u4e0d\u662f\u55ae\u7d14\u7701 Token\uff0c\u800c\u662f\u907f\u514d\u5de5\u5177\u56de\u50b3\u5167\u5bb9\u8b8a\u6210\u4e00\u6574\u9762\u96dc\u8a0a\u7246\u3002Agent \u770b\u5230\u8d8a\u591a\u4e0d\u76f8\u95dc\u5167\u5bb9\uff0c\u63a8\u7406\u54c1\u8cea\u53cd\u800c\u8d8a\u5bb9\u6613\u4e0b\u964d\u3002"}),"\n",(0,l.jsx)(n.h3,{id:"\u539f\u5247\u56db\u4ee5\u6b63\u78ba\u7684\u59ff\u52e2\u8655\u7406\u5916\u90e8\u932f\u8aa4",children:"\u539f\u5247\u56db\uff1a\u4ee5\u6b63\u78ba\u7684\u59ff\u52e2\u8655\u7406\u5916\u90e8\u932f\u8aa4"}),"\n",(0,l.jsx)(n.p,{children:"MCP \u53ea\u8981\u958b\u59cb\u4e32\u63a5\u5176\u5b83\u5916\u90e8\u5de5\u5177\uff0c\u5c31\u96e3\u514d\u6703\u9047\u5230\u5404\u7a2e\u932f\u8aa4\u8a0a\u606f\uff0c\u4f8b\u5982 API timeout\u3001\u6b0a\u9650\u932f\u8aa4\u3001502\u3001429 rate limit\uff0c\u6216\u662f\u76f4\u63a5\u56de\u50b3\u4e00\u6574\u9801 HTML \u932f\u8aa4\u9801\u7684\u60c5\u6cc1\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u4ee5\u524d\u6211\u6703\u5f88\u76f4\u89ba\u7684\u60f3\u8aaa\uff1a\u300c\u5de5\u5177\u67e5\u5230\u4e86\u4ec0\u9ebc\uff0c\u6211\u5c31\u628a\u4ec0\u9ebc\u4e1f\u7d66 Agent\uff0c\u8b93\u5b83\u63a5\u624b\u3002\u300d\u5f8c\u4f86\u624d\u767c\u73fe\u9019\u6a23\u6839\u672c\u662f\u5728\u62ff\u81ea\u5df1\u7684 Token \u958b\u73a9\u7b11\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u73fe\u5728\u6211\u6703\u5e0c\u671b\u6bcf\u500b tool response \u5148\u60f3\u4e00\u4e0b\u9019\u5e7e\u500b\u6b04\u4f4d\uff1a"}),"\n",(0,l.jsxs)(n.table,{children:[(0,l.jsx)(n.thead,{children:(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.th,{children:"\u6b04\u4f4d"}),(0,l.jsx)(n.th,{children:"\u76ee\u7684"})]})}),(0,l.jsxs)(n.tbody,{children:[(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:(0,l.jsx)(n.code,{children:"ok"})}),(0,l.jsx)(n.td,{children:"\u8b93 Agent \u5148\u5224\u65b7\u6210\u529f\u6216\u5931\u6557"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:(0,l.jsx)(n.code,{children:"summary"})}),(0,l.jsx)(n.td,{children:"\u7528\u77ed\u6587\u5b57\u8aaa\u660e\u7d50\u679c\uff0c\u4e0d\u8b93 Agent \u5f9e\u5927\u91cf\u8cc7\u6599\u88e1\u81ea\u5df1\u731c"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:(0,l.jsx)(n.code,{children:"items"})}),(0,l.jsx)(n.td,{children:"\u56de\u50b3\u5df2\u904e\u6ffe\u3001\u5df2\u6392\u5e8f\u3001\u5df2\u9650\u5236\u6578\u91cf\u7684\u7d50\u679c"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsxs)(n.td,{children:[(0,l.jsx)(n.code,{children:"totalCount"})," / ",(0,l.jsx)(n.code,{children:"returnedCount"})]}),(0,l.jsx)(n.td,{children:"\u8b93 Agent \u77e5\u9053\u9019\u662f\u4e0d\u662f\u5b8c\u6574\u7d50\u679c"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:(0,l.jsx)(n.code,{children:"truncated"})}),(0,l.jsx)(n.td,{children:"\u660e\u78ba\u6a19\u793a\u662f\u5426\u6709\u622a\u65b7"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsxs)(n.td,{children:[(0,l.jsx)(n.code,{children:"sourcePath"})," / ",(0,l.jsx)(n.code,{children:"sourceUrl"})]}),(0,l.jsx)(n.td,{children:"\u5927\u8cc7\u6599\u653e\u5728\u5916\u90e8\uff0cAgent \u9700\u8981\u6642\u518d\u8b80"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:(0,l.jsx)(n.code,{children:"nextActionHint"})}),(0,l.jsx)(n.td,{children:"\u7d66 Agent \u4e00\u500b\u53ef\u80fd\u7684\u4e0b\u4e00\u6b65\uff0c\u6e1b\u5c11\u7121\u8166\u91cd\u8a66"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsxs)(n.td,{children:[(0,l.jsx)(n.code,{children:"requestId"})," / ",(0,l.jsx)(n.code,{children:"logId"})]}),(0,l.jsx)(n.td,{children:"\u5b8c\u6574\u8cc7\u8a0a\u7559\u5728 Server log\uff0c\u65b9\u4fbf\u4eba\u985e\u6392\u67e5"})]})]})]}),"\n",(0,l.jsx)(n.p,{children:"\u8209\u4f8b\u4f86\u8aaa\uff0c\u6210\u529f\u7684 response \u53ef\u4ee5\u9577\u5f97\u50cf\u9019\u6a23\uff1a"}),"\n",(0,l.jsx)(n.pre,{children:(0,l.jsx)(n.code,{className:"language-json",children:'{\n  "ok": true,\n  "summary": "Found 5 candidate i18n keys related to checkout flow.",\n  "totalCount": 42,\n  "returnedCount": 5,\n  "truncated": true,\n  "items": [\n    {\n      "key": "checkout.title",\n      "file": "src/i18n/en.json",\n      "reason": "matched Jira summary and recent change history"\n    }\n  ],\n  "sourcePath": ".cursor/tmp/i18n-candidates.json",\n  "nextActionHint": "Ask user to confirm target keys before editing translation files.",\n  "requestId": "req_20260428_001"\n}\n'})}),"\n",(0,l.jsx)(n.p,{children:"\u800c\u5931\u6557 response \u53ef\u4ee5\u9577\u5f97\u50cf\u9019\u6a23\uff1a"}),"\n",(0,l.jsx)(n.pre,{children:(0,l.jsx)(n.code,{className:"language-json",children:'{\n  "ok": false,\n  "summary": "SharePoint download failed with 502 Bad Gateway.",\n  "error": {\n    "type": "external_api_error",\n    "service": "SharePoint",\n    "operation": "download_sharepoint_sheet",\n    "statusCode": 502,\n    "retryable": true,\n    "message": "Upstream service returned 502.",\n    "detailPreview": "<html><title>Bad Gateway</title>..."\n  },\n  "nextActionHint": "Retry later or ask the user to verify SharePoint availability.",\n  "requestId": "req_20260428_002"\n}\n'})}),"\n",(0,l.jsx)(n.p,{children:"\u9019\u500b\u683c\u5f0f\u7684\u91cd\u9ede\u4e0d\u662f\u6f02\u4eae\uff0c\u800c\u662f\u8b93 Agent \u80fd\u5c11\u731c\u4e00\u9ede\uff1a"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsx)(n.li,{children:"\u6210\u529f\u6216\u5931\u6557\uff1f"}),"\n",(0,l.jsx)(n.li,{children:"\u7d50\u679c\u5b8c\u6574\u55ce\uff1f"}),"\n",(0,l.jsx)(n.li,{children:"\u6709\u6c92\u6709\u88ab\u622a\u65b7\uff1f"}),"\n",(0,l.jsx)(n.li,{children:"\u5927\u5305\u7684\u8cc7\u6599\u5728\u54ea\u88e1\uff1f"}),"\n",(0,l.jsx)(n.li,{children:"\u4e0b\u4e00\u6b65\u8a72\u505a\u4ec0\u9ebc\uff1f"}),"\n",(0,l.jsx)(n.li,{children:"\u4eba\u985e\u8981\u67e5 log \u6642\u8a72\u53bb\u54ea\u88e1\u627e\uff1f"}),"\n"]}),"\n",(0,l.jsx)(n.h2,{id:"\u4ee5\u6b63\u78ba\u7684\u5de5\u5177\u6253\u9020\u51fa\u9ad8-roi-combo",children:"\u4ee5\u6b63\u78ba\u7684\u5de5\u5177\u6253\u9020\u51fa\u9ad8 ROI Combo"}),"\n",(0,l.jsx)(n.p,{children:"\u6574\u7406\u5230\u6700\u5f8c\uff0c\u6211\u6703\u628a\u9019\u5e7e\u500b\u5de5\u5177\u60f3\u6210\u4e00\u500b\u5206\u5de5\u6bd4\u8f03\u6e05\u695a\u7684\u7d44\u5408\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u4e0d\u662f\u6bcf\u500b\u4efb\u52d9\u90fd\u8981\u628a\u6240\u6709\u5de5\u5177\u7528\u597d\u7528\u6eff\uff0c\u4e5f\u4e0d\u662f\u6709 MCP \u5c31\u4e0d\u7528 Rules\u3001\u6709 Skills \u5c31\u4e0d\u7528 Subagent\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u5b83\u6bd4\u8f03\u50cf\u662f\u6bcf\u500b\u5de5\u5177\u90fd\u4f86\u5e6b\u4e00\u9ede\u5fd9\uff0c\u4f46\u662f\u4e0d\u8981\u4e92\u76f8\u6436\u5de5\u4f5c\u3002"}),"\n",(0,l.jsx)(n.mermaid,{value:"flowchart LR\n    A[User request] --\x3e B[Rules: \u57fa\u672c\u539f\u5247]\n    B --\x3e C[Skills: \u5de5\u4f5c\u6d41 SOP]\n    C --\x3e D[MCP: \u53d6\u5f97\u5df2\u904e\u6ffe\u7684\u5916\u90e8\u8cc7\u8a0a]\n    D --\x3e E[Script / Subagent: \u8655\u7406\u5927\u91cf\u8cc7\u6599]\n    E --\x3e F[Agent: \u6aa2\u67e5 diff \u4e26\u6c7a\u5b9a\u4e0b\u4e00\u6b65]"}),"\n",(0,l.jsxs)(n.table,{children:[(0,l.jsx)(n.thead,{children:(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.th,{children:"\u5de5\u5177"}),(0,l.jsx)(n.th,{children:"\u6211\u6703\u62ff\u4f86\u653e\u4ec0\u9ebc"}),(0,l.jsx)(n.th,{children:"\u4f8b\u5b50"}),(0,l.jsx)(n.th,{children:"\u8981\u5c0f\u5fc3\u4ec0\u9ebc"})]})}),(0,l.jsxs)(n.tbody,{children:[(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"Rules"}),(0,l.jsx)(n.td,{children:"\u9577\u671f\u7a69\u5b9a\u3001\u8de8\u4efb\u52d9\u90fd\u8981\u9075\u5b88\u7684\u57fa\u672c\u539f\u5247"}),(0,l.jsx)(n.td,{children:"\u4e0d\u8981\u76f4\u63a5\u4fee\u6539 production \u8a2d\u5b9a\uff1bDB migration \u8981\u5305\u542b rollback\uff1b\u5916\u90e8\u8cc7\u6599\u67e5\u8a62\u512a\u5148\u4f7f\u7528 readonly tool"}),(0,l.jsx)(n.td,{children:"\u4e0d\u8981\u628a\u5927\u91cf\u7bc4\u4f8b\u3001\u5b8c\u6574 SOP\u3001\u5197\u9577\u6d41\u7a0b\u6587\u4ef6\u90fd\u585e\u9032 Rules\uff0c\u4e0d\u7136\u6bcf\u5929\u4e00\u958b\u5de5\u5c31\u5148\u4ed8\u4e00\u7b46\u56fa\u5b9a Token \u6210\u672c"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"Skills"}),(0,l.jsx)(n.td,{children:"\u6703\u91cd\u8907\u51fa\u73fe\uff0c\u4f46\u4e0d\u4e00\u5b9a\u6bcf\u6b21\u90fd\u9700\u8981\u7684 workflow"}),(0,l.jsx)(n.td,{children:"i18n Excel \u8f49 JSON\uff1bJira ticket \u5206\u6790\u8207\u72c0\u614b\u66f4\u65b0\uff1bCI failure triage\uff1brelease checklist"}),(0,l.jsx)(n.td,{children:"\u50f9\u503c\u5728\u65bc on-demand\uff0c\u9700\u8981\u6642\u518d\u8f09\u5165\uff0cToken \u6210\u672c\u624d\u6bd4\u8f03\u50cf\u662f\u82b1\u5728\u7576\u4e0b\u90a3\u500b\u4efb\u52d9\u4e0a"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"MCP"}),(0,l.jsx)(n.td,{children:"\u5916\u90e8\u7cfb\u7d71\u6574\u5408\u80fd\u529b"}),(0,l.jsx)(n.td,{children:"Jira \u67e5\u55ae\u3001\u7559\u8a00\u6458\u8981\u3001\u8f49\u72c0\u614b\uff1bGitLab MR / branch / pipeline\uff1bJenkins job / build summary / failed stage\uff1bDB schema \u67e5\u8a62\u3001Redis key \u67e5\u8a62"}),(0,l.jsx)(n.td,{children:"tool response \u8981\u56de\u5f97\u7cbe\u6e96\uff0c\u4e0d\u8981\u628a\u5916\u90e8\u7cfb\u7d71\u5167\u5bb9\u6574\u8eca\u5012\u9032 context"})]})]})]}),"\n",(0,l.jsx)(n.p,{children:"\u5c24\u5176\u662f MCP\uff0c\u63a5\u5916\u90e8\u7cfb\u7d71\u5f88\u5bb9\u6613\u8b93\u4eba\u6709\u4e00\u7a2e\u300c\u65e2\u7136\u67e5\u5230\u4e86\uff0c\u5c31\u5168\u90e8\u56de\u7d66 Agent \u5427\u300d\u7684\u885d\u52d5\uff1b\u4f46\u771f\u6b63\u6709\u50f9\u503c\u7684\u5730\u65b9\uff0c\u5176\u5be6\u662f\u5728 Server \u7aef\u5148\u5e6b Agent \u904e\u6ffe\u3001\u6458\u8981\u3001\u7d50\u69cb\u5316\uff0c\u907f\u514d\u628a Token \u62ff\u4f86\u6253\u6c34\u6f02\u3002"}),"\n",(0,l.jsx)(n.h2,{id:"token-\u512a\u5316\u5f8c\u7684\u6548\u76ca\u4f30\u7b97",children:"Token \u512a\u5316\u5f8c\u7684\u6548\u76ca\u4f30\u7b97"}),"\n",(0,l.jsx)(n.p,{children:"\u9084\u662f\u8981\u518d\u91cd\u7533\u4e00\u6b21\uff1a\u9019\u7bc7\u6587\u7ae0\u88e1\u63d0\u5230\u7684 Token \u6578\u5b57\uff0c\u53ef\u4ee5\u770b\u6210\u662f\u300c\u6848\u4f8b\u4f30\u7b97\u503c\u300d\u5c31\u597d\uff0c\u4e0d\u662f\u901a\u7528\u7684 benchmark\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u5927\u5bb6\u53ef\u4ee5\u628a\u91cd\u9ede\u653e\u5728\u91cf\u7d1a\u7684\u6bd4\u8f03\uff0c\u4e0d\u8981\u5728\u6578\u5b57\u4e0a\u904e\u5ea6\u947d\u725b\u89d2\u5c16\u3002"}),"\n",(0,l.jsxs)(n.table,{children:[(0,l.jsx)(n.thead,{children:(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.th,{children:"\u6d6a\u8cbb\u9ede"}),(0,l.jsx)(n.th,{children:"\u539f\u59cb\u505a\u6cd5\u53ef\u80fd\u9020\u6210\u7684\u91cf\u7d1a"}),(0,l.jsx)(n.th,{children:"\u512a\u5316\u5f8c\u65b9\u5411"}),(0,l.jsx)(n.th,{children:"\u7bc0\u7701\u4f86\u6e90"})]})}),(0,l.jsxs)(n.tbody,{children:[(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"\u5927\u578b JSON / text \u76f4\u63a5\u9032 context"}),(0,l.jsx)(n.td,{children:"100k~500k Token"}),(0,l.jsx)(n.td,{children:"\u53ea\u56de schema / sample / path"}),(0,l.jsx)(n.td,{children:"\u5927\u8cc7\u6599\u4e0d\u9032 context"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"Jenkins log \u5b8c\u6574\u56de\u50b3"}),(0,l.jsx)(n.td,{children:"\u6578\u5343\u5230\u6578\u842c Token"}),(0,l.jsx)(n.td,{children:"\u53ea\u56de failed stage / summary / tail"}),(0,l.jsx)(n.td,{children:"\u5148\u5728 Server \u7aef\u6458\u8981"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"Jira comments \u5b8c\u6574\u5c55\u958b"}),(0,l.jsx)(n.td,{children:"\u6578\u5343 Token"}),(0,l.jsx)(n.td,{children:"\u53ea\u53d6\u6700\u65b0\u6216\u6700\u76f8\u95dc\u5e7e\u5247\u4e26\u9650\u5236\u9577\u5ea6"}
1),(0,l.jsx)(n.td,{children:"\u964d\u4f4e\u4e0d\u76f8\u95dc\u6b77\u53f2\u8a0a\u606f"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"\u5916\u90e8\u932f\u8aa4 payload \u5168\u91cf\u56de\u50b3"}),(0,l.jsx)(n.td,{children:"\u6578\u5343\u5230\u6578\u842c Token"}),(0,l.jsx)(n.td,{children:"\u622a\u65b7\u3001\u53bb\u9664\u6a5f\u654f\u8cc7\u6599\u3001\u7d50\u69cb\u5316"}),(0,l.jsx)(n.td,{children:"\u932f\u8aa4\u9801\u4e0d\u9032 context"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"\u5951\u7d04\u4e0d\u4e00\u81f4\u9020\u6210\u88dc\u6551 loop"}),(0,l.jsx)(n.td,{children:"\u8996\u91cd\u8a66\u6b21\u6578\u800c\u5b9a"}),(0,l.jsx)(n.td,{children:"\u5c0d\u9f4a Skill\u3001schema\u3001handler"}),(0,l.jsx)(n.td,{children:"\u6e1b\u5c11\u67e5\u6a94\u3001\u91cd\u8dd1\u3001\u731c\u6e2c"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"Excel / i18n \u8f49\u63db\u6d41\u7a0b"}),(0,l.jsx)(n.td,{children:"\u82e5\u5de5\u5177\u56de\u5168\u6587\uff0c\u6210\u672c\u6703\u653e\u5927"}),(0,l.jsx)(n.td,{children:"MCP \u4e0b\u8f09 + \u8173\u672c\u8655\u7406 + \u6458\u8981"}),(0,l.jsx)(n.td,{children:"\u4e3b\u8981\u8cc7\u6599\u91cf\u7559\u5728\u57f7\u884c\u74b0\u5883"})]})]})]}),"\n",(0,l.jsx)(n.p,{children:"\u5728\u6848\u4f8b\u4f30\u7b97\u4e2d\uff0c\u5982\u679c\u539f\u672c\u662f\u300c\u91cd Rule + \u5927 MCP 
1+ \u5927\u91cf\u539f\u59cb tool response\u300d\u7684\u505a\u6cd5\uff0c\u55ae\u6b21\u5de5\u55ae\u7684 input tokens \u53ef\u80fd\u6703\u843d\u5728\u8f03\u9ad8\u7684\u5340\u9593\uff1b\u5728\u7d93\u904e\u524d\u9762\u63d0\u5230\u7684\u539f\u5247\u9032\u884c\u512a\u5316\u5f8c\uff0c\u901a\u5e38\u6703\u6709\u660e\u986f\u6539\u5584\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u4f46\u662f!!! \u6211\u8a8d\u70ba\u66f4\u91cd\u8981\u7684\u4e0d\u662f\u5ba3\u7a31\u56fa\u5b9a\u7bc0\u7701\u591a\u5c11\u767e\u5206\u6bd4\uff0c\u800c\u662f\u7528\u4e0b\u9762\u7684\u6b65\u9a5f\u5148\u5efa\u7acb\u4e00\u500b\u81ea\u5df1\u7684\u5718\u968a\u4e5f\u80fd\u771f\u7684\u505a\u5230\u6709\u5716\u6709\u771f\u76f8\u3001\u91cf\u5f97\u51fa Token \u7528\u91cf\u7684\u65b9\u6cd5\uff1a"}),"\n",(0,l.jsxs)(n.ol,{children:["\n",(0,l.jsx)(n.li,{children:"\u5148\u8a18\u9304\u540c\u4e00\u985e\u4efb\u52d9\u5728\u539f\u672c\u6d41\u7a0b\u4e0b\u7684 input tokens\u3002"}),"\n",(0,l.jsx)(n.li,{children:"\u62c6\u51fa\u6700\u5927\u5b97\u7684 tool schema \u8207 tool response\u3002"}),"\n",(0,l.jsx)(n.li,{children:"\u5c07\u5927\u578b response \u6539\u6210 summary / sample / path\u3002"}),"\n",(0,l.jsx)(n.li,{children:"\u5c07\u91cd\u8907 SOP \u5f9e Rules \u79fb\u5230 Skills\u3002"}),"\n",(0,l.jsx)(n.li,{children:"\u7528\u76f8\u540c\u4efb\u52d9\u91cd\u8dd1\uff0c\u89c0\u5bdf input tokens\u3001\u91cd\u8a66\u6b21\u6578\u3001\u4eba\u5de5\u63d2\u8a71\u6b21\u6578\u3002"}),"\n"]}),"\n",(0,l.jsx)(n.p,{children:"\u6700\u5f8c\u7684\u6700\u5f8c\uff0c\u6211\u89ba\u5f97\u66f4\u503c\u5f97\u770b\u7684\u4e0d\u662f\u300c\u9019\u6b21\u7701\u4e86\u591a\u5c11 Token\u300d\uff0c\u800c\u662f\uff1a"}),"\n",(0,l.jsx)(n.admonition,{title:"\u5c0f\u8a23\u7ac5",type:"tip",children:(0,l.jsx)(n.p,{children:"Token \u662f\u82b1\u5728\u4ea4\u4ed8\uff0c\u9084\u662f\u82b1\u5728\u88dc\u6551\uff1f"})}),"\n",(0,l.jsx)(n.h2,{id:"token-\u6d6a\u8cbb\u81ea\u8a55\u8868",children:"Token \u6d6a\u8cbb\u81ea\u8a55\u8868"}),"\n",(0,l.jsx)(n.p,{children:"\u9019\u908a\u4e5f\u63d0\u4f9b\u4e00\u500b\u53ef\u4ee5\u5354\u52a9\u81ea\u8a55 Token \u6d6a\u8cbb\u72c0\u6cc1\u7684\u81ea\u8a55\u8868\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u4e0b\u9762\u6bcf\u4e00\u984c\uff0c\u5982\u679c\u7b54\u6848\u662f\u300c\u662f\u300d\uff0c\u5c31\u8a18 1 \u5206\u3002"}),"\n",(0,l.jsxs)(n.table,{children:[(0,l.jsx)(n.thead,{children:(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.th,{children:"\u7de8\u865f"}),(0,l.jsx)(n.th,{children:"\u75c7\u72c0"})]})}),(0,l.jsxs)(n.tbody,{children:[(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"1"}),(0,l.jsx)(n.td,{children:"Agent \u660e\u660e\u62ff\u5230\u5de5\u5177\uff0c\u537b\u9084\u5728\u554f\u300c\u6211\u8981\u7528\u54ea\u500b\u53c3\u6578\uff1f\u300d"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"2"}),(0,l.jsx)(n.td,{children:"Agent \u547c\u53eb\u5de5\u5177\u5931\u6557\u5f8c\uff0c\u958b\u59cb\u53cd\u8986\u67e5\u6587\u4ef6\u6216 schema\u3002"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"3"}),(0,l.jsx)(n.td,{children:"Agent \u7522\u751f\u4e86\u6a94\u6848\uff0c\u4f46\u4e0b\u4e00\u6b65\u627e\u4e0d\u5230\u90a3\u500b\u6a94\u6848\u3002"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"4"}),(0,l.jsxs)(n.td,{children:["Agent \u4e00\u76f4\u5728\u731c\u6a94\u540d\uff0c\u4f8b\u5982 ",(0,l.jsx)(n.code,{children:"output.xlsx"}),"\u3001",(0,l.jsx)(n.code,{children:"result.xlsx"}),"\u3001",(0,l.jsx)(n.code,{children:"translations.xlsx"}),"\u3002"]})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"5"}),(0,l.jsx)(n.td,{children:"Agent \u8dd1\u5b8c\u5de5\u5177\u5f8c\uff0c\u53c8\u81ea\u5df1\u5beb\u4e00\u6bb5 script \u4f86\u642c\u6a94\u6848\u6216\u6539\u6a94\u540d\u3002"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"6"}),(0,l.jsx)(n.td,{children:"Agent \u57f7\u884c command \u5931\u6557\u5f8c\uff0c\u958b\u59cb\u9023\u7e8c\u8a66\u597d\u5e7e\u7a2e command\u3002"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"7"}),(0,l.jsx)(n.td,{children:"\u540c\u4e00\u500b\u4efb\u52d9\uff0c\u6bcf\u6b21 Agent \u8d70\u7684\u6d41\u7a0b\u90fd\u4e0d\u592a\u4e00\u6a23\u3002"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"8"}),(0,l.jsx)(n.td,{children:"\u9700\u8981\u4e2d\u9014\u63d2\u8a71\u63d0\u9192 Agent\uff1a\u300c\u4e0d\u662f\u9019\u500b\u6a94\u6848\u300d\u3001\u300c\u4e0d\u662f\u9019\u500b\u53c3\u6578\u300d\u3002"})]})]})]}),"\n",(0,l.jsxs)(n.table,{children:[(0,l.jsx)(n.thead,{children:(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.th,{children:"\u5206\u6578"}),(0,l.jsx)(n.th,{children:"\u72c0\u614b"}),(0,l.jsx)(n.th,{children:"\u4ee3\u8868\u4ec0\u9ebc"}),(0,l.jsx)(n.th,{children:"\u5efa\u8b70"})]})}),(0,l.jsxs)(n.tbody,{children:[(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"0 ~ 2"}),(0,l.jsx)(n.td,{children:"\u5065\u5eb7\u5340"}
1),(0,l.jsx)(n.td,{children:"Token \u591a\u534a\u82b1\u5728\u7406\u89e3\u9700\u6c42\u3001\u8b80 code\u3001\u7522\u51fa\u7d50\u679c"}),(0,l.jsx)(n.td,{children:"\u7dad\u6301\u73fe\u6709\u505a\u6cd5\uff0c\u65b0\u589e Skill \u6216 MCP tool \u6642\u7e7c\u7e8c\u6aa2\u67e5\u5951\u7d04\u4e00\u81f4\u6027"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"3 ~ 5"}),(0,l.jsx)(n.td,{children:"\u8f15\u75c7\u5340"}),(0,l.jsx)(n.td,{children:"\u5df2\u7d93\u6709 token leak\uff0cAgent \u5076\u723e\u6703\u731c\u6a94\u540d\u3001\u91cd\u8dd1 command\u3001\u6216\u591a\u67e5\u5e7e\u6b21\u6587\u4ef6"}),(0,l.jsx)(n.td,{children:"\u512a\u5148\u4fee\u6b63\u6700\u5e38\u51fa\u932f\u7684\u4e00\u689d\u6d41\u7a0b"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{children:"6 ~ 8"}),(0,l.jsx)(n.td,{children:"\u91cd\u75c7\u5340"}),(0,l.jsx)(n.td,{children:"Agent \u958b\u59cb\u628a\u4e0d\u5c11 Token \u82b1\u5728\u88dc\u6551\uff0c\u800c\u4e0d\u662f\u4ea4\u4ed8"}),(0,l.jsx)(n.td,{children:"\u66ab\u505c\u64f4\u5145\u65b0\u6d41\u7a0b\uff0c\u5148\u76e4\u9ede Skill\u3001schema\u3001handler\u3001script \u662f\u5426\u5c0d\u9f4a"})]})]})]}),"\n",(0,l.jsx)(n.p,{children:"\u5982\u679c\u5927\u5bb6\u4e5f\u525b\u597d\u958b\u59cb\u4e32\u63a5\u4e86 MCP\uff0c\u800c\u4e14\u767c\u73fe\u300cAgent \u770b\u8d77\u4f86\u5f88\u52aa\u529b\uff0c\u4f46\u662f\u5c31\u662f\u602a\u602a\u7684\u300d\uff0c\u5c31\u53ef\u4ee5\u8003\u616e\u62ff\u51fa\u9019\u4efd\u5c0f\u5de5\u5177\u4f86\u5e6b\u5718\u968a\u628a\u8108\u770b\u770b\u3002"}),"\n",(0,l.jsx)(n.p,{children:"\u5982\u679c Agent \u5927\u90e8\u5206\u52aa\u529b\u90fd\u82b1\u5728\u88dc\u6551\uff0c\u90a3\u901a\u5e38\u4e0d\u662f\u56e0\u70ba\u6a21\u578b\u4e0d\u5920\u8070\u660e\uff0c\u800c\u662f\u6d41\u7a0b\u4e2d\u6709\u6f0f\u6d1e\uff0c\u6216\u662f\u6c92\u6709\u8a2d\u8a08\u597d\u3002\u9019\u6642\u5019\u5982\u679c\u518d\u63a5\u66f4\u591a\u5de5\u5177\u9032\u53bb\uff0c\u901a\u5e38\u53ea\u6703\u8b93\u5751\u8d8a\u4f86\u8d8a\u5927\u3002"}),"\n",(0,l.jsx)(n.h2,{id:"\u7d50\u8a9e",children:"\u7d50\u8a9e"}),"\n",(0,l.jsx)(n.p,{children:"MCP \u5f88\u5bb9\u6613\u8b93\u4eba\u4e0a\u766e\uff0c\u56e0\u70ba\u5b83\u771f\u7684\u80fd\u628a\u539f\u672c\u5206\u6563\u5728 Jira\u3001GitLab\u3001Jenkins\u3001SharePoint\u3001DB \u88e1\u7684\u8b49\u64da\u93c8\u4e32\u8d77\u4f86\u3002"}),"\n",(0,l.jsxs)(n.p,{children:["\u4f46\u6211\u8e29\u5b8c\u9019\u4e9b\u5751\u4e4b\u5f8c\uff0c\u6700\u5927\u7684\u611f\u60f3\u662f\uff1a",(0,l.jsx)(n.strong,{children:"\u5de5\u5177\u63a5\u4e0a\u53bb\u53ea\u662f\u7b2c\u4e00\u6b65\uff0c\u5f8c\u9762\u66f4\u96e3\u7684\u662f\u600e\u6a23\u624d\u80fd\u8b93\u5de5\u5177\u56de\u5f97\u525b\u525b\u597d"}),"\u3002"]}),"\n",(0,l.jsx)(n.p,{children:"\u5168\u57df MCP \u5f88\u65b9\u4fbf\uff0c\u4f46\u4e0d\u8981\u628a\u5b83\u8b8a\u6210\u842c\u7528\u5de5\u5177\u7bb1\uff1b\u5c08\u6848\u5167 MCP \u908a\u754c\u6e05\u695a\uff0c\u4f46\u4e5f\u4e0d\u80fd\u653e\u4efb\u67e5\u8a62\u7d50\u679c\u7121\u9650\u5236\u56de\u50b3\uff1b\u81ea\u5efa MCP Server \u6700\u5bb9\u6613\u6709\u6210\u5c31\u611f\uff0c\u4f46\u4e5f\u6700\u5bb9\u6613\u4e0d\u5c0f\u5fc3\u628a\u5916\u90e8\u7cfb\u7d71\u7684\u539f\u59cb payload \u7576\u6210 tool response \u5012\u7d66 Agent\u3002"}),"\n",(0,l.jsx)(n.p,{children:"Cursor AI \u7684 Token \u7d93\u6fdf\u5b78\u5f88\u7c21\u55ae\uff1a"}),"\n",(0,l.jsx)(n.admonition,{title:"\u5c0f\u8a23\u7ac5",type:"tip",children:(0,l.jsx)(n.p,{children:"\u5c11\u585e\u6c38\u9060\u8f09\u5165\u7684\u6771\u897f\uff0c\u591a\u7528 on-demand \u6a5f\u5236\uff1b\u8b93\u8cc7\u6599\u7559\u5728\u5de5\u5177\u548c\u6a94\u6848\u88e1\uff0c\u8b93 Agent \u53ea\u62ff\u505a\u6c7a\u7b56\u9700\u8981\u7684\u8cc7\u8a0a\u3002"})}),"\n",(0,l.jsx)(n.p,{children:"\u5982\u679c\u5927\u5bb6\u4e5f\u60f3\u958b\u59cb\u512a\u5316 Cursor AI / MCP \u7684 Token \u6210\u672c\uff0c\u5c31\u8a66\u8a66\u770b\u5148\u5f9e\u524d\u9762\u7684\u81ea\u8a55\u8868\u958b\u59cb\u5427!!"})]})}function a(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,l.jsx)(n,{...e,children:(0,l.jsx)(h,{...e})}):h(e)}},71820(e,n,s){s.d(n,{A:()=>i});const i=s.p+"assets/images/befor-after-comparison-between-aio-mcp-introduced-8f092797366861276705874a539875d1.png"},92048(e,n,s){s.d(n,{A:()=>i});const i=s.p+"assets/images/befor-after-comparison-between-mixed-mcp-introduced-5a3e872832efc29b350cc6a91422c0a9.png"},96150(e,n,s){s.d(n,{A:()=>i});const i=s.p+"assets/images/how-many-tokens-consumed-by-mcp-server-71bfbc4e716c9c7a833e3c033465b809.png"},22700(e,n,s){s.d(n,{A:()=>i});const i=s.p+"assets/images/tool-selection-chaos-in-multi-root-workspace-8b9ced2b143807d02d2710a30fe990b0.png"},28453(e,n,s){s.d(n,{R:()=>r,x:()=>d});var i=s(96540);const l={},t=i.createContext(l);function r(e){const n=i.useContext(t);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:r(e.components),i.createElement(t.Provider,{value:n},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.