yanyue-mcp
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"Yanyue_mcp": {
"args": [
"path/to/build/index.js"
],
"command": "node",
"description": "Fetch cigarette data from Yanyue",
"name": "Yanyue Cigarette Data",
"type": "stdio"
}
}
}
服务介绍
Yanyue MCP
An MCP server that fetches cigarette data from Yanyue (Yanyue.cn).
It provides the following tool:
searchCigarettes(keyword: str): Search for cigarette information based on a keyword.
System Requirements
Node.js version 18.16.0 or higher
npm version 9.5.1 or higher
Bun is recommended for better performance
Installation
Installing via Smithery
To install yanyue-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @gandli/yanyue-mcp --client claude
Manual Installation
- Clone the repository and install dependencies:
git clone --depth 1 git@gandli:Yanyue-mcp/Yanyue-mcp.git
cd Yanyue-mcp
npm install
# Or use Bun:
bun install
- Build the project:
npm run build
# Or use Bun:
bun run build
MCP Client Configuration
Add the following configuration to your MCP clients config.json:
{
"mcpServers": {
"Yanyue_mcp": {
"name": "Yanyue Cigarette Data",
"description": "Fetch cigarette data from Yanyue",
"type": "stdio",
"command": "node",
"args": ["path/to/build/index.js"]
}
}
}