Skip to content

Conversation

@dsarno
Copy link
Collaborator

@dsarno dsarno commented Jan 19, 2026

Summary

Major README restructuring to improve first-time user experience:

  • Reduced from ~500 lines to ~200 lines while preserving all essential information
  • New "Quick Start" section at top with prerequisites and clear 5-step setup
  • Prominent Git URL using GitHub TIP admonition (blue highlight box)
  • Collapsible sections for detailed content (Features, Manual Config, Troubleshooting, etc.)
  • Compact tools/resources lists instead of verbose bullet points
  • Added Step 5 for client connection instructions (toggle for Cursor/Windsurf/Antigravity)

Before vs After

Metric Before After
Total lines ~500 ~200
Screens to "get started" ~5 ~1-2
Time to find Git URL Scroll required Immediately visible

What's Visible Above the Fold

  1. Logo, badges, summary, GIF
  2. Quick Start with prerequisites
  3. Highlighted Git package URL
  4. 5-step server/connect instructions
  5. Star History & Coplay info

What's Collapsed (but accessible)

  • Features & Tools list
  • Manual Configuration (with nested stdio config)
  • Multiple Unity Instances
  • Roslyn Script Validation
  • Troubleshooting
  • Contributing
  • Telemetry & Privacy

Test plan

  • Verify README renders correctly on GitHub
  • Check all dropdown sections expand/collapse properly
  • Confirm TIP admonition displays with blue highlight
  • Test all links work correctly

Summary by Sourcery

Restructure and condense the README to emphasize a quick-start path and simplify onboarding for new users.

Documentation:

  • Rewrite the README around a concise Quick Start section with prerequisites, install steps, and initial connection flow.
  • Move detailed topics (features, tools/resources, manual config, multiple instances, Roslyn, troubleshooting, contributing, telemetry) into collapsible sections to keep the main path short and scannable.

Summary by CodeRabbit

  • Documentation
    • Rewrote README with improved structure, clarity, and standardized terminology.
    • Streamlined intro to emphasize Model Context Protocol integration and removed promotional clutter.
    • Reorganized into user-facing sections (Quick Start, Key Features, Tools, Resources, How It Works, Installation, Troubleshooting, Privacy, Contributing, License).
    • Simplified installation/usage into a Quick Start with collapsible advanced details and consolidated platform options.
    • Updated wording, headings, and license/branding for consistency.

✏️ Tip: You can customize this high-level summary in your review settings.

Major restructuring to reduce README from ~500 lines to ~200 lines while preserving all essential information.

Changes:
- Add prominent "Quick Start" section at top with prerequisites and 5-step setup
- Highlight Git package URL with GitHub TIP admonition for visibility
- Collapse detailed content into expandable sections:
  - Features & Tools
  - Manual Configuration (with nested stdio legacy config)
  - Multiple Unity Instances
  - Roslyn Script Validation
  - Troubleshooting
  - Contributing
  - Telemetry & Privacy
- Keep Star History and Coplay sections always visible
- Condense tools/resources from verbose lists to compact bullet format
- Add step 5 for client connection (toggle for Cursor/Windsurf/Antigravity)

The goal is 1-2 screens of visible content for new users to get started quickly,
with all details accessible via dropdowns for those who need them.
@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Jan 19, 2026

Reviewer's Guide

README.md is heavily restructured to prioritize a top-of-page Quick Start flow, collapse advanced/reference content, and streamline wording while preserving key setup, configuration, and reference details.

Flow diagram for new Quick Start setup path

flowchart TD
  A[Open README on GitHub] --> B[Scan logo badges summary GIF]
  B --> C[Review Quick_Start prerequisites]
  C --> D[Install Unity package via Git Git_URL from TIP box]
  D --> E[Optionally use Asset Store or OpenUPM instead]
  D --> F[Open Unity Window MCP_for_Unity]
  F --> G[Click Start_Server - HTTP localhost:8080]
  G --> H[Select MCP client in Unity window]
  H --> I[Click Configure]
  I --> J{Client connected?}
  J -->|Yes| K[Send first prompt in MCP client]
  J -->|No| L[Open Manual_Configuration collapsed section]
  L --> M[Update MCP client JSON config]
  M --> I
  K --> N[Optionally open collapsed sections for Features Tools Multiple_Instances Roslyn Troubleshooting]
  N --> O[Iterate on Unity project with LLM]
Loading

File-Level Changes

Change Details Files
Refocus README on a concise Quick Start onboarding flow with minimal steps to install, start the server, and connect an MCP client.
  • Replace verbose introduction with a shorter summary that inlines the MCP/Model Context Protocol explanation.
  • Introduce a new Quick Start section with prerequisites and 2-step setup (install Unity package; start server & connect client).
  • Surface Git install URL in a TIP-styled admonition block for copy/paste.
  • Condense installation guidance into a primary Git URL flow with brief mention of tagged versions for stability.
README.md
Move detailed setup, configuration, and feature descriptions into collapsible details sections to reduce above-the-fold noise while keeping information accessible.
  • Convert long feature/tool/resource bullet lists into a compact Features & Tools details block with inline lists.
  • Wrap manual MCP client configuration JSON snippets (HTTP and stdio) in nested details, simplifying default guidance and keeping legacy options hidden by default.
  • Summarize and collapse multi-instance, Roslyn script validation, troubleshooting, and contributing sections behind short expandable summaries.
  • Shorten and consolidate telemetry/privacy and contributing sections while linking to existing docs (README-DEV, CUSTOM_TOOLS, TELEMETRY).
