Simple fetch

From yoloshii/mcp-code-execution-enhanced · View interactive version

Simple fetch is an AI agent skill from the GitHub repository yoloshii/mcp-code-execution-enhanced. Basic MCP skill demonstrating CLI-based execution pattern for fetching URL content

How to use this skill

Skill file

Simple Fetch Skill

When to Use This Skill

Use this Skill to:

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

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:

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

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.