Skip to content

Add debug logs for thv run server location #2761

@eleftherias

Description

@eleftherias

When a user runs thv run they can supply:

  • a server name from the registry, e.g thv run fetch
  • a container image, e.g thv run ghcr.io/example/mcp-server:latest
  • a protocol scheme, e.g thv run uvx://package-name
  • a remote MCP server, e.g thv run https://mcp.context7.com/mcp

For each of those cases, add a debug log that describes the type of server that ToolHive detects.

Examples

For example, when running thv run fetch

Attempting to run server fetch from registry.

Or when running thv run https://mcp.context7.com/mcp

Attempting to run remote MCP server https://mcp.context7.com/mcp

Metadata

Metadata

Assignees

Labels

apiItems related to the APIcliChanges that impact CLI functionalityenhancementNew feature or requestgood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions