Skip to content

[Kubernetes operator] GitHub example not working #521

Closed
@rubenharutyunov

Description

@rubenharutyunov

I'm trying to run the GitHub MCP server as provided in the example:

apiVersion: toolhive.stacklok.dev/v1alpha1
kind: MCPServer
metadata:
  name: github
  namespace: toolhive-system
spec:
  env:
  - name: GITHUB_API_URL
    value: https://api.github.com
  - name: LOG_LEVEL
    value: info
  image: docker.io/mcp/github
  permissionProfile:
    name: network
    type: builtin
  port: 8080
  resources:
    limits:
      cpu: 200m
      memory: 256Mi
    requests:
      cpu: 100m
      memory: 128Mi
  secrets:
  - key: GITHUB_PERSONAL_ACCESS_TOKEN
    name: github-token
  transport: stdio

But I'm getting this error:

Error: error instantiating secret manager failed to get secrets password: failed to read password: failed to read password: inappropriate ioctl for device
ToolHive needs a password to secure your credentials in the OS keyring.
This password will be used to encrypt and decrypt API tokens and other secrets
that need to be accessed by MCP servers. It will be securely stored in your OS keyring
so you won't need to enter it each time.
Please enter your keyring password:

I tried to run it in detached mode, however I'm now getting another error:

Error: error instantiating secret manager failed to get secrets password: detached process detected, cannot ask for password

Version: 0.0.1-dev.400_bcba31b

Metadata

Metadata

Assignees

Labels

area/kubernetes/secret-managementIssues relating to ToolHive secret management inside of KuberneteskubernetesItems related to Kubernetesp0High

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions