Skip to content

Scope HTTP endpoint and server ownership per project - #1285

Open
liuzqk wants to merge 1 commit into
CoplayDev:betafrom
liuzqk:fix/project-scoped-http-endpoint
Open

Scope HTTP endpoint and server ownership per project#1285
liuzqk wants to merge 1 commit into
CoplayDev:betafrom
liuzqk:fix/project-scoped-http-endpoint

Conversation

@liuzqk

@liuzqk liuzqk commented Jul 28, 2026

Copy link
Copy Markdown

Description

Fix machine-global EditorPrefs cross-contamination that can make one Unity project inherit another project's local HTTP endpoint or server ownership metadata.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring (no functional changes)
  • Test update

Changes Made

  • Scope local endpoint, transport selection, PID, port, PID-file path, and instance token by project hash.
  • Let UNITY_MCP_HTTP_URL override only the current Unity process and reject non-local or unsupported schemes.
  • Migrate the legacy endpoint/transport bundle atomically to at most one project under a cross-process mutex.
  • Keep known global preferences global and use one storage-key resolver for all scoped accessors and diagnostics.
  • Display/search the resolved project key in the EditorPrefs diagnostics window.
  • Preserve pre-existing scoped endpoint/PID state in test fixtures and disable migration side effects during snapshot and teardown refreshes.

