Skip to content
Discussion options

You must be logged in to vote

Use the GitHub repository itself as the npx package source.

macOS / Linux and clients that resolve npx directly

{
  "mcpServers": {
    "klinepic": {
      "command": "npx",
      "args": ["-y", "github:sher1096/klinepic-agent-api-examples"],
      "env": {
        "KLINE_AGENT_API_KEY": "kline_agent_xxx"
      }
    }
  }
}

Windows fallback

Some Windows MCP clients launch commands without a shell and cannot resolve npx. In that case, route it through cmd.exe:

{
  "mcpServers": {
    "klinepic": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "-y",
        "github:sher1096/klinepic-agent-api-examples"
      ],
      "env": {
        "KLINE_AGENT_API_KEY": "k…

Replies: 1 comment

Comment options

sher1096
Jul 13, 2026
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by sher1096
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant