MCP Catalogs
首页

mcp-hands-on-with-agentic-ai

by manulthanura·1·综合分 31

包含MCP服务器示例和模板的教育资源库,用于构建智能AI功能。

ai-llmdeveloper-toolseducation
0
Forks
0
活跃 Issue
8 个月前
最近提交
2 天前
收录于

概述

这个仓库提供了一种实践方法来学习和实现模型上下文协议(MCP)。它包含了多个Python和TypeScript的MCP服务器示例,展示了如何扩展AI代理的功能,包括文本分析、天气数据检索、项目文档生成和GitHub模型比较等。此外,还包含用于创建新MCP服务器的模板,对于希望将MCP集成到应用程序或构建新的智能AI工具的开发者来说非常有价值。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:通过实际示例学习MCP实现
:为特定AI代理功能构建自定义MCP服务器
:创建文本分析和文档生成的工具
:什么是模型上下文协议(MCP)?
:这个仓库支持哪些编程语言?

什么时候选它

如果您正在学习MCP实现或需要构建具有特定功能(如文本处理、天气数据、GitHub模型比较)的MCP服务器的示例,请选择此仓库。

什么时候不要选它

如果您需要生产就绪的MCP服务器或需要超出教育示例的广泛文档和长期支持,请不要选择它。

此 server 暴露的工具

从 README 抽取出 9 个工具
  • count_characters

    Count the number of characters in a given text

  • count_words

    Count the number of words in a given text

  • get_current_weather

    Get current weather information for a location

  • get_forecasted_weather

    Get forecasted weather information for a location

  • summarize_project

    Summarize a project

  • generate_readme

    Generate a comprehensive README.md document

  • list_github_models

    List all available GitHub Models

  • compare_github_models

    Compare GitHub models

  • run_model_comparison

    Run completion comparisons between models

说明:Tool names were inferred from folder descriptions and README sections. No explicit tool documentation was provided in the main README.

可对比工具

mcp-server-templatepython-sdktypescript-sdkanthropic-mcp-examples

安装

安装

每个示例文件夹都包含自己的README.md文件,其中包含特定的安装说明。通常,过程包括:

  1. 将仓库克隆到您的计算机
  2. 导航到特定示例文件夹(例如,mcp-server-examples/text-assist
  3. 按照包安装说明进行操作(TypeScript使用npm install,Python使用pip install)
  4. 使用MCP Inspector在开发模式下运行服务器
  5. 配置Claude Desktop或Cursor以使用MCP服务器

对于Claude Desktop,通常需要将服务器配置添加到您的claude_desktop_config.json文件中。

FAQ

什么是模型上下文协议(MCP)?
MCP是一个通用协议,允许开发人员通过一致地提供上下文、工具和指令来为LLM添加代理行为。
这个仓库支持哪些编程语言?
这个仓库提供了Python和TypeScript MCP服务器的示例和模板。

mcp-hands-on-with-agentic-ai 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。