Skip to content
This repository was archived by the owner on Jul 1, 2026. It is now read-only.

Change default port - #71

Merged
notargs merged 3 commits into
mainfrom
change_default_port
Jun 19, 2025
Merged

Change default port#71
notargs merged 3 commits into
mainfrom
change_default_port

Conversation

@notargs

@notargs notargs commented Jun 19, 2025

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings June 19, 2025 02:33
@notargs
notargs merged commit 0985183 into main Jun 19, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the default MCP server port from 8090 to 56780 across the codebase and adds a new enableDefaultMcpTools setting in Unity configurations.

  • Update default port in service entrypoint, Unity assets, and config files
  • Introduce enableDefaultMcpTools flag in Unity project settings
  • Revise English and Japanese READMEs with new default port and explanatory note

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
stdio-to-streamable-http/src/index.ts Updated MCP_SERVER_PORT default to 56780
UnityNaturalMCPTest/ProjectSettings/UnityNaturalMCPSetting.asset Changed port value and added enableDefaultMcpTools
UnityNaturalMCPTest/.vscode/mcp.json Updated server URL port
UnityNaturalMCPTest/.mcp.json Updated MCP_SERVER_PORT in env settings
UnityNaturalMCPServer/Editor/MCPSetting.cs Changed default port to 56780
README.md Updated default port in docs and added note
README.ja.md 同上(日本語版README)
Comments suppressed due to low confidence (1)

README.md:87

  • [nitpick] The [!NOTE] admonition syntax may not render on GitHub; consider using a supported markdown pattern (e.g., > **Note:**) to ensure it formats correctly.
> [!NOTE]


const MCP_SERVER_IP = process.env.MCP_SERVER_IP || "localhost";
const MCP_SERVER_PORT = process.env.MCP_SERVER_PORT || "8090";
const MCP_SERVER_PORT = process.env.MCP_SERVER_PORT || "56780";

Copilot AI Jun 19, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider extracting the default port number into a shared constant or configuration module to avoid duplicating the magic number across multiple files and docs.

Copilot uses AI. Check for mistakes.
@notargs
notargs deleted the change_default_port branch July 13, 2025 06:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants