SkillFeeder › 全部 Skill › Agent工具链 › building-python-mcp-servers
快速构建健壮、安全、可测试的 Python MCP 服务器
building-python-mcp-servers
building-python-mcp-servers 是 SkillFeeder 收录的Agent Skill,来自 GitHub 仓库 kajisho5/ffmpeg-skill,★ 4,043。快速构建健壮、安全、可测试的 Python MCP 服务器。适合开发 MCP 工具的 Python 工程师。场景是Agent工具链 · MCP工具。能做的事包括生成机器可读错误契约,LLM 调用不崩溃、自动防御 prompt 注入,输入不可信也安全、支持单文件分发与全局状态隔离测试。打开 GitHub 自行安装。
能做什么
- 生成机器可读错误契约,LLM 调用不崩溃
- 自动防御 prompt 注入,输入不可信也安全
- 支持单文件分发与全局状态隔离测试
原文简介
Builds robust Python MCP (Model Context Protocol) servers with FastMCP — tool design, error contracts, event-loop-safe blocking work, subprocess/CLI wrapping, single-file vs packaged distribution, global-state-free testing, and prompt-injection awareness. Use when writing an MCP server, exposing a tool or CLI to an LLM client, debugging tool registration/packaging, or testing MCP tools.
同场景推荐
- automation-audit-ops所在仓库 affaan-m/ECC,仓库 ★ 275,129扫描并生成 ECC 自动化资产的实时证据清单与优化建议
- claude-api所在仓库 anthropics/skills,仓库 ★ 190,432调用 Claude API 构建生产级 LLM 应用
- mcp-builder所在仓库 anthropics/skills,仓库 ★ 190,432快速构建高质量MCP服务器,让大模型安全调用外部API
- learn-mcp所在仓库 rohitg00/ai-engineering-from-scratch,仓库 ★ 78,051交互式学习MCP协议,每轮掌握一个核心概念并记录到MCP-LEARNING.md
- mcpa-certification所在仓库 rohitg00/ai-engineering-from-scratch,仓库 ★ 78,051手把手陪考MCPA认证,边学边练边测边补漏。
- google-ads-api-mcp-setup所在仓库 google/skills,仓库 ★ 23,503一键配置 Google Ads MCP 服务器,让 AI 助手用自然语言查广告数据
- auto-review-loop-llm所在仓库 wanshuiyin/Auto-claude-code-research-in-sleep,仓库 ★ 18,864自动循环评审代码并持续优化,直到通过预设标准。
- auto-review-loop-minimax所在仓库 wanshuiyin/Auto-claude-code-research-in-sleep,仓库 ★ 18,864自动用 MiniMax 多轮评审并修复代码研究结果