MCP server
Agents that speak the Model Context Protocol can call sudofetch as a tool. Add the server to your client's configuration:
{
"mcpServers": {
"sudofetch": {
"command": "npx",
"args": ["-y", "sudofetch-mcp"],
"env": { "SUDOFETCH_API_KEY": "YOUR_API_KEY" }
}
}
}
The server exposes one tool, scrape(url, format?, mode?, max_credits?), and handles polling. It talks to https://api.sudofetch.com unless
SUDOFETCH_API_URL says otherwise. Every result it returns is marked as untrusted content.