Skip to content

Commit 603b011

Browse files
authored
[Bug Fix] MCP: point install instructions at canonical www host (#492)
rubyui.com/mcp 301-redirects to www.rubyui.com/mcp (see #481). Every place we hand out the MCP endpoint — the docs page's copy-pasteable snippets, the get_project_registries tool response, and the README — still pointed at the bare domain, so copying the "installation" command sent clients through a mid-handshake redirect that trips some MCP implementations. Point all of them at the final destination directly.
1 parent 3c0f35c commit 603b011

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/app/views/docs/mcp.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def view_template
2525
# Claude Code
2626
div(class: "space-y-2") do
2727
Heading(level: 3) { "Claude Code" }
28-
Codeblock("claude mcp add --transport http ruby-ui https://rubyui.com/mcp", syntax: :shell, clipboard: true)
28+
Codeblock("claude mcp add --transport http ruby-ui https://www.rubyui.com/mcp", syntax: :shell, clipboard: true)
2929
end
3030

3131
# Cursor
@@ -118,7 +118,7 @@ def cursor_config_json
118118
<<~JSON
119119
{
120120
"mcpServers": {
121-
"ruby-ui": { "url": "https://rubyui.com/mcp" }
121+
"ruby-ui": { "url": "https://www.rubyui.com/mcp" }
122122
}
123123
}
124124
JSON
@@ -132,7 +132,7 @@ def zed_config_json
132132
<<~JSON
133133
{
134134
"context_servers": {
135-
"ruby-ui": { "source": "http", "url": "https://rubyui.com/mcp" }
135+
"ruby-ui": { "source": "http", "url": "https://www.rubyui.com/mcp" }
136136
}
137137
}
138138
JSON

mcp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Model Context Protocol (MCP) server for [Ruby UI](https://rubyui.com). Lets AI coding agents discover, inspect, and install Ruby UI components.
44

5-
Hosted endpoint: **https://rubyui.com/mcp**
5+
Hosted endpoint: **https://www.rubyui.com/mcp**
66

77
## Tools
88

mcp/lib/ruby_ui/mcp/tools/get_project_registries.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def call(**)
1010
{
1111
registries: [{
1212
name: "ruby_ui",
13-
url: "https://rubyui.com/mcp",
13+
url: "https://www.rubyui.com/mcp",
1414
description: "Ruby UI components for Phlex + Rails."
1515
}]
1616
}

0 commit comments

Comments
 (0)