Back to MCP directory
publicPublicdnsLocal runtime

nagoya-bus-mcp

名古屋公交查询MCP服务器,提供公交线路和到站信息查询功能

article

README

🚀 nagoya-bus-mcp

nagoya-bus-mcp是一个发布到PyPI的名古屋公交MCP服务器项目,为不同的开发环境和使用方式提供了相应的配置和启动方法,方便用户使用。

🚀 快速开始

名古屋公交MCP服务器已发布到PyPI。

Claude Desktop

将以下配置添加到claude_desktop_config.json文件中:

{
  "mcpServers": {
    "nagoya-bus": {
      "command": "uvx",
      "args": ["nagoya_bus_mcp"]
    }
  }
}

Visual Studio Code

将以下配置添加到.vscode/mcp.json文件中:

{
  "servers": {
    "nagoya-bus": {
      "type": "stdio",
      "command": "uvx",
      "args": ["nagoya_bus_mcp"],
      "env": {}
    }
  }
}

手动启动

使用uvx启动

$ uvx nagoya_bus_mcp

使用Docker启动

$ docker run -i --rm ghcr.io/ymyzk/nagoya-bus-mcp
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client