Model Context Protocol (MCP) Server for Winston AI - the most accurate AI Detector. Detect AI-generated content, plagiarism, and compare texts with ease.
env WINSTONAI_API_KEY=your-api-key npx -y winston-ai-mcp
Running the MCP Server locally via stdio 💻
Create a .env
file in your project root:
WINSTONAI_API_KEY=your_actual_api_key_here
# Clone the repository git clone https://github.com/gowinston-ai/winston-ai-mcp-server.git cd winston-ai-mcp-server # Install dependencies npm install # Build the project and start the server npm run mcp-start
Build and run with Docker:
# Build the image docker build -t winston-ai-mcp . # Run the container docker run -e WINSTONAI_API_KEY=your_api_key winston-ai-mcp
npm run build
- Compile TypeScript to JavaScriptnpm start
- Start the MCP servernpm run mcp-start
- Compile TypeScript to JavaScript and Start the MCP servernpm run lint
- Run ESLint for code qualitynpm run format
- Format code with PrettierAdd to your claude_desktop_config.json
:
{ "mcpServers": { "winston-ai-mcp": { "command": "npx", "args": ["-y", "winston-ai-mcp"], "env": { "WINSTONAI_API_KEY": "your-api-key" } } } }
Add to your Cursor configuration:
{ "mcpServers": { "winston-ai-mcp": { "command": "npx", "args": ["-y", "winston-ai-mcp"], "env": { "WINSTONAI_API_KEY": "your-api-key" } } } }Accessing the MCP Server via API 🌐
Our MCP server is hosted at https://api.gowinston.ai/mcp/v1
and can be accessed via HTTPS requests.
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 }'Example: AI Text Detection
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" } } }'Example: AI Image Detection
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" } } }'Example: Plagiarism Detection
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" } } }'
Note: Replace your-winston-ai-api-key
with your actual Winston AI API key. You can get one at https://dev.gowinston.ai.
{ "text": "Your text to analyze (600+ characters recommended)", "file": "(optional) A file to scan. If you supply a file, the API will scan the content of the file. The file must be in plain .pdf, .doc or .docx format.", "website": "(optional) A website URL to scan. If you supply a website, the API will fetch the content of the website and scan it. The website must be publicly accessible." }
{ "url": "https://example.com/image.jpg" }
{ "text": "Text to check for plagiarism", "language": "en", // optional, default: "en" "country": "us" // optional, default: "us" }
{ "first_text": "First text to compare", "second_text": "Second text to compare" }
We welcome contributions!
git checkout -b feature/amazing-feature
)git commit -m 'Add amazing feature'
)git push origin feature/amazing-feature
)This project is licensed under the MIT License - see the LICENSE file for details.
If you find this project helpful, please give it a star on GitHub!
Made with ❤️ by the Winston AI Team
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4