Secure fetch to prevent access to local resources
{{ message }}
appsec-innovation-labs / secure-mcp-fetch Public
Simple secured fetch
MIT license
1 star0 forksBranches Tags Activity
Star
Notifications
main
BranchesTags
Go to file
Code
Name | Name | Last commit message | Last commit date |
---|---|---|---|
1 Commit | |||
LICENSE | LICENSE | ||
main.py | main.py | ||
readme.md | readme.md | ||
View all files |
This project implements a secure URL fetching tool using FastMCP.
pip install uv
uv venv source .venv/bin/activate uv pip install fastmcp requests
export SECURE_FETCH_ALLOWLIST="example.com,trusted-domain.org"
uv run main.py
Once the script is running, you can use the fetch_url
function to securely fetch URLs. The function will return a dictionary containing the status code, response body, and content length.
This tool is designed for secure URL fetching. Always review and understand the code before using it in your environment.
Readme
MIT license
Activity
Custom properties
1 star
0 watching
0 forks
Report repository
No releases published
No packages published
Web content fetching and conversion for efficient LLM usage
Enable AI agents to get structured data from unstructured web with AgentQL.
Use 3,000+ pre-built cloud tools to extract data from websites, e-commerce, social media, search engines, maps, and more
Discover, extract, and interact with the web - one interface powering automated access across the public internet.
Automate browser interactions in the cloud (e.g. web navigation, data extraction, form filling, and more)
Easy web data access. Simplified retrieval of information from websites and online sources.
Extract web data with Firecrawl
Hyperbrowser is the next-generation platform empowering AI agents and enabling effortless, scalable browser automation.
Leverage Notte Web AI agents & cloud browser sessions for scalable browser automation & scraping workflows
Scrape websites with Oxylabs Web API, supporting dynamic rendering and parsing for structured data extraction.