Winston AI MCP Server 是一款精准的AI检测器,可轻松检测AI生成内容、识别抄袭情况,还能进行文本对比。
env WINSTONAI_API_KEY=your-api-key npx -y winston-ai-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 build -t winston-ai-mcp .
# 运行容器
docker run -e WINSTONAI_API_KEY=your_api_key winston-ai-mcp
npm run build - 将TypeScript编译为JavaScriptnpm start - 启动MCP服务器npm run mcp-start - 将TypeScript编译为JavaScript并启动MCP服务器npm run lint - 运行ESLint进行代码质量检查npm run format - 使用Prettier格式化代码在 claude_desktop_config.json 中添加以下内容:
{
"mcpServers": {
"winston-ai-mcp": {
"command": "npx",
"args": ["-y", "winston-ai-mcp"],
"env": {
"WINSTONAI_API_KEY": "your-api-key"
}
}
}
}
在Cursor配置中添加以下内容:
{
"mcpServers": {
"winston-ai-mcp": {
"command": "npx",
"args": ["-y", "winston-ai-mcp"],
"env": {
"WINSTONAI_API_KEY": "your-api-key"
}
}
}
}
我们的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
}'
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"
}
}
}'
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 获取。
{
"text": "Your text to analyze (600+ characters recommended)",
"file": "(可选) 要扫描的文件。如果你提供了文件,API将扫描文件内容。文件必须是纯.pdf、.doc或.docx格式。",
"website": "(可选) 要扫描的网站URL。如果你提供了网站,API将获取网站内容并进行扫描。网站必须是公开可访问的。"
}
{
"url": "https://example.com/image.jpg"
}
{
"text": "要检查抄袭的文本",
"language": "en", // 可选,默认: "en"
"country": "us" // 可选,默认: "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团队用心打造 ❤️