tor-mcp
本项目由 LLM 制作
Tor Web MCP
面向 LM Studio 的本地 MCP 服务器,提供两个工具:
tor_search(query, max_results=8)— 搜索 Ahmia 索引的洋葱服务。tor_fetch(url, max_chars=30000)— 通过本地 Tor SOCKS5 代理获取 v3.onionURL。
安装
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt如果您的 Tor SOCKS 监听地址不是 127.0.0.1:9050,请设置 TOR_SOCKS_URL。Tor Browser 通常使用不同的端口,请验证您的配置。
Related MCP server: minimal-mcp-web-search
测试
mcp dev server.pyLM Studio
使用绝对路径配置本地 stdio MCP 服务器:
{
"mcpServers": {
"tor-web": {
"command": "/ABSOLUTE/PATH/tor-mcp/.venv/bin/python",
"args": ["/ABSOLUTE/PATH/tor-mcp/server.py"]
}
}
}错误语义
该抓取器有意返回 LLM 可读的错误类别。特别是,当搜索结果不再可达时,会变成:
[SEARCH_RESULT_STALE]
这意味着该 URL 曾被索引,但当前不可达;这并不证明该地址无效。模型随后可以尝试另一个搜索结果。
其他类别包括 INVALID_ONION_URL、TOR_SEARCH_TIMEOUT、TOR_SEARCH_HTTP_ERROR、TOR_SEARCH_NETWORK_ERROR、NO_RESULTS、TOR_FETCH_NETWORK_ERROR、TOR_REDIRECT 和 TOR_REDIRECT_BLOCKED。
安全边界
tor_fetch仅接受 HTTP/HTTPS v3.onionURL。不自动重定向到
.onion之外。响应大小和网络超时均有上限。
不暴露通用的任意代理工具。
洋葱服务返回的内容仍必须视为不可信的 Web 内容。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables tool-calling LLMs to search the internet, capture website images, extract webpage text, and more via a local MCP server.14
- FlicenseAqualityDmaintenanceProvides local LLMs with web search and page fetching capabilities via MCP, with a focus on OWASP security best practices.2
- AlicenseNot gradedqualityAmaintenanceA minimal MCP server that exposes a private SearXNG instance as a search tool over streamable-HTTP, enabling web search from the llama.cpp WebUI or any compatible MCP client.1MIT
- AlicenseBqualityCmaintenanceLocal MCP server providing web search, web scraping, YouTube metadata/subtitles/downloads, image generation (MFLUX on macOS), and Playwright CLI browser automation tools.15MIT
Related MCP Connectors
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
MCP server exposing the Backtest360 engine API as tools for AI agents.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/neutron42-jp/tor-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server