Skip to content

Support websiteUrl and description in MCP server info#939

Merged
jviotti merged 1 commit into
mainfrom
website-url-etc
May 23, 2026
Merged

Support websiteUrl and description in MCP server info#939
jviotti merged 1 commit into
mainfrom
website-url-etc

Conversation

@jviotti
Copy link
Copy Markdown
Member

@jviotti jviotti commented May 23, 2026

Signed-off-by: Juan Cruz Viotti jv@jviotti.com

Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-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.

No issues found across 14 files

Re-trigger cubic

@augmentcode
Copy link
Copy Markdown

augmentcode Bot commented May 23, 2026

🤖 Augment PR Summary

Summary: This PR adds support for MCP serverInfo.description and serverInfo.websiteUrl (2025-11-25).

Changes:

  • Populate description/websiteUrl in generated MCP metadata based on HTML configuration
  • Extend the MCP initialize response schema/examples to include the new fields
  • Update enterprise/community E2E Hurl assertions (including resources size expectations)

Technical Notes: Fields are only emitted when the negotiated protocol version supports them.

🤖 Was this summary useful? React with 👍 or 👎

Copy link
Copy Markdown

@augmentcode augmentcode Bot left a comment

Choose a reason for hiding this comment

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

Review completed. 1 suggestion posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

Comment thread src/index/explorer.h
? std::string_view{configuration.html->description}
: std::string_view{}});
initialize_ingredients.push_back(sourcemeta::core::JSON{
configuration.html.has_value() ? std::string_view{configuration.url}
Copy link
Copy Markdown

@augmentcode augmentcode Bot May 23, 2026

Choose a reason for hiding this comment

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

serverInfo.websiteUrl is derived from configuration.url without trimming a trailing /, while template_uri is normalized to remove it. If the configured url ends with /, this can lead to inconsistent URLs being advertised (and potentially brittle tests/clients).

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

Benchmark Index (community)

Details
Benchmark suite Current: a25bb1b Previous: c62ef5e Ratio
Add one schema (0 existing) 282 ms 287 ms 0.98
Add one schema (100 existing) 26 ms 25 ms 1.04
Add one schema (1000 existing) 87 ms 78 ms 1.12
Add one schema (10000 existing) 839 ms 997 ms 0.84
Update one schema (1 existing) 18 ms 18 ms 1
Update one schema (101 existing) 26 ms 25 ms 1.04
Update one schema (1001 existing) 90 ms 78 ms 1.15
Update one schema (10001 existing) 705 ms 646 ms 1.09
Cached rebuild (1 existing) 5 ms 5 ms 1
Cached rebuild (101 existing) 8 ms 7 ms 1.14
Cached rebuild (1001 existing) 35 ms 27 ms 1.30
Cached rebuild (10001 existing) 273 ms 276 ms 0.99
Index 100 schemas 129 ms 113 ms 1.14
Index 1000 schemas 890 ms 1034 ms 0.86
Index 10000 schemas 13182 ms 13135 ms 1.00

This comment was automatically generated by workflow using github-action-benchmark.

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

Benchmark Index (enterprise)

Details
Benchmark suite Current: a25bb1b Previous: c62ef5e Ratio
Add one schema (0 existing) 286 ms 295 ms 0.97
Add one schema (100 existing) 29 ms 28 ms 1.04
Add one schema (1000 existing) 87 ms 84 ms 1.04
Add one schema (10000 existing) 890 ms 781 ms 1.14
Update one schema (1 existing) 20 ms 22 ms 0.91
Update one schema (101 existing) 27 ms 29 ms 0.93
Update one schema (1001 existing) 81 ms 85 ms 0.95
Update one schema (10001 existing) 661 ms 709 ms 0.93
Cached rebuild (1 existing) 6 ms 6 ms 1
Cached rebuild (101 existing) 8 ms 9 ms 0.89
Cached rebuild (1001 existing) 30 ms 30 ms 1
Cached rebuild (10001 existing) 269 ms 255 ms 1.05
Index 100 schemas 123 ms 125 ms 0.98
Index 1000 schemas 1208 ms 1186 ms 1.02
Index 10000 schemas 13295 ms 13906 ms 0.96

This comment was automatically generated by workflow using github-action-benchmark.

@jviotti jviotti merged commit 0d3da41 into main May 23, 2026
5 checks passed
@jviotti jviotti deleted the website-url-etc branch May 23, 2026 23:27
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