MCP HubMCP Hub
スキル一覧に戻る

simple-fetch

yoloshii
更新日 Today
214 閲覧
27
3
27
GitHubで表示
メタmcp

について

simple-fetchスキルは、URLコンテンツを取得するための基本的なCLI実行パターンを実証し、カスタムスキル開発のテンプレートとして機能します。必須の--urlパラメータを受け取り、MCP fetchツールを呼び出して結果を返します。このスキルを使用して、基礎的なパターンを学ぶか、Claude Codeから直接Webコンテンツを取得できます。

クイックインストール

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

デザイン

This skill provides a comprehensive guide for connecting MCP (Model Context Protocol) servers to Claude Code using HTTP, stdio, and SSE transports. It covers the complete setup process including installation, configuration, authentication, and security for integrating external services like GitHub, Notion, and databases. Use this when you need to add MCP server integrations, configure external tools, or connect to custom APIs in your development workflow.

スキルを見る

qmd

開発

qmd is a local search and indexing CLI tool that enables developers to index and search through local files using hybrid search combining BM25, vector embeddings, and reranking. It supports both command-line usage and MCP (Model Context Protocol) mode for integration with Claude. The tool uses Ollama for embeddings and stores indexes locally, making it ideal for searching documentation or codebases directly from the terminal.

スキルを見る

cloudflare-browser-rendering

メタ

Cloudflare Browser Rendering provides a headless browser automation API for tasks like taking screenshots, generating PDFs, scraping dynamic content, and testing web applications. It supports multiple integration methods including a REST API, Workers Bindings for Puppeteer/Playwright, and MCP servers. Use this skill when you need to automate browser interactions or extract data from JavaScript-heavy websites.

スキルを見る

mcporter

開発

The mcporter skill enables developers to manage and call Model Context Protocol (MCP) servers directly from Claude. It provides commands to list available servers, call their tools with arguments, and handle authentication and daemon lifecycle. Use this skill for integrating and testing MCP server functionality in your development workflow.

スキルを見る