MCP初探
原理MCP(Model Context Protocol(模型上下文协议))是由Anthropic开发的一个标准化协议,用于让AI模型和应用程序与外部系统进行安全、高效的通信。 MCP 采用”主机-客户端-服务端”的三层架构 组件 核心职责 典型示例 MCP 主机端(Host) 发起请求的”需求方”,即需要调用外部资源的 AI 应用或程序,负责整合模型输出与外部工具结果 Claude 桌面应用、AI 开发 IDE(如 VS Code 插件)、企业内部 AI 助手系统 MCP 客户端(Client) 协议的”传输中介”,与服务端建立一对一专属连接,负责将主机端的请求标准化,同时将服务端的响应解析后返回主机端 遵循 MCP 协议开发的轻量级客户端程序、嵌入 AI 应用的协议模块 MCP 服务端(Server) 提供具体功能的”资源方”,通过 MCP 协议暴露特定能力,接收标准化请求后执行操作并返回结果 实时数据查询服务器、文件解析服务、第三方工具 API 适配服务(如地图、支付工具) mcp之前每个AI应用有自己的工具实现方式 OpenAI 方式 1...
博客美化todo
1234567891011# 清理缓存hexo clean# 重新生成hexo generate# 启动本地服务器hexo server#上传hexo d 美化优化文章永久链接为数字编号Hexo博客设置永久网址链接 - PPPFZ's Blog Hexo博客进阶教程(一)| 优化文章永久链接为数字编号-腾讯云开发者社区-腾讯云 安装插件 1npm install hexo-abbrlink --save 替换配置文件_config.yml以下内容即可 123456# permalink: :year/:month/:day/:title/# permalink_defaults:permalink: posts/:abbrlink/abbrlink: alg: crc32 #support crc16(default) and crc32 rep: dec #support dec(default) and hex 主题颜色、宽度设置、图片设置、遮罩效果1. 主题颜色(已恢复默认)修改 themes/butterfly/_config.yml 的 the...
demo
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
Android 逆向入门:DEX 文件格式详解
从零理解 DEX 文件结构,覆盖文件头、索引区、数据区及实战解析。



%20%E7%BB%93%E6%9E%84%E5%AD%A6%E4%B9%A0.jpg)




