Skip to content
VS Code

agentfetch for VS Code

io.github.bch1212/agentfetch

Token-budgeted web fetch for AI agents — auto-routes Jina, FireCrawl, Trafilatura, PDF.

client:VS Code transport:stdio runtime:pypi

Install agentfetch in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "jina-api-key",
      "description": "JINA_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "firecrawl-api-key",
      "description": "FIRECRAWL_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "redis-url",
      "description": "REDIS_URL",
      "password": true
    }
  ],
  "servers": {
    "agentfetch": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agentfetch-mcp"
      ],
      "env": {
        "JINA_API_KEY": "${input:jina-api-key}",
        "FIRECRAWL_API_KEY": "${input:firecrawl-api-key}",
        "REDIS_URL": "${input:redis-url}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

agentfetch in other clients