Metadata-Version: 2.4
Name: aigohotel-mcp
Version: 0.2.0
Summary: MCP server for AIGOHOTEL hotel search, detail and tags APIs
Project-URL: Homepage, https://github.com/longcreat/aigohotel-mcp
Project-URL: Documentation, https://github.com/longcreat/aigohotel-mcp#readme
Project-URL: Repository, https://github.com/longcreat/aigohotel-mcp
Project-URL: Issues, https://github.com/longcreat/aigohotel-mcp/issues
Project-URL: API Key Application, https://mcp.agentichotel.cn/apply
Author-email: zlon <dreamtzlong@gmail.com>
License: MIT
License-File: LICENSE
Keywords: aigohotel,fastmcp,hotel,mcp,model-context-protocol,search
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.12
Requires-Dist: fastmcp>=2.10.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: python-dotenv>=1.0.0
Description-Content-Type: text/markdown

# AigoHotel MCP Server (UV Version)

AIGOHOTEL 酒店 MCP Server（Python/uv 版本，stdio 运行）。

当前版本：`0.2.0`  
包名：`aigohotel-mcp`

## 工具列表

- `searchHotels`
- `getHotelDetail`
- `getHotelSearchTags`

## 启动方式（uvx）

```bash
uvx aigohotel-mcp
```

或本地开发运行：

```bash
uv run python server.py
```

## 鉴权（stdio）

stdio 模式下通过环境变量传入 API Key：

- `AIGOHOTEL_API_KEY`
- `AIGOHOTEL_SECRET_KEY`

至少配置一个，例如：

```bash
# PowerShell
$env:AIGOHOTEL_API_KEY="mcp_your_key"
uvx aigohotel-mcp
```

## MCP 客户端配置（stdio）

```json
{
  "mcpServers": {
    "aigohotel": {
      "command": "uvx",
      "args": ["aigohotel-mcp"],
      "env": {
        "AIGOHOTEL_API_KEY": "mcp_your_key"
      }
    }
  }
}
```

## 相关链接

- API Key 申请：https://mcp.agentichotel.cn/apply
- Model Context Protocol：https://modelcontextprotocol.io/
