This MCP server creates a virtual traveling environment, allowing an avatar to explore locations on Google Maps through text commands. You can guide the avatar, view photos, and even share your journey via social media.
To set up the MCP server for virtual traveling, follow these steps:
claude_desktop_config.json
:{
"mcpServers": {
"traveler": {
"command": "npx",
"args": ["-y", "@mfukushim/map-traveler-mcp"]
}
}
}
role.txt
For the complete experience with real maps, images, and persistence:
Obtain a Google Maps API key with the following enabled:
Set up a database location for storing your travels
Configure image processing with rembg:
python3 -m venv venv
. venv/bin/activate # or .\venv\Scripts\activate on Windows
pip install "rembg[cpu,cli]"
Get an image generation API key from pixAI or Stability.ai
Create a comprehensive configuration in claude_desktop_config.json
:
{
"mcpServers": {
"traveler": {
"command": "npx",
"args": ["-y", "@mfukushim/map-traveler-mcp"],
"env":{
"MT_GOOGLE_MAP_KEY":"your-google-map-api-key",
"MT_SQLITE_PATH":"path/to/traveler.sqlite",
"MT_REMBG_PATH": "path/to/rembg",
"MT_PIXAI_KEY":"your-pixai-key",
"MT_TIME_SCALE": "4"
}
}
}
}
Instead of a local SQLite file, you can use Turso's cloud database:
"env": {
"MT_TURSO_URL": "your-turso-db-url",
"MT_TURSO_TOKEN": "your-turso-access-token"
}
You can use withoutbg.com instead of local rembg:
"env": {
"MT_REMBG_WO_KEY": "your-withoutbg-api-key"
}
To set up with LibreChat:
Install LibreChat using Docker
Add rembg service to your docker-compose.override.yml
:
services:
api:
volumes:
- type: bind
source: ./librechat.yaml
target: /app/librechat.yaml
rembg:
image: danielgatis/rembg:latest
restart: always
command: "s --host 0.0.0.0 --port 7000 --log_level info"
Configure LibreChat's librechat.yaml
:
mcpServers:
traveler:
type: stdio
command: npx
args:
- -y
- "@mfukushim/map-traveler-mcp"
Add environment variables to your .env
file
Once set up, you can interact with your virtual traveler using natural language. Some examples:
The MCP server provides these core functions:
You can personalize your virtual traveler:
If you've configured Bluesky SNS access:
You can further customize your experience with these options:
"env": {
"MT_IMAGE_WIDTH": "512",
"MT_NO_IMAGE": "true",
"MT_MOVE_MODE": "skip",
"MT_FEED_TAG": "#virtual_traveler"
}
Where:
MT_IMAGE_WIDTH
: Controls the size of generated images (default: 512)MT_NO_IMAGE
: Disables image generation entirelyMT_MOVE_MODE
: Choose between "realtime" or "skip" travel modesMT_FEED_TAG
: Custom tag for SNS posts (minimum 15 characters)There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.