🚀 Winston AI MCP Server ⚡️
Winston AI MCP Server 是一款精準的AI檢測器,可輕鬆檢測AI生成內容、識別抄襲情況,還能進行文本對比。

✨ 主要特性
🔍 AI文本檢測
- 人類與AI寫作分類:判斷文本是由人類還是AI創作。
- 置信度評分:獲取基於百分比的置信度分數。
- 句子級分析:識別文本中最像AI生成的句子。
- 多語言支持:支持多種語言的文本檢測。
- 信用成本:每字1信用點。
🖼️ AI圖像檢測
- 圖像分析:使用先進的機器學習模型檢測AI生成的圖像。
- 元數據驗證:分析圖像元數據和EXIF數據。
- 水印檢測:識別AI水印及其發行者。
- 多格式支持:支持JPG、JPEG、PNG和WEBP格式。
- 信用成本:每張圖像300信用點。
📝 抄襲檢測
- 全網掃描:與數十億網頁進行比對。
- 來源識別:查找並列出原始來源。
- 詳細報告:獲取全面的抄襲分析。
- 學術與專業用途:非常適合內容驗證。
- 信用成本:每字2信用點。
🔄 文本對比
- 相似度分析:比較兩個文本的相似度。
- 詞級匹配:詳細分析匹配內容。
- 百分比評分:獲取精確的相似度百分比。
- 雙向分析:進行雙向比較。
- 信用成本:兩個文本總字數每字0.5信用點。
🚀 快速開始
前提條件
- Node.js 18+
- Winston AI API密鑰(點擊獲取)
📦 安裝指南
使用npx運行 🔋
env WINSTONAI_API_KEY=your-api-key npx -y winston-ai-mcp
通過標準輸入輸出在本地運行MCP服務器 💻
在項目根目錄創建一個 .env 文件:
WINSTONAI_API_KEY=your_actual_api_key_here
git clone https://github.com/gowinston-ai/winston-ai-mcp-server.git
cd winston-ai-mcp-server
npm install
npm run mcp-start
📦 Docker支持
使用Docker構建並運行:
docker build -t winston-ai-mcp .
docker run -e WINSTONAI_API_KEY=your_api_key winston-ai-mcp
📋 可用腳本
npm run build - 將TypeScript編譯為JavaScript
npm start - 啟動MCP服務器
npm run mcp-start - 將TypeScript編譯為JavaScript並啟動MCP服務器
npm run lint - 運行ESLint進行代碼質量檢查
npm run format - 使用Prettier格式化代碼
🔧 配置
針對Claude桌面版
在 claude_desktop_config.json 中添加以下內容:
{
"mcpServers": {
"winston-ai-mcp": {
"command": "npx",
"args": ["-y", "winston-ai-mcp"],
"env": {
"WINSTONAI_API_KEY": "your-api-key"
}
}
}
}
針對Cursor IDE
在Cursor配置中添加以下內容:
{
"mcpServers": {
"winston-ai-mcp": {
"command": "npx",
"args": ["-y", "winston-ai-mcp"],
"env": {
"WINSTONAI_API_KEY": "your-api-key"
}
}
}
}
🌐 通過API訪問MCP服務器
我們的MCP服務器託管在 https://api.gowinston.ai/mcp/v1,可以通過HTTPS請求進行訪問。
示例:列出工具
curl --location 'https://api.gowinston.ai/mcp/v1' \
--header 'content-type: application/json' \
--header 'accept: application/json' \
--header 'jsonrpc: 2.0' \
--data '{
"jsonrpc": "2.0",
"method": "tools/list",
"id": 1
}'
示例:AI文本檢測
curl --location 'https://api.gowinston.ai/mcp/v1' \
--header 'content-type: application/json' \
--header 'accept: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "ai-text-detection",
"arguments": {
"text": "Your text to analyze (minimum 300 characters)",
"apiKey": "your-winston-ai-api-key"
}
}
}'
示例:AI圖像檢測
curl --location 'https://api.gowinston.ai/mcp/v1' \
--header 'content-type: application/json' \
--header 'accept: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "ai-image-detection",
"arguments": {
"url": "https://example.com/image.jpg",
"apiKey": "your-winston-ai-api-key"
}
}
}'
示例:抄襲檢測
curl --location 'https://api.gowinston.ai/mcp/v1' \
--header 'content-type: application/json' \
--header 'accept: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "plagiarism-detection",
"arguments": {
"text": "Text to check for plagiarism (minimum 100 characters)",
"apiKey": "your-winston-ai-api-key"
}
}
}'
示例:文本對比
curl --location 'https://api.gowinston.ai/mcp/v1' \
--header 'content-type: application/json' \
--header 'accept: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 4,
"method": "tools/call",
"params": {
"name": "text-compare",
"arguments": {
"first_text": "First text to compare",
"second_text": "Second text to compare",
"apiKey": "your-winston-ai-api-key"
}
}
}'
⚠️ 重要提示
請將 your-winston-ai-api-key 替換為你實際的Winston AI API密鑰。你可以在 https://dev.gowinston.ai 獲取。
📚 詳細文檔
AI文本檢測
{
"text": "Your text to analyze (600+ characters recommended)",
"file": "(可選) 要掃描的文件。如果你提供了文件,API將掃描文件內容。文件必須是純.pdf、.doc或.docx格式。",
"website": "(可選) 要掃描的網站URL。如果你提供了網站,API將獲取網站內容並進行掃描。網站必須是公開可訪問的。"
}
AI圖像檢測
{
"url": "https://example.com/image.jpg"
}
抄襲檢測
{
"text": "要檢查抄襲的文本",
"language": "en",
"country": "us"
}
文本對比
{
"first_text": "要比較的第一個文本",
"second_text": "要比較的第二個文本"
}
🤝 貢獻代碼
我們歡迎貢獻!
- 分叉倉庫
- 創建功能分支 (
git checkout -b feature/amazing-feature)
- 提交更改 (
git commit -m 'Add amazing feature')
- 推送到分支 (
git push origin feature/amazing-feature)
- 打開拉取請求
📄 許可證
本項目採用MIT許可證 - 詳情請參閱 LICENSE 文件。
🔗 鏈接
⭐ 支持
如果你覺得這個項目有幫助,請在GitHub上給它一個星星!
由Winston AI團隊用心打造 ❤️