基于LuckyCola开放能力的MCP(Model Context Protocol)服务。支持图片合规性检查、文件操作、图片压缩、图片OCR等丰富功能.
Overview
LuckyCola MCP Service
A Model Context Protocol (MCP) service based on LuckyCola's open capabilities.
Features
- Standardized MCP interface, compatible with various MCP clients
- Environment variable configuration, ensuring security and convenience
- Online image compliance check to guarantee content safety
- Recipe inquiry tool for obtaining cooking methods of dishes
- A wide range of file operation functions, supporting file modification, deletion, renaming, etc.
- Image compression functionality to optimize image size
- Image OCR (Optical Character Recognition) function for easily extracting textual information from images
Project Structure
luckycola-mcp/
├── build/ # Compiled output
├── src/ # Source code
│ ├── api/ # API interface configuration
│ │ └── index.ts
│ ├── config/ # Configuration files
│ │ └── constants.ts
│ ├── services/ # Business services
│ │ └── service.ts
│ ├── types/ # Type definitions
│ │ └── index.ts
│ ├── utils/ # Utility functions
│ │ └── index.ts
│ └── index.ts # Entry point
├── package.json
├── tsconfig.json
├── yarn.lock
├── LICENSE
└── README.md
Server Config
{
"mcpServers": {
"luckycola-mcp": {
"command": "npx",
"args": [
"-y",
"luckycola-mcp"
],
"env": {
"LUCKYCOLA_OPEN_KEY": "你的APPKey",
"LUCKYCOLA_OPEN_UID": "你的UID",
"MCP_FILE_PATH": "希望进行文件/图片操作的目录路径,例如: /Users/yourname/Desktop/testDir"
}
}
}
}