MCP HubMCP Hub
返回技能列表

simple-fetch

yoloshii
更新于 Today
160 次查看
27
3
27
在 GitHub 上查看
mcp

关于

The simple-fetch skill demonstrates the basic CLI execution pattern for fetching URL content, serving as a template for custom skill development. It accepts a required --url parameter, calls the MCP fetch tool, and returns the result. Use this skill to learn foundational patterns or fetch web content directly from Claude Code.

快速安装

Claude Code

推荐
插件命令推荐
/plugin add https://github.com/yoloshii/mcp-code-execution-enhanced
Git 克隆备选方式
git clone https://github.com/yoloshii/mcp-code-execution-enhanced.git ~/.claude/skills/simple-fetch

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

Simple Fetch Skill

When to Use This Skill

Use this Skill to:

  • Learn the basic skill pattern
  • Fetch content from a URL
  • Use as a template for creating custom skills

This is a demonstration skill showing the minimal CLI-based pattern.

What This Skill Does

Demonstrates the core skill pattern:

  1. Accept CLI arguments (--url)
  2. Call an MCP tool (fetch__fetch)
  3. Return result

Instructions

When you need to fetch content from a URL, execute:

cd /home/khitomer/Projects/mcp-code-execution-enhanced

uv run python -m runtime.harness scripts/simple_fetch.py \
    --url "https://example.com"

Parameters

  • --url: The URL to fetch (required)

Example Usage

# Fetch a webpage
uv run python -m runtime.harness scripts/simple_fetch.py \
    --url "https://docs.example.com/api"

# Fetch documentation
uv run python -m runtime.harness scripts/simple_fetch.py \
    --url "https://github.com/owner/repo/README.md"

Expected Output

The skill returns the fetched content and prints:

  • Success message with byte count
  • Or error message if fetch fails

MCP Servers Required

Configure a fetch-capable MCP server in mcp_config.json:

{
  "mcpServers": {
    "fetch": {
      "type": "stdio",
      "command": "uvx",
      "args": ["mcp-server-fetch"]
    }
  }
}

Technical Notes

  • Pattern: CLI args → MCP call → Result
  • Token cost: ~110 tokens (discover + read + execute)
  • Time: <10 seconds
  • Immutable: Parameters via CLI, no file editing needed

This skill demonstrates the foundation for creating more complex MCP workflows.

GitHub 仓库

yoloshii/mcp-code-execution-enhanced
路径: .claude/skills/simple-fetch

相关推荐技能

connect-mcp-server

设计

这个Skill指导开发者如何将MCP服务器连接到Claude Code,支持HTTP、stdio和SSE三种传输方式。它涵盖了安装、配置、认证和环境变量设置等完整流程,帮助集成GitHub、Notion、数据库等外部服务。当开发者需要添加MCP集成或配置外部工具时,这个Skill提供了详细的连接指南。

查看技能

cloudflare-browser-rendering

该Skill提供Cloudflare浏览器渲染API的完整实现指南,支持无头浏览器自动化操作。开发者可通过它进行网页截图、PDF生成、动态内容爬取和Web应用测试。它兼容REST API、Workers绑定(Puppeteer/Playwright)和AI驱动自动化,特别适用于需要JavaScript执行的网页数据提取任务。

查看技能

mcp-builder

mcp-builder是专为开发者创建的MCP服务器构建指南,帮助您将外部API和服务集成到LLM应用中。它提供了Python(FastMCP)和Node/TypeScript(MCP SDK)的双重支持,涵盖从需求分析到工具设计的完整开发流程。通过遵循其四阶段工作流,您可以创建高质量的MCP服务器,使LLM能够通过精心设计的工具有效操作外部服务。

查看技能

create-claude-plugin

这个Claude Skill指导开发者如何创建和分发Claude Code插件,用于打包技能、代理、命令和MCP服务器。它详细说明了插件结构、marketplace.json配置以及测试发布流程。当开发者需要构建可共享的插件或在市场中分发Claude扩展时,这个指南提供了完整的创建到发布的解决方案。

查看技能