Skip to content

fix(mcp): trim server.json descriptions under the registry 100-char cap - #412

Merged
plind-junior merged 1 commit into
mainfrom
fix/mcp-registry-desc-limit
Jul 7, 2026
Merged

fix(mcp): trim server.json descriptions under the registry 100-char cap#412
plind-junior merged 1 commit into
mainfrom
fix/mcp-registry-desc-limit

Conversation

@plind-junior

@plind-junior plind-junior commented Jul 7, 2026

Copy link
Copy Markdown
Member

the mcp registry rejects a server.json whose description or a package environmentVariables[].description exceeds 100 chars with a 422. #410 shipped 112- and 162-char strings; trim both so mcp-publisher publish clears schema validation. no functional change — same server, shorter metadata.

Summary by CodeRabbit

  • Documentation
    • Updated the product description text to use clearer, more user-friendly wording.
    • Clarified the VOUCH_KB_PATH environment variable so it’s easier to understand where the .vouch directory is found when the setting is not provided.

the mcp registry rejects a server.json whose `description` or a package
`environmentVariables[].description` exceeds 100 chars with a 422. #410
shipped 112- and 162-char strings; trim both so `mcp-publisher publish`
clears schema validation.
@plind-junior
plind-junior merged commit 95c666f into main Jul 7, 2026
6 of 7 checks passed
@plind-junior
plind-junior deleted the fix/mcp-registry-desc-limit branch July 7, 2026 09:59
@github-actions github-actions Bot added the size: XS less than 50 changed non-doc lines label Jul 7, 2026
@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 637ba209-39f9-465a-86fb-0642026df806

📥 Commits

Reviewing files that changed from the base of the PR and between 5ef0335 and d6b29df.

📒 Files selected for processing (1)
  • server.json

📝 Walkthrough

Walkthrough

This change updates descriptive text in server.json, including the top-level description wording and the VOUCH_KB_PATH environment variable description clarifying its reference to the .vouch directory and cwd walk-up behavior.

Changes

Description Text Updates

Layer / File(s) Summary
Update description strings
server.json
Top-level description and VOUCH_KB_PATH environment variable description text are reworded for clarity.

Estimated code review effort: 1 (Trivial) | ~2 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/mcp-registry-desc-limit

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: XS less than 50 changed non-doc lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant