avatar

Wang's Blog

Be Open, Share Knowledge, Keep Learning

  • 首页
  • 数理基础
  • 宇宙机
  • LLM
  • 管理与经济
  • 游戏
Home MCP(1)——MCP概述
文章

MCP(1)——MCP概述

Posted 2025-09-28 Updated 2025-08- 22
By Administrator
19~25 min read

参考文章/文档:

  • What is Model Context Protocol (MCP)? How it simplifies AI integrations compared to APIs | AI Agents That Work

  • 支持MCP协议的server:modelcontextprotocol/servers: Model Context Protocol Servers

什么是MCP

MCP与传统API的区别

Feature

MCP

Traditional API

Integration Effort

Single, standardized integration

Separate integration per API

Real-Time Communication

✅ Yes

❌ No

Dynamic Discovery

✅ Yes

❌ No

Scalability

Easy (plug-and-play)

Requires additional integrations

Security & Control

Consistent across tools

Varies by API

MCP:客户端与服务器端的交互流程

代码问题

mcp dev main.py 运行时,CLI会把main.py当作普通脚本

需要在根目录创建dev_stdio.py(名字无所谓)专门用于mcp dev

LLM
License:  CC BY 4.0
Share

Further Reading

Sep 28, 2025

代码阅读与运行1

RLHF 试着运行了一份非常基础的RLHF代码,来源于:https://github.com/lansinuote/Simple_RLHF_tiny B站上有对应视频 📁项目结构 Simple_RLHF_tiny-main/ ├── 🔧 核心代码文件 │ ├── util.py # 工具类:To

Sep 28, 2025

大模型入门(6)——Agent、MCP、FunctionCall

内容来自B站视频:【10分钟讲清楚 Prompt, Agent, MCP 是什么】https://www.bilibili.com/video/BV1aeLqzUE6L?vd_source=a704063646d181fb265230f6b49cca81 System Prompt和User Pro

Sep 28, 2025

代码阅读与运行2

这次运行的是大名鼎鼎的OpenRLHF 遇到的一些问题 自己的设备是colab提供的A100 GPU,显存40GB 安装的过程没有太大问题,都能顺利解决,安装之后按照README的顺序试着用以下命令启动SFT的训练(提供的脚本还没试过) !deepspeed --module openrlhf.cl

OLDER

实时通信技术

NEWER

代码阅读与运行2

Recently Updated

  • C++
  • Hello World
  • 数据仓库复习整理
  • 代码阅读与运行1
  • 大模型入门(6)——Agent、MCP、FunctionCall

Trending Tags

Halo 前端 强化学习 Python obsidian

Contents

©2026 Wang's Blog. Some rights reserved.

Using the Halo theme Chirpy