googleapis/mcp-toolbox · error
unable to parse host from arcade uri %q
Error message
unable to parse host from arcade uri %q
What it means
Error "unable to parse host from arcade uri %q" thrown in googleapis/mcp-toolbox.
Source
Thrown at internal/sources/arcadedb/arcadedb.go:300
}
operatorCount += childOperatorCount
}
node["children"] = childNodes
}
return node, incomplete, operatorCount
}
func (s *Source) arcadeHTTPEndpointURL(endpoint string) (string, error) {
base := s.HTTPUri
if base == "" {
parsed, err := url.Parse(s.Uri)
if err != nil {
return "", fmt.Errorf("unable to parse arcade uri %q: %w", s.Uri, err)
}
host := parsed.Hostname()
if host == "" {
return "", fmt.Errorf("unable to parse host from arcade uri %q", s.Uri)
}
scheme := s.HTTPScheme
if scheme == "" {
scheme = "http"
}
port := s.HTTPPort
if port == 0 {
port = 2480
}
base = fmt.Sprintf("%s://%s:%d", scheme, host, port)
}
return fmt.Sprintf("%s/api/v1/%s/%s",
strings.TrimRight(base, "/"),
endpoint,
url.PathEscape(s.ArcadeDBDatabase())), nil
}
func initArcadeDBDriver(ctx context.Context, tracer trace.Tracer, uri, user, password, name string) (neo4j.Driver, error) {View on GitHub (pinned to 8cc6e09de2)
When it happens
Trigger: Thrown at internal/sources/arcadedb/arcadedb.go:300 when the library encounters an invalid state.
Common situations: See trigger scenarios.
Understand the failure class
- Parsing and encoding errors: unexpected token, malformed input — why parsers reject input and how to find the real culprit.
AI-assisted analysis of googleapis/mcp-toolbox@8cc6e09de2 (2026-09-05).
Data as JSON: /api/errors/51184344dcf8ac88.
Report an issue: GitHub.