This repository was archived by the owner on Jul 1, 2026. It is now read-only.
Change default port - #71
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
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
enableDefaultMcpToolsflag 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"; |
There was a problem hiding this comment.
[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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.