Basic MCP skill demonstrating CLI-based execution pattern for fetching URL content
Use this Skill to:
This is a demonstration skill showing the minimal CLI-based pattern.
Demonstrates the core skill pattern:
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"
--url: The URL to fetch (required)# 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"
The skill returns the fetched content and prints:
Configure a fetch-capable MCP server in mcp_config.json:
{
"mcpServers": {
"fetch": {
"type": "stdio",
"command": "uvx",
"args": ["mcp-server-fetch"]
}
}
}
This skill demonstrates the foundation for creating more complex MCP workflows.