Skip to content

Commit de37d2b

Browse files
authored
Minor fixups in strings (#131)
1 parent 18f40ec commit de37d2b

File tree

6 files changed

+18
-16
lines changed

6 files changed

+18
-16
lines changed

.goreleaser.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ archives:
4141
# license_url: "https://github.com/StacklokLabs/toolhive/blob/main/LICENSE"
4242
# copyright: Stacklok, Inc.
4343
# homepage: https://stacklok.com
44-
# short_description: 'toolhive is a lightweight, secure, and fast manager for MCP (Model Context Protocol) servers'
44+
# short_description: 'ToolHive is a lightweight, secure, and fast manager for MCP (Model Context Protocol) servers'
4545
# publisher_support_url: "https://github.com/StacklokLabs/toolhive/issues/new/choose"
4646
# package_identifier: "stacklok.toolhive"
4747
# url_template: "https://github.com/StacklokLabs/toolhive/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
@@ -70,7 +70,7 @@ archives:
7070
brews:
7171
- name: thv
7272
homepage: 'https://github.com/StacklokLabs/toolhive'
73-
description: 'toolhive (thv) is a lightweight, secure, and fast manager for MCP (Model Context Protocol) servers'
73+
description: 'ToolHive (thv) is a lightweight, secure, and fast manager for MCP (Model Context Protocol) servers'
7474
directory: Formula
7575
commit_author:
7676
name: stacklokbot

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ $ thv run fetch
6060
Apr 8 12:10:25.757 INF Using host port: 38697
6161
Apr 8 12:10:25.757 INF Logging to: /Users/$USER/Library/Application Support/toolhive/logs/fetch.log
6262
Apr 8 12:10:25.759 INF MCP server is running in the background (PID: 40373)
63-
Apr 8 12:10:25.759 INF Use 'toolhive stop fetch' to stop the server
63+
Apr 8 12:10:25.759 INF Use 'thv stop fetch' to stop the server
6464

6565
# Let's list our running MCP server
6666
$ thv list

cmd/thv/config.go

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ var registerClientCmd = &cobra.Command{
4848
Short: "Register a client for MCP server configuration",
4949
Long: `Register a client for MCP server configuration.
5050
Valid clients are:
51-
- roo-code: The RooCode extension for VSCode
52-
- cursor: The Cursor editor
53-
- vscode-insider: The Visual Studio Code Insider editor`,
51+
- roo-code: Roo Code extension for VS Code
52+
- cursor: Cursor editor
53+
- vscode: Visual Studio Code
54+
- vscode-insider: Visual Studio Code Insiders edition`,
5455
Args: cobra.ExactArgs(1),
5556
RunE: registerClientCmdFunc,
5657
}
@@ -60,9 +61,10 @@ var removeClientCmd = &cobra.Command{
6061
Short: "Remove a client from MCP server configuration",
6162
Long: `Remove a client from MCP server configuration.
6263
Valid clients are:
63-
- roo-code: The RooCode extension for VSCode
64-
- cursor: The Cursor editor
65-
- vscode-insider: The Visual Studio Code Insider editor`,
64+
- roo-code: Roo Code extension for VS Code
65+
- cursor: Cursor editor
66+
- vscode: Visual Studio Code
67+
- vscode-insider: Visual Studio Code Insiders edition`,
6668
Args: cobra.ExactArgs(1),
6769
RunE: removeClientCmdFunc,
6870
}

cmd/thv/run_common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func detachProcess(cmd *cobra.Command, options *runner.RunConfig) error {
180180
}
181181

182182
logger.Log.Info(fmt.Sprintf("MCP server is running in the background (PID: %d)", detachedCmd.Process.Pid))
183-
logger.Log.Info(fmt.Sprintf("Use 'toolhive stop %s' to stop the server", options.Name))
183+
logger.Log.Info(fmt.Sprintf("Use 'thv stop %s' to stop the server", options.Name))
184184

185185
return nil
186186
}

pkg/client/config.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ type pathAndEditor struct {
4545
type MCPClient string
4646

4747
const (
48-
// RooCode represents the RooCode extension for VSCode.
48+
// RooCode represents the Roo Code extension for VS Code.
4949
RooCode MCPClient = "roo-code"
5050
// Cursor represents the Cursor editor.
5151
Cursor MCPClient = "cursor"
52-
// VSCodeInsider represents the VSCode Insider editor.
52+
// VSCodeInsider represents the VS Code Insiders editor.
5353
VSCodeInsider MCPClient = "vscode-insider"
54-
// VSCode represents the standard VSCode editor.
54+
// VSCode represents the standard VS Code editor.
5555
VSCode MCPClient = "vscode"
5656
)
5757

@@ -67,7 +67,7 @@ type mcpClientConfig struct {
6767
var supportedClientIntegrations = []mcpClientConfig{
6868
{
6969
ClientType: RooCode,
70-
Description: "VSCode Roo extension",
70+
Description: "VS Code Roo Code extension",
7171
RelPath: []string{
7272
"Code", "User", "globalStorage", "rooveterinaryinc.roo-cline", "settings", "mcp_settings.json",
7373
},
@@ -79,7 +79,7 @@ var supportedClientIntegrations = []mcpClientConfig{
7979
},
8080
{
8181
ClientType: VSCodeInsider,
82-
Description: "Visual Studio Code Insider",
82+
Description: "Visual Studio Code Insiders",
8383
RelPath: []string{
8484
"Code - Insiders", "User", "settings.json",
8585
},

pkg/client/editor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func (*StandardConfigEditor) AddServer(config *ConfigFile, serverName, url strin
5252
return nil
5353
}
5454

55-
// VSCodeConfigEditor edits the MCP client config format used by VSCode.
55+
// VSCodeConfigEditor edits the MCP client config format used by VS Code.
5656
type VSCodeConfigEditor struct{}
5757

5858
// AddServer inserts or updates a server in the MCP client config file.

0 commit comments

Comments
 (0)