README.md
Simplify and modernize wording, usage guidance, and tool/resource descriptions while preserving core capabilities.
  • Compress Usage instructions into a quick “Start the server & connect” step with example prompts instead of a long Usage section.
  • Summarize performance guidance into a brief note under Features & Tools emphasizing batch_execute.
  • Trim redundant prose around multiple Unity instances, troubleshooting, and telemetry while keeping key actions and links.
  • Clarify that Coplay offers two AI tools for Unity by slightly rephrasing the closing note and fixing punctuation.
README.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 19, 2026

📝 Walkthrough

Walkthrough

The README was rewritten and reorganized: intro tightened to emphasize Model Context Protocol (MCP), content restructured into user-facing sections (Quick Start, Key Features, Available Tools, Resources, How It Works, Installation, Troubleshooting, Telemetry & Privacy, Contributing, License), and many long sections collapsed into terse details/summary blocks.

Changes

Cohort / File(s) Summary
Documentation refactor
README.md
Full rewrite of README: tightened intro emphasizing MCP, reorganized into concise user-facing sections, collapsed long blocks into <details> elements, consolidated installation paths (git/OpenUPM/Asset Store), removed promotional/discussion copy, standardized terminology and layout, preserved essential commands/snippets in compact form.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Suggested reviewers

  • msanatan

Poem

🐰 I hopped through lines and trimmed the prose with care,

Collapsed the clutter, left essentials there,
Quick Start lit, features in a row,
A tidy README now—onward we go! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'docs: Streamline README for faster onboarding' directly and accurately describes the main change: a substantial README restructuring aimed at improving user onboarding experience.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

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 and usage tips.

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey - I've left some high level feedback:

  • The new Quick Start is much clearer, but consider keeping a short explicit note near the server section that the HTTP URL must include the /mcp suffix, since that was previously called out and is easy to miss for manual config users.
  • In the Roslyn Script Validation section, you removed the manual DLL installation path—if that’s still supported, it might be worth linking to a separate doc or briefly mentioning that an advanced manual option exists for teams that can’t use NuGetForUnity.
  • You’ve collapsed a lot of detailed troubleshooting and platform-specific paths into a single Troubleshooting section; consider preserving at least the per‑OS default server install paths (Windows/macOS/Linux) in that section so users can still quickly verify their config without digging through history.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The new Quick Start is much clearer, but consider keeping a short explicit note near the server section that the HTTP URL must include the `/mcp` suffix, since that was previously called out and is easy to miss for manual config users.
- In the Roslyn Script Validation section, you removed the manual DLL installation path—if that’s still supported, it might be worth linking to a separate doc or briefly mentioning that an advanced manual option exists for teams that can’t use NuGetForUnity.
- You’ve collapsed a lot of detailed troubleshooting and platform-specific paths into a single Troubleshooting section; consider preserving at least the per‑OS default server install paths (Windows/macOS/Linux) in that section so users can still quickly verify their config without digging through history.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@README.md`:
- Around line 34-42: Add a language identifier (e.g., text) to the fenced code
blocks that contain the Git URLs in README.md so markdown linters render them
correctly; update the two fenced blocks surrounding the URL strings
"https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity" and
"https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#v9.0.3" to use
```text instead of ``` (ensure both opening triple-backtick lines are changed).
🧹 Nitpick comments (1)
README.md (1)

63-63: Clarify client connection instructions.

The distinction between clients that require manual toggle vs. auto-connect is somewhat unclear. Consider reorganizing this into clearer categories or providing a brief table/list for each connection method.

📋 Suggested restructure
5. **Connect your client:**
   - **Cursor, Windsurf, Antigravity:** Enable the MCP toggle in settings
   - **Claude Desktop, Claude Code:** Auto-connect once configured in the Unity MCP window

Or alternatively, keep it as a single sentence but clarify the logic:

5. **Connect your client:** Some clients (Cursor, Windsurf, Antigravity) require enabling an MCP toggle in settings, while others (Claude Desktop, Claude Code) auto-connect after configuration.

- Add `text` language identifier to Git URL code blocks for linter compliance
- Clarify step 5 client connection instructions with clearer categorization
- Add nested dropdown for manual Roslyn DLL installation option
@dsarno dsarno merged commit 0158165 into CoplayDev:main Jan 19, 2026
2 checks passed
vbucc added a commit to Studio-Pronto/unity-mcp that referenced this pull request Jan 19, 2026
Upstream changes (v9.0.7 → v9.0.8):
- fix: UIDocument serialization to prevent infinite loops (CoplayDev#586)
- fix: Filter isCompiling false positives in Play mode (CoplayDev#582)
- fix: search inactive objects when setActive=true (CoplayDev#581)
- fix: Add Prefab Stage support for GameObject lookup (CoplayDev#573)
- fix: Prevent infinite compilation loop in Unity 6 (CoplayDev#559)
- fix: parse and validate read_console types (CoplayDev#565)
- fix: Local HTTP server UI check (CoplayDev#556)
- fix: Claude Code HTTP Remote UV path override detection
- fix: ULF detection in Claude licensing (CoplayDev#569)
- chore: Replace asmdef GUID references (CoplayDev#564)
- docs: Streamline README for faster onboarding (CoplayDev#583)
- Many new client configurators (VSCode, Cursor, Windsurf, etc.)

Fork enhancements preserved:
- "find" instruction handler in UnityTypeConverters.cs
- MarkSceneOrPrefabDirty() helper for proper Prefab Stage support
- IsInPrefabStage() and GetPrefabStageRoot() helpers
- #main URL reference (no version tags)
- TestProjects excluded

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dsarno dsarno deleted the docs/readme-cleanup branch January 22, 2026 13:21
@coderabbitai coderabbitai bot mentioned this pull request Jan 27, 2026
4 tasks
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