[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-788120-105":3,"detail-sidebar-cat-0-en-105":83,"doc-detail-788120-en":133,"doc-similar-788120":163},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":76,"head_meta":78,"extra_data":80,"updated_unix":82},105,"en","custom-agents-with-zed-and-the-model-context-protocol-ai-tutorial","Custom Agents with Zed and the Model Context Protocol - AI Tutorial","","Comprehensive technical tutorial and discussion on building custom AI agents using the Zed editor and the Model Context Protocol (MCP). The presentation explores tool calling mechanisms, the architectural benefits of MCP as a standardized protocol for large language models, practical implementation details utilizing stdio and HTTP, and essential security considerations regarding prompt injection and data exfiltrations. Additionally, it covers community discussions, alternative approaches such as Claude Skills, and MCP support integration within AI chat systems.",{"@graph":14,"@context":75},[15,34,54],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/custom-agents-with-zed-and-the-model-context-protocol-ai-tutorial/788120/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":48,"encodingFormat":47,"isAccessibleForFree":49,"interactionStatistic":50},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/custom-agents-with-zed-and-the-model-context-protocol-ai-tutorial/788120.png","ImageObject",300,407,{"name":42,"@type":43},"Melati","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-12-05",true,{"@type":51,"interactionType":52,"userInteractionCount":22},"InteractionCounter",{"@type":53},"ViewAction",{"@type":55,"mainEntity":56},"FAQPage",[57,63,67,71],{"name":58,"@type":59,"acceptedAnswer":60},"What is the Model Context Protocol (MCP) and what issue does it solve?","Question",{"text":61,"@type":62},"MCP is a protocol developed by Anthropic that provides resources and tools for large language models. It solves the combinatorial integration issue between multiple tools and clients by establishing a standardized 'narrow waist' protocol inspired by the Language Server Protocol.","Answer",{"name":64,"@type":59,"acceptedAnswer":65},"What are the primary communication methods supported by MCP for resource access?",{"text":66,"@type":62},"MCP supports stdio for local resources and HTTP for public resources, enabling flexible integration with clients such as the Zed LLM/MCP client.",{"name":68,"@type":59,"acceptedAnswer":69},"What security risks are highlighted when using MCP servers and tool calls?",{"text":70,"@type":62},"Key security considerations include prompt injection vulnerabilities and the risk of untrusted LLM outputs, requiring assumptions that all data may be exfiltrated to MCP servers and any tool call could be executed.",{"name":72,"@type":59,"acceptedAnswer":73},"What potential alternative to MCP is discussed in the presentation?",{"text":74,"@type":62},"Claude Skills is discussed as a potential alternative, utilizing a directory of descriptions and code that are fully loaded into the context on demand.","https://schema.org",{"og:url":32,"og:type":77,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":79,"canonical":32},"index,follow",{"doc_id":81,"site_id":7},788120,1796476767,{"code":4,"msg":84,"data":85},"success",[86,90,94,98,103,107,112,117,122,125,129],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":87,"show_sort_weight":88,"slug":89},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":91,"show_sort_weight":92,"slug":93},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":95,"show_sort_weight":96,"slug":97},"Exam",70,"exam",{"id":99,"doc_module":4,"doc_module_name":25,"category_name":100,"show_sort_weight":101,"slug":102},5,"Comic",60,"comic",{"id":104,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":105,"slug":106},6,50,"technology",{"id":108,"doc_module":4,"doc_module_name":25,"category_name":109,"show_sort_weight":110,"slug":111},7,"Healthcare",40,"healthcare",{"id":113,"doc_module":4,"doc_module_name":25,"category_name":114,"show_sort_weight":115,"slug":116},8,"Research & Report",30,"research-report",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":119,"show_sort_weight":120,"slug":121},9,"Religion & Spirituality",20,"religion-spirituality",{"id":120,"doc_module":4,"doc_module_name":25,"category_name":123,"show_sort_weight":120,"slug":124},"World Cup","world-cup",{"id":126,"doc_module":4,"doc_module_name":25,"category_name":127,"show_sort_weight":126,"slug":128},10,"Lifestyle","lifestyle",{"id":130,"doc_module":4,"doc_module_name":25,"category_name":131,"show_sort_weight":99,"slug":132},19,"General","general",{"code":4,"msg":84,"data":134},{"doc_id":81,"user_id":135,"nickname":42,"user_avatar":136,"doc_module":4,"category_id":104,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":137,"file_id":138,"file_url":139,"file_type":140,"file_size":141,"view_count":22,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":118,"language":142,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":143,"faqs":144,"seo_title":145,"seo_description":12,"update_tm":82,"read_time":146,"preview_page_count":33,"preview_urls":147},962085570644,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","Jakob Hördt  \nCustom Agents with Zed  \nand the Model Context Protocol  \n2025-12-11 AI-Open Q&A Hour  \nTool Calling  \n■ OpenAI /chat/completions API  \n■ request contains description of tools besides messages  \n■ last events in SSE stream define tool_calls instead of content  \n■ finish_ reason: tool_calls  \n■ issue: n · m implementations of n tools in m Clients  \nJakob Hördt  AI-Open Q&A Hour 2 / 7  \nModel Context Protocol (MCP)  \n■ protocol by Anthropic. Ressources and Tools for LLMs  \n■ Solves combinatorial issue.“Narrow Waist”  \n■ Inspired by Language Server Protocol (LSP)  \n▶ JSON-RPC 2.0  \nJakob Hördt  AI-Open Q&A Hour 3 / 7  \nModel Context Protocol (MCP)  \n■ Ressources, Tools, Prompts  \n■ stdio for local resources  \n■ [HTTP](HTTP) for “public” resources  \n■ Example with Zed LLM/MCP CLient  \nJakob Hördt  AI-Open Q&A Hour 4 / 7  \nDemo  \nDemo  \nJakob Hördt  AI-Open Q&A Hour 5 / 7  \nSecurity Considerations  \n■ Prompt Injection  \n■ LLM output cannot be trusted w/ untrusted input  \n▶ Assume all data exfiltrated to MCP servers  \n▶ Assume any tool call will be made  \nJakob Hördt  AI-Open Q&A Hour 6 / 7  \nDiscussion  \n■ MCP has reputation of being badly designed  \n▶ Streamable [HTTP](HTTP)  \n■ Glue Code over APIs.  \n■ Do we need so many tools?  \n▶ Commandline, Python, [etc. as](etc. as) universal tool  \n■ Context Window usage. Token heavy  \n■ Potential alternative: Claude Skills  \n▶ Directory of description and code.  \n▶ Fully loaded into context on demand  \nJakob Hördt  AI-Open Q&A Hour 7 / 7  \nMCP support in Chat AI  \n■ Chat AI connects to public MCP servers  \n■ OpenAI API compatibility  \nJakob Hördt  AI-Open Q&A Hour 8 / 7  \nMCP support in Chat AI  \nJakob Hördt  AI-Open Q&A Hour 9 / 7","cbCaieCFzi9JQ8Ra","https://ap.wps.com/l/cbCaieCFzi9JQ8Ra","pdf",200363,"English","# Tool Calling\n# Model Context Protocol (MCP)\n# Demo\n# Security Considerations\n# Discussion\n# MCP support in Chat AI","[{\"question\":\"What is the Model Context Protocol (MCP) and what issue does it solve?\",\"answer\":\"MCP is a protocol developed by Anthropic that provides resources and tools for large language models. It solves the combinatorial integration issue between multiple tools and clients by establishing a standardized 'narrow waist' protocol inspired by the Language Server Protocol.\"},{\"question\":\"What are the primary communication methods supported by MCP for resource access?\",\"answer\":\"MCP supports stdio for local resources and HTTP for public resources, enabling flexible integration with clients such as the Zed LLM/MCP client.\"},{\"question\":\"What security risks are highlighted when using MCP servers and tool calls?\",\"answer\":\"Key security considerations include prompt injection vulnerabilities and the risk of untrusted LLM outputs, requiring assumptions that all data may be exfiltrated to MCP servers and any tool call could be executed.\"},{\"question\":\"What potential alternative to MCP is discussed in the presentation?\",\"answer\":\"Claude Skills is discussed as a potential alternative, utilizing a directory of descriptions and code that are fully loaded into the context on demand.\"}]","Custom Agents with Zed and the Model Context Protocol - AI Tutorial | PDF",23,[148,152,155,159],{"page_no":22,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-05/9e986cbd146ba561d8541fbcb513c300.webp",983,552,{"page_no":26,"url":153,"width":154,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-05/03adea88dd981df1441631d70ed2f642.webp",982,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-05/1c5454e0b2f1f6a26aea4c421ac61412.webp",981,551,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-05/c2c7b04c53eeeef1af9040b093d6a1b4.webp",980,550,{"list":164,"token":11},[165,171,178,184,191,198,204,211,217,223],{"doc_id":166,"doc_title":167,"file_type":140,"home_preview_img_url":168,"slug":169,"view_count":30,"category_name":29,"create_tm":170},733028,"MCP for DevOps - Unleashing the Power of AI and MCP in Dev/Net/SecOps","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031782571/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587079&Signature=wI5ydm3y0pzTvHsm%2Fy%2FYplYsDKE%3D","mcp-for-devops-unleashing-the-power-of-ai-and-mcp-in-devnetsecops",1795383359,{"doc_id":172,"doc_title":173,"file_type":140,"home_preview_img_url":174,"slug":175,"view_count":176,"category_name":29,"create_tm":177},733003,"Claude Code MCP Integration - Connect Your AI to Every Tool You Use","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031415110/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587079&Signature=i1%2FB4hsrkTJkt8g0Hb6Q1xg7%2Bx0%3D","claude-code-mcp-integration-connect-your-ai-to-every-tool-you-use",11,1795383257,{"doc_id":179,"doc_title":180,"file_type":140,"home_preview_img_url":181,"slug":182,"view_count":108,"category_name":29,"create_tm":183},733023,"Knowledge Gateway MCP Integration Guide - v3 - integration steps","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031782552/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587079&Signature=6ylzyspYLTmK1u5Iw0VH4oHJVj4%3D","knowledge-gateway-mcp-integration-guide-v3-integration-steps",1795383349,{"doc_id":185,"doc_title":186,"file_type":140,"home_preview_img_url":187,"slug":188,"view_count":189,"category_name":29,"create_tm":190},687618,"Anthropic Academy Playbook - Key concepts and takeaways from all 18 courses","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001262897/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587079&Signature=yYOzrEhWt%2FOSdcG5bRxrUT23ci0%3D","anthropic-academy-playbook-key-concepts-and-takeaways-from-all-18-courses",25,1794084309,{"doc_id":192,"doc_title":193,"file_type":140,"home_preview_img_url":194,"slug":195,"view_count":196,"category_name":29,"create_tm":197},689092,"Claude MCP Setup Guide - No Terminal Required","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001508321/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587079&Signature=M4heU1Fe310nfgY0pXDgN0qoC1U%3D","claude-mcp-setup-guide-no-terminal-required",22,1794096122,{"doc_id":199,"doc_title":200,"file_type":140,"home_preview_img_url":201,"slug":202,"view_count":108,"category_name":29,"create_tm":203},721656,"Agentic AI Bootcamp - Session 1 - Concepts, Hands-On, and Tools","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024726388/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587079&Signature=H7ApORn7HiNAWyBPeMvrqrccbDg%3D","agentic-ai-bootcamp-session-1-concepts-hands-on-and-tools",1795063870,{"doc_id":205,"doc_title":206,"file_type":140,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":29,"create_tm":210},687622,"AI-Powered Coding and Analytics with Claude - A Practical Guide to Using Claude Desktop, Claude Code, and MCP Integrations for Academic and Professional Work","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001262971/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587079&Signature=hDpbg7GMX9knvJ2%2B1coAHydHuVY%3D","ai-powered-coding-and-analytics-with-claude-a-practical-guide-to-using-claude-desktop-claude-code-and-mcp-integrations-for-academic-and-professional-work",18,1794084331,{"doc_id":212,"doc_title":213,"file_type":140,"home_preview_img_url":214,"slug":215,"view_count":108,"category_name":29,"create_tm":216},708129,"Automating Lattice Radiant with MCP Server and Claude Skills - User Guide - August 2026","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230015752377/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587079&Signature=g3bLFYEACsXRiv28frfLIp%2Bj0%2Fw%3D","automating-lattice-radiant-with-mcp-server-and-claude-skills-user-guide-august-2026",1794710016,{"doc_id":218,"doc_title":219,"file_type":140,"home_preview_img_url":220,"slug":221,"view_count":104,"category_name":29,"create_tm":222},701274,"Ruflo Setup Guide - Ruflo Setup Guide - How to install and use","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012064930/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587079&Signature=QX1FH9RCNWJbt4lBEW0D1IRPRu4%3D","ruflo-setup-guide-ruflo-setup-guide-how-to-install-and-use",1794525293,{"doc_id":224,"doc_title":225,"file_type":140,"home_preview_img_url":226,"slug":227,"view_count":26,"category_name":29,"create_tm":228},786472,"FAQ-1211-en","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230057394432/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587079&Signature=XVdOlYcM4ROFFcGNdQ37R5ZCU9U%3D","faq-1211-en",1796427112]