Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TuringMind MCP Serverupload my code review for the auth system in turingmind/backend"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TuringMind MCP Server
Model Context Protocol (MCP) server for TuringMind cloud integration. Provides type-safe tools for Claude to authenticate, upload code reviews, fetch repository context, and submit feedback.
Requires Python 3.10+ (MCP SDK requirement)
Why MCP?
Instead of Claude generating raw JSON and curl commands (which can fail silently due to field name mismatches or malformed data), MCP provides:
Type-safe tool definitions — Claude sees the exact schema
Validated input — Errors caught before sending
No endpoint guessing — Correct URLs hardcoded
Better error messages — Clear feedback on failures
Simplified login — Device code flow handled by the server
Installation
From PyPI
With pipx (recommended for CLI tools)
From Source
Verify Installation
Quick Start
1. Configure Claude Desktop
Add to your Claude Desktop config file:
Platform | Path |
macOS |
|
Windows |
|
Linux |
|
2. Restart Claude Desktop
3. Login to TuringMind
In Claude, say: "Log me into TuringMind"
Claude will guide you through the device code flow.
Available Tools
Authentication
Tool | Description |
| Start device code auth flow (no API key needed) |
| Complete login and save API key |
| Check API key and account status |
Code Review
Tool | Description |
| Upload review results to cloud |
| Get memory context for a repository |
| Mark issues as fixed, dismissed, or false positive |
Tool Reference
turingmind_initiate_login
Start device code authentication flow. No API key required.
Parameters: None
Returns:
verification_url— URL to open in browseruser_code— Code to enter when prompteddevice_code— Use withturingmind_poll_login
turingmind_poll_login
Poll for authentication completion.
Parameters:
Name | Type | Required | Description |
| string | ✅ | Device code from |
Returns:
On success: API key (automatically saved to
~/.turingmind/config)On pending: Status message to wait and retry
On expired: Error message to restart flow
turingmind_validate_auth
Validate API key and get account info.
Parameters: None
Returns:
Tier (free, pro, team, enterprise)
Quota remaining
User ID
turingmind_upload_review
Upload code review results to TuringMind cloud.
Parameters:
Name | Type | Required | Description |
| string | ✅ | Repository (owner/repo) |
| string | Git branch name | |
| string | Git commit SHA | |
|
| Review type (default: quick) | |
| array | List of issues found | |
| string | Full review as markdown | |
| object | {critical, high, medium, low} counts | |
| array | Files that were reviewed |
Issue Schema:
turingmind_get_context
Get memory context for a repository.
Parameters:
Name | Type | Required | Description |
| string | ✅ | Repository (owner/repo) |
Returns:
Recent open issues
Hotspot files (frequent issues)
Team conventions
Known false positive patterns
turingmind_submit_feedback
Submit feedback on a code review issue.
Parameters:
Name | Type | Required | Description |
| string | ✅ | Issue ID (e.g., |
| string | ✅ | One of: |
| string | ✅ | Repository (owner/repo) |
| string | File path where issue was found | |
| integer | Line number of the issue | |
| string | For false_positive: pattern to skip in future | |
| string | Explanation for the feedback |
Actions:
fixed— Issue was resolved (tracks time-to-fix metrics)dismissed— Issue isn't important (lowers future priority)false_positive— Not a real issue (adds pattern to memory)
Usage Examples
Login Flow
Review with Upload
False Positive Feedback
Configuration
Environment Variables
Variable | Description | Default |
| API server URL |
|
| API key | Read from |
| Enable debug logging |
|
Config File
API credentials are stored in ~/.turingmind/config:
Claude Desktop with Custom API URL
Development
Setup
Run Locally
Test with MCP Inspector
Run Tests
Lint & Format
Troubleshooting
"TURINGMIND_API_KEY not configured"
Run the login flow in Claude, or set the environment variable:
"Permission Denied"
API key lacks required permission. Re-run login to create a new key with proper permissions.
"Connection Error"
Check that
TURINGMIND_API_URLis correctVerify network connectivity
For local development, ensure backend is running
Claude doesn't see the tools
Verify
turingmind-mcpis in your PATH:which turingmind-mcpCheck Claude Desktop config is valid JSON
Restart Claude Desktop completely (Cmd+Q / close from tray)
License
MIT — see LICENSE for details.
Links
TuringMind — AI-powered code review