map-traveler-mcp

v0.1.4
io.github.mfukushim/map-traveler-mcp Checked 3 days ago Published 1 year ago

Virtual traveler library for MCP

Values you need

VariableWhat it is
MT_GOOGLE_MAP_KEYoptional secret [Map] Google Map API key
MT_GEMINI_IMAGE_KEYoptional secret [Image.gemini] Gemini Image Api key
MT_MAX_RETRY_GEMINIoptional [Image.gemini] Number of retries when generating Gemini images Default: 0
MT_AVATAR_IMAGE_URIoptional [Image.gemini] Character reference image uri (file:// or https://) when generating Gemini image. Multiple settings can be made by separating them with the '|'. When multiple settings are made, they will be selected randomly.
MT_MAP_API_URLoptional [Map.etc] Optional: Map API custom endpoint. Example: direction=https://xxxx,places=https://yyyy
MT_TIME_SCALEoptional [Map] Optional:Scale of travel time on real roads duration. default 4
MT_SQLITE_PATHoptional [db.local] db save path: e.g. %USERPROFILE%/Desktop/traveler.sqlite ,$HOME/traveler.sqlite
MT_TURSO_URLoptional [db.api] Turso sqlite API URL
MT_TURSO_TOKENoptional secret [db.api] Turso sqlite API access token
MT_REMBG_PATHoptional [rembg.local] absolute path of the installed rembg cli
MT_REMBG_URLoptional [rembg.api] withoutbg.com rembg API URL
MT_REMBG_WO_KEYoptional secret [rembg.api] withoutbg.com rembg API key
MT_PIXAI_KEYoptional secret [Image.pixAi] pixAi API key
MT_SD_KEYoptional secret [Image.sd] Stability.ai image generation API key
MT_PIXAI_MODEL_IDoptional [Image.pixAi] Optional: pixAi ModelId, if not set use default model 1648918127446573124
MT_COMFY_URLoptional [Image.local.ComfyUi] Option: Generate image using ComfyUI API at specified URL. Example: http://192.168.1.100:8188
MT_COMFY_WORKFLOW_T2Ioptional [Image.local.ComfyUi] Optional: Path to API workflow file when using text to image with ComfyUI. If not specified: assets/comfy/t2i_sample.json
MT_COMFY_WORKFLOW_I2Ioptional [Image.local.ComfyUi] Optional: Path of API workflow file when image to image in ComfyUI. If not specified: assets/comfy/i2i_sample.json
MT_COMFY_PARAMSoptional [Image.local.ComfyUi] Optional: Variable values to send to the workflow via comfyUI API
MT_FIXED_MODEL_PROMPToptional [Image] Optional: Fixed avatar generation prompt. You will no longer be able to change your avatar during conversations.
MT_BODY_AREA_RATIOoptional [Image] Optional: Acceptable avatar image area ratio. default 0.042
MT_BODY_HW_RATIOoptional [Image] Optional: Acceptable avatar image aspect ratios. default 1.5~2.3
MT_BODY_WINDOW_RATIO_Woptional [Image] Optional: Avatar composite window horizontal ratio. default 0.5
MT_BODY_WINDOW_RATIO_Hoptional [Image] Optional: Avatar composite window aspect ratio. default 0.75
MT_BS_IDoptional [Sns.Bs] Bluesky sns registration address
MT_BS_PASSoptional secret [Sns.Bs] bluesky sns password
MT_BS_HANDLEoptional [Sns.Bs] bluesky sns handle name: e.g. xxxxxxxx.bsky.social
MT_FILTER_TOOLSoptional [etc] Optional: Directly filter the tools to be used. All are available if not specified. e.g. tips,set_traveler_location
MT_MOVE_MODEoptional [etc] Option: Specify whether the movement mode is 'realtime' or 'skip'. default realtime
MT_IMAGE_WIDTHoptional [Image] Option: Output image width (pixels) Default is 512
MT_NO_IMAGEoptional [Image] Options: 'true' = do not output image, not specified = output image if possible, default is not specified
MT_NO_AVATARoptional [Image] Option: 'true' = Output StreetView image as is without avatar superimposition. Not specified = Superimpose avatar image. Default is not specified.
MT_FEED_TAGoptional [Sns] Optional: Specify the feed tag when posting to SNS (#required, 15 characters or more) Default is #geo_less_traveler
MT_MAX_SESSIONSoptional [Streamable-http] Maximum number of sessions when using Streamable-http
MT_SESSION_TTL_MSoptional [Streamable-http] Session TTL when using Streamable-http
MT_SERVICE_TTL_MSoptional [Streamable-http] Service TTL when using Streamable-http

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add map-traveler-mcp -- npx -y @mfukushim/map-traveler-mcp@0.1.4
Add to claude_desktop_config.json
{
  "mcpServers": {
    "map-traveler-mcp": {
      "args": [
        "-y",
        "@mfukushim/map-traveler-mcp@0.1.4"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "map-traveler-mcp": {
      "args": [
        "-y",
        "@mfukushim/map-traveler-mcp@0.1.4"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "map-traveler-mcp": {
      "args": [
        "-y",
        "@mfukushim/map-traveler-mcp@0.1.4"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.map-traveler-mcp]
command = "npx"
args = ["-y", "@mfukushim/map-traveler-mcp@0.1.4"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: get_traveler_view_info, get_traveler_location, tips, get_setting, get_traveler_info, set_traveler_info, start_traveler_journey, stop_traveler_journey.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json