Content
# Tor Request MCP server
This is a simple MCP server, that allows your tools to do GET and POST requests to the internet through a Tor hidden service.
## Installation
```bash
pip install -r requirements.txt
```
## Running
```bash
brew services start tor
python server.py
```
## Adding it to your Claude Desktop
Locate the `~/.claude/config.json` file and add the following configuration:
```json
{
"mcpServers": {
"tor-request": {
"command": "python",
"args": ["/path/to/tor-request/server.py"]
}
}
}
```
Possible location for the Claude config file:
* macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
* Windows: `%APPDATA%\Claude\claude_desktop_config.json`
## Usage
Provides a `tor-request` tool that can be used in the chat.
Available commands:
* `tor-request get <url>`: Perform a GET request to the given URL through a Tor hidden service.
* `tor-request post <url> <data>`: Perform a POST request to the given URL through a Tor hidden service with the given data.
* `tor-request-with-headers get <url> <headers>`: Perform a GET request to the given URL through a Tor hidden service with the given headers.
* `tor-request-with-headers post <url> <data> <headers>`: Perform a POST request to the given URL through a Tor hidden service with the given data and headers.
Response contains the following fields in JSON format:
* `status_code`: The HTTP status code of the response.
* `body`: The body of the response.
* `headers`: The headers of the response.
Example:
```json
{
"status_code": 200,
"body": "Hello, world!",
}
```
Connection Info
You Might Also Like
Git
Model Context Protocol Servers
TrendRadar
🎯 Say goodbye to information overload. AI helps you understand news hotspots...
repomix
📦 Repomix is a powerful tool that packs your entire repository into a...
Mastra
The TypeScript AI agent framework. ⚡ Assistants, RAG, observability....
Blender
BlenderMCP integrates Blender with Claude AI for enhanced 3D modeling.
cua
Open-source infrastructure for Computer-Use Agents. Sandboxes, SDKs, and...