Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MCPForUnity/Editor/Dependencies/DependencyManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private static void GenerateRecommendations(DependencyCheckResult result, IPlatf
{
if (dep.Name == "Python")
{
result.RecommendedActions.Add($"Install Python 3.11+ from: {detector.GetPythonInstallUrl()}");
result.RecommendedActions.Add($"Install Python 3.10+ from: {detector.GetPythonInstallUrl()}");
}
else if (dep.Name == "UV Package Manager")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public override DependencyStatus DetectPython()
}
}

status.ErrorMessage = "Python not found. Please install Python 3.11 or later.";
status.ErrorMessage = "Python not found. Please install Python 3.10 or later.";
status.Details = "Checked common installation paths including system, snap, and user-local locations.";
}
catch (Exception ex)
Expand Down Expand Up @@ -144,10 +144,10 @@ private bool TryValidatePython(string pythonPath, out string version, out string
version = output.Substring(7); // Remove "Python " prefix
fullPath = pythonPath;

// Validate minimum version (Python 4+ or Python 3.11+)
// Validate minimum version (Python 4+ or Python 3.10+)
if (TryParseVersion(version, out var major, out var minor))
{
return major > 3 || (major >= 3 && minor >= 11);
return major > 3 || (major >= 3 && minor >= 10);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public override DependencyStatus DetectPython()
"/opt/homebrew/bin/python3",
"/Library/Frameworks/Python.framework/Versions/3.13/bin/python3",
"/Library/Frameworks/Python.framework/Versions/3.12/bin/python3",
"/Library/Frameworks/Python.framework/Versions/3.11/bin/python3"
"/Library/Frameworks/Python.framework/Versions/3.11/bin/python3",
"/Library/Frameworks/Python.framework/Versions/3.10/bin/python3"
};

foreach (var candidate in candidates)
Expand Down Expand Up @@ -64,7 +65,7 @@ public override DependencyStatus DetectPython()
}
}

status.ErrorMessage = "Python not found. Please install Python 3.11 or later.";
status.ErrorMessage = "Python not found. Please install Python 3.10 or later.";
status.Details = "Checked common installation paths including Homebrew, Framework, and system locations.";
}
catch (Exception ex)
Expand Down Expand Up @@ -143,10 +144,10 @@ private bool TryValidatePython(string pythonPath, out string version, out string
version = output.Substring(7); // Remove "Python " prefix
fullPath = pythonPath;

// Validate minimum version (Python 4+ or Python 3.11+)
// Validate minimum version (Python 4+ or Python 3.10+)
if (TryParseVersion(version, out var major, out var minor))
{
return major > 3 || (major >= 3 && minor >= 11);
return major > 3 || (major >= 3 && minor >= 10);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public override DependencyStatus DetectPython()
}
}

status.ErrorMessage = "Python not found. Please install Python 3.11 or later.";
status.ErrorMessage = "Python not found. Please install Python 3.10 or later.";
status.Details = "Checked common installation paths and PATH environment variable.";
}
catch (Exception ex)
Expand Down Expand Up @@ -132,10 +132,10 @@ private bool TryValidatePython(string pythonPath, out string version, out string
version = output.Substring(7); // Remove "Python " prefix
fullPath = pythonPath;

// Validate minimum version (Python 4+ or Python 3.11+)
// Validate minimum version (Python 4+ or Python 3.10+)
if (TryParseVersion(version, out var major, out var minor))
{
return major > 3 || (major >= 3 && minor >= 11);
return major > 3 || (major >= 3 && minor >= 10);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion MCPForUnity/Editor/Setup/SetupWizardWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ private void DrawSetupStep()
{
// Only show critical warnings when dependencies are actually missing
EditorGUILayout.HelpBox(
"\u26A0 Missing Dependencies: MCP for Unity requires Python 3.11+ and UV package manager to function properly.",
"\u26A0 Missing Dependencies: MCP for Unity requires Python 3.10+ and UV package manager to function properly.",
MessageType.Warning
);

Expand Down
2 changes: 1 addition & 1 deletion MCPForUnity/UnityMcpServer~/src/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "MCPForUnityServer"
version = "6.3.0"
description = "MCP for Unity Server: A Unity package for Unity Editor integration via the Model Context Protocol (MCP)."
readme = "README.md"
requires-python = ">=3.11"
requires-python = ">=3.10"
dependencies = [
"httpx>=0.27.2",
"fastmcp>=2.12.5",
Expand Down
Loading