Compatibility / Package Source

  • Unity version(s) tested: 2022.3.62f3
  • Package source used (#beta, #main, tag, branch, or file:): branch derived directly from official beta (bd72241ab91c664176091789c9408d676783abec); local file: source for validation only
  • Resolved commit hash from Packages/packages-lock.json (if using a Git package URL): N/A

Single-project defaults remain unchanged. Configuration remains machine-local and is not written into the Unity project.

Testing/Screenshots/Recordings

  • Python tests (cd Server && uv run pytest tests/ -v)
  • Unity EditMode tests
  • Unity PlayMode tests
  • Package import/compile check
  • Not applicable (explain why in Additional Notes)

Unity 2022.3.62f3 targeted suite: 155 total, 154 passed, 0 failed, 1 intentional stress-only skip. Two isolated Unity processes also validated independent endpoints and project-scoped PID tracking.

Documentation Updates

  • I have added/removed/modified tools or resources
  • If yes, I have updated all documentation files using:
    • The LLM prompt at tools/UPDATE_DOCS_PROMPT.md (recommended)
    • Manual review of the generated changes

Related Issues

Relates to #1164.

Additional Notes

A rebuilt stable branch containing this PR plus #1286 and #1287 passed 162 targeted EditMode tests: 161 passed, 0 failed, 1 intentional stress-only skip. git diff --check passes.

Summary by CodeRabbit

  • New Features

    • Added support for overriding the local HTTP endpoint through the UNITY_MCP_HTTP_URL environment variable.
    • HTTP endpoint validation now accepts only HTTP and HTTPS schemes.
  • Improvements

    • Transport settings and server tracking data are now isolated per project, reducing cross-project preference conflicts.
    • Existing settings are migrated safely when applicable.
  • Tests

    • Expanded coverage for project-scoped settings, environment overrides, transport configuration, and legacy preference compatibility.

@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

This change adds project-scoped editor preferences with coordinated legacy migration, routes HTTP transport and PID tracking through scoped storage, supports UNITY_MCP_HTTP_URL, updates configuration UI and consumers, and migrates edit-mode tests.

Changes

Project-scoped transport configuration

Layer / File(s) Summary
Project-scoped preference storage
MCPForUnity/Editor/Helpers/ProjectIdentityUtility.cs
Adds project-hashed keys, typed accessors, and mutex-coordinated legacy migration.
Transport configuration and endpoint resolution
MCPForUnity/Editor/Services/EditorConfigurationCache.cs, MCPForUnity/Editor/Helpers/HttpEndpointUtility.cs, MCPForUnity/Editor/Helpers/CodexConfigHelper.cs, MCPForUnity/Editor/McpCiBoot.cs, MCPForUnity/Editor/Windows/...
Routes HTTP settings through scoped storage, supports the environment URL override, validates schemes, and updates consumers and preferences UI.
Project-scoped PID tracking
MCPForUnity/Editor/Services/Server/*
Stores, retrieves, and clears handshake and server tracking data through scoped preferences.
Test migration and validation
TestProjects/UnityMCPTests/Assets/Tests/EditMode/...
Updates transport, cache, server, PID, and configuration tests to use scoped preferences and restore prior state.

Estimated code review effort: 4 (Complex) | ~45 minutes

Sequence Diagram(s)

sequenceDiagram
  participant EditorConfigurationCache
  participant ProjectScopedEditorPrefs
  participant HttpEndpointUtility
  participant PidFileManager
  EditorConfigurationCache->>ProjectScopedEditorPrefs: load or persist scoped transport settings
  HttpEndpointUtility->>HttpEndpointUtility: resolve UNITY_MCP_HTTP_URL override
  HttpEndpointUtility->>ProjectScopedEditorPrefs: read or save local base URL
  PidFileManager->>ProjectScopedEditorPrefs: store or retrieve PID tracking data
Loading

Possibly related PRs

Suggested labels: bug

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 19.51% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title concisely describes the main change: scoping HTTP endpoint and server ownership by project.
Description check ✅ Passed The description covers the required template sections with concrete change, compatibility, testing, issues, and notes details.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@liuzqk
liuzqk force-pushed the fix/project-scoped-http-endpoint branch from 47573a4 to ce057c9 Compare July 28, 2026 10:07
@liuzqk
liuzqk marked this pull request as ready for review July 28, 2026 10:19

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 7

🧹 Nitpick comments (2)
MCPForUnity/Editor/Helpers/HttpEndpointUtility.cs (1)

58-76: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Env override silently masks saved/remote settings.

With UNITY_MCP_HTTP_URL set, SaveLocalBaseUrl still writes the scoped pref but GetLocalBaseUrl never returns it, and an explicitly configured remote scope is forced to local. That's a defensible override policy, but it's invisible: a user editing the URL in the connection UI sees no effect, and a remote-configured project silently talks to a local endpoint. Consider surfacing it (one-time McpLog line and/or a read-only hint in the connection section) so the override is discoverable.

Also applies to: 143-152

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@MCPForUnity/Editor/Helpers/HttpEndpointUtility.cs` around lines 58 - 76, Make
the UNITY_MCP_HTTP_URL override discoverable instead of silently masking saved
local or remote settings: in GetLocalBaseUrl and the corresponding remote URL
getter, emit a one-time McpLog message when TryGetLocalEnvironmentOverride
succeeds, stating that the environment URL is active and UI/persisted values are
ignored. Keep SaveLocalBaseUrl behavior unchanged.
TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/EditorConfigurationCacheTests.cs (1)

463-485: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Duplicate RestoreBool/RestoreString helpers across test files.

These are identical to helpers used in PidFileManagerTests.cs. Consider extracting to a shared EditMode test utility to avoid drift as project-scoped test patterns spread further.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/EditorConfigurationCacheTests.cs`
around lines 463 - 485, Extract the duplicate RestoreBool and RestoreString
helpers from EditorConfigurationCacheTests and PidFileManagerTests into a shared
EditMode test utility. Update both test classes to use the shared utility and
remove their local helper definitions, preserving the existing EditorPrefs
restoration behavior.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@MCPForUnity/Editor/Helpers/ProjectIdentityUtility.cs`:
- Around line 297-305: Update ResolveStorageKey and all storage operations,
including HasKey, typed Get*/Set* accessors, and DeleteKey, to use one
consistent key-resolution path. Since the current operations call GetKey
unconditionally, make ResolveStorageKey resolve every key the same way and reuse
it as the single source of truth; remove KnownProjectScopedKeys only if it is no
longer needed.

In `@MCPForUnity/Editor/Windows/EditorPrefs/EditorPrefsWindow.cs`:
- Around line 245-248: Update CreateEditorPrefItem so the UI-bound key value
displays the resolved storageKey returned by
ProjectScopedEditorPrefs.ResolveStorageKey(key), while preserving raw-key
semantics wherever lookups or filtering depend on the original key. Adjust
GetAllMcpKeys or search comparisons accordingly, or introduce a separate display
field if EditorPrefItem.Key must remain the base key.

In
`@TestProjects/UnityMCPTests/Assets/Tests/EditMode/Helpers/WriteToConfigTests.cs`:
- Around line 37-44: Disable legacy fallback when capturing original preference
values through ProjectScopedEditorPrefs: update the GetBool/GetString calls for
UseHttpTransport, HttpUrl, and HttpTransportScope in
TestProjects/UnityMCPTests/Assets/Tests/EditMode/Helpers/WriteToConfigTests.cs:37-44,
and the _savedUseHttpTransport reads in
TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/HttpAutoStartHandlerTests.cs:36-37
and
TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/HttpBridgeReloadHandlerTests.cs:36-37,
by passing allowLegacyFallback: false while preserving their existing defaults.

In
`@TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Characterization/ServerManagementServiceCharacterizationTests.cs`:
- Around line 42-48: Update the scoped preference snapshots in
TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Characterization/ServerManagementServiceCharacterizationTests.cs
lines 42-48 and
TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Server/ServerCommandBuilderTests.cs
lines 27-30 to pass allowLegacyFallback: false to all specified
ProjectScopedEditorPrefs.Get* calls, while retaining the existing HasKey guards
and snapshot behavior.

In
`@TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/EditorConfigurationCacheTests.cs`:
- Around line 39-54: Update the SetUp cleanup in the test fixture to delete
_scopedHttpTransportScopeKey alongside _scopedUseHttpTransportKey,
_scopedHttpBaseUrlKey, and _migrationOwnerKey before Refresh() runs, ensuring
each test starts with a clean transport-scope preference.

In
`@TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Server/PidFileManagerTests.cs`:
- Around line 42-47: Update the SetUp and TearDown fixture logic in
PidFileManagerTests to preserve, rather than delete, the active project’s scoped
PID and handshake EditorPrefs keys. Snapshot each key’s existing value and
presence before tests, then restore the original state afterward, including
deleting only keys that were initially absent.

In
`@TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Server/ServerCommandBuilderTests.cs`:
- Around line 22-50: Update the ServerCommandBuilderTests fixture setup and
teardown to isolate UNITY_MCP_HTTP_URL: save its existing value, clear it before
endpoint tests run, and restore it afterward, including preserving whether it
was originally unset. Keep the change scoped to SetUp and TearDown so
TryBuildCommand_RemoteUrl_ReturnsFalse and the local-URL scenario always use
configured preferences.

---

Nitpick comments:
In `@MCPForUnity/Editor/Helpers/HttpEndpointUtility.cs`:
- Around line 58-76: Make the UNITY_MCP_HTTP_URL override discoverable instead
of silently masking saved local or remote settings: in GetLocalBaseUrl and the
corresponding remote URL getter, emit a one-time McpLog message when
TryGetLocalEnvironmentOverride succeeds, stating that the environment URL is
active and UI/persisted values are ignored. Keep SaveLocalBaseUrl behavior
unchanged.

In
`@TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/EditorConfigurationCacheTests.cs`:
- Around line 463-485: Extract the duplicate RestoreBool and RestoreString
helpers from EditorConfigurationCacheTests and PidFileManagerTests into a shared
EditMode test utility. Update both test classes to use the shared utility and
remove their local helper definitions, preserving the existing EditorPrefs
restoration behavior.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 9419d175-b893-4bca-9c88-9300af487142

📥 Commits

Reviewing files that changed from the base of the PR and between bd72241 and ce057c9.

📒 Files selected for processing (19)
  • MCPForUnity/Editor/Helpers/CodexConfigHelper.cs
  • MCPForUnity/Editor/Helpers/HttpEndpointUtility.cs
  • MCPForUnity/Editor/Helpers/ProjectIdentityUtility.cs
  • MCPForUnity/Editor/McpCiBoot.cs
  • MCPForUnity/Editor/Services/EditorConfigurationCache.cs
  • MCPForUnity/Editor/Services/Server/IPidFileManager.cs
  • MCPForUnity/Editor/Services/Server/PidFileManager.cs
  • MCPForUnity/Editor/Windows/Components/Connection/McpConnectionSection.cs
  • MCPForUnity/Editor/Windows/EditorPrefs/EditorPrefsWindow.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Helpers/ClientConfigFormatTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Helpers/CodexConfigHelperTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Helpers/WriteToConfigTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Characterization/ServerManagementServiceCharacterizationTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Characterization/Services_Characterization.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/EditorConfigurationCacheTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/HttpAutoStartHandlerTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/HttpBridgeReloadHandlerTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Server/PidFileManagerTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Server/ServerCommandBuilderTests.cs

Comment thread MCPForUnity/Editor/Helpers/ProjectIdentityUtility.cs Outdated
Comment thread MCPForUnity/Editor/Windows/EditorPrefs/EditorPrefsWindow.cs
Comment thread TestProjects/UnityMCPTests/Assets/Tests/EditMode/Helpers/WriteToConfigTests.cs Outdated
@liuzqk
liuzqk force-pushed the fix/project-scoped-http-endpoint branch from ce057c9 to eb2b8aa Compare July 28, 2026 10:35

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@MCPForUnity/Editor/Helpers/HttpEndpointUtility.cs`:
- Around line 369-381: Update TryGetLocalEnvironmentOverride to validate the
environment override with IsHttpLocalUrlAllowedForLaunch before accepting it as
local; reject values that are not allowed loopback HTTP(S) URLs by returning
false, or classify them as remote and apply IsRemoteUrlAllowed instead. Preserve
normalization only after validation so IsRemoteScope cannot force arbitrary
external endpoints through the local transport path.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 8f66e49e-4e48-43b9-823a-ba3799c9bcfa

📥 Commits

Reviewing files that changed from the base of the PR and between ce057c9 and eb2b8aa.

📒 Files selected for processing (19)
  • MCPForUnity/Editor/Helpers/CodexConfigHelper.cs
  • MCPForUnity/Editor/Helpers/HttpEndpointUtility.cs
  • MCPForUnity/Editor/Helpers/ProjectIdentityUtility.cs
  • MCPForUnity/Editor/McpCiBoot.cs
  • MCPForUnity/Editor/Services/EditorConfigurationCache.cs
  • MCPForUnity/Editor/Services/Server/IPidFileManager.cs
  • MCPForUnity/Editor/Services/Server/PidFileManager.cs
  • MCPForUnity/Editor/Windows/Components/Connection/McpConnectionSection.cs
  • MCPForUnity/Editor/Windows/EditorPrefs/EditorPrefsWindow.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Helpers/ClientConfigFormatTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Helpers/CodexConfigHelperTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Helpers/WriteToConfigTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Characterization/ServerManagementServiceCharacterizationTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Characterization/Services_Characterization.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/EditorConfigurationCacheTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/HttpAutoStartHandlerTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/HttpBridgeReloadHandlerTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Server/PidFileManagerTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Server/ServerCommandBuilderTests.cs
🚧 Files skipped from review as they are similar to previous changes (17)
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Characterization/Services_Characterization.cs
  • MCPForUnity/Editor/Services/Server/IPidFileManager.cs
  • MCPForUnity/Editor/Windows/Components/Connection/McpConnectionSection.cs
  • MCPForUnity/Editor/Helpers/CodexConfigHelper.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/HttpBridgeReloadHandlerTests.cs
  • MCPForUnity/Editor/McpCiBoot.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Server/ServerCommandBuilderTests.cs
  • MCPForUnity/Editor/Windows/EditorPrefs/EditorPrefsWindow.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Helpers/ClientConfigFormatTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Helpers/WriteToConfigTests.cs
  • MCPForUnity/Editor/Helpers/ProjectIdentityUtility.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/HttpAutoStartHandlerTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/EditorConfigurationCacheTests.cs
  • MCPForUnity/Editor/Services/Server/PidFileManager.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Server/PidFileManagerTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Characterization/ServerManagementServiceCharacterizationTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Helpers/CodexConfigHelperTests.cs

Comment thread MCPForUnity/Editor/Helpers/HttpEndpointUtility.cs
@liuzqk
liuzqk force-pushed the fix/project-scoped-http-endpoint branch from eb2b8aa to f95a3f9 Compare July 28, 2026 10:54

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Server/ServerCommandBuilderTests.cs`:
- Around line 47-59: Update the teardown logic around
EditorConfigurationCache.Instance.Refresh() so an originally absent scoped key
is not recreated from its legacy global fallback. Refresh before deleting the
missing scoped keys, or invoke a fallback-disabled refresh during teardown,
while preserving restoration of existing scoped values and the saved
UNITY_MCP_HTTP_URL environment variable.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 9bc9fde7-2f2b-4177-9660-953cf1049496

📥 Commits

Reviewing files that changed from the base of the PR and between eb2b8aa and f95a3f9.

📒 Files selected for processing (19)
  • MCPForUnity/Editor/Helpers/CodexConfigHelper.cs
  • MCPForUnity/Editor/Helpers/HttpEndpointUtility.cs
  • MCPForUnity/Editor/Helpers/ProjectIdentityUtility.cs
  • MCPForUnity/Editor/McpCiBoot.cs
  • MCPForUnity/Editor/Services/EditorConfigurationCache.cs
  • MCPForUnity/Editor/Services/Server/IPidFileManager.cs
  • MCPForUnity/Editor/Services/Server/PidFileManager.cs
  • MCPForUnity/Editor/Windows/Components/Connection/McpConnectionSection.cs
  • MCPForUnity/Editor/Windows/EditorPrefs/EditorPrefsWindow.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Helpers/ClientConfigFormatTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Helpers/CodexConfigHelperTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Helpers/WriteToConfigTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Characterization/ServerManagementServiceCharacterizationTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Characterization/Services_Characterization.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/EditorConfigurationCacheTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/HttpAutoStartHandlerTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/HttpBridgeReloadHandlerTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Server/PidFileManagerTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Server/ServerCommandBuilderTests.cs
🚧 Files skipped from review as they are similar to previous changes (18)
  • MCPForUnity/Editor/Services/Server/IPidFileManager.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Characterization/Services_Characterization.cs
  • MCPForUnity/Editor/McpCiBoot.cs
  • MCPForUnity/Editor/Windows/Components/Connection/McpConnectionSection.cs
  • MCPForUnity/Editor/Services/Server/PidFileManager.cs
  • MCPForUnity/Editor/Helpers/CodexConfigHelper.cs
  • MCPForUnity/Editor/Helpers/ProjectIdentityUtility.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/HttpAutoStartHandlerTests.cs
  • MCPForUnity/Editor/Helpers/HttpEndpointUtility.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/HttpBridgeReloadHandlerTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Helpers/ClientConfigFormatTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Server/PidFileManagerTests.cs
  • MCPForUnity/Editor/Windows/EditorPrefs/EditorPrefsWindow.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Helpers/WriteToConfigTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Helpers/CodexConfigHelperTests.cs
  • MCPForUnity/Editor/Services/EditorConfigurationCache.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/EditorConfigurationCacheTests.cs
  • TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Characterization/ServerManagementServiceCharacterizationTests.cs

@liuzqk
liuzqk force-pushed the fix/project-scoped-http-endpoint branch from f95a3f9 to 8cf41f2 Compare July 28, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant