Skip to content

fix(mcp): rename the ngrok authtoken prompt for clarity - #448

Merged
pcfreak30 merged 1 commit into
developfrom
feat/mcp-tunnel-token-wording
Aug 22, 2026
Merged

fix(mcp): rename the ngrok authtoken prompt for clarity#448
pcfreak30 merged 1 commit into
developfrom
feat/mcp-tunnel-token-wording

Conversation

@pcfreak30

@pcfreak30 pcfreak30 commented Aug 22, 2026

Copy link
Copy Markdown
Member

What

The pinner mcp install ngrok prompt was labeled:

ngrok authtoken / MCP tunnel token

That read as if it were the endpoint's shared auth token (the MCP password)
when it is actually the ngrok account token for the public tunnel — two
different secrets, one prompt.

Change

Rename the prompt to:

ngrok authtoken (account token from your ngrok dashboard)

so the tunnel credential is not conflated with the MCP password (which is
collected separately in its own step).

Scope

  • internal/mcp/services/service_install_configurers.go: ngrokFields prompt
    label (and its doc comment).

No behavior change; the value is still written to MCP_TUNNEL_TOKEN /
NGROK_AUTHTOKEN and validated identically. internal/mcp/services tests pass.


Summary

This pull request clarifies the prompt text for the ngrok authtoken field during MCP service installation.

Changes

  • Updated prompt wording: Changed the ngrok authtoken prompt from "ngrok authtoken / MCP tunnel token" to "ngrok authtoken (account token from your ngrok dashboard)".
  • Updated code comment: Updated the related function comment to remove the "MCP tunnel token" reference, simplifying the description to just "authtoken".

Purpose

The change improves user clarity by removing the potentially confusing "MCP tunnel token" terminology and providing more specific guidance by indicating the token comes from the ngrok dashboard. This makes it clearer to users what credential they need to provide during installation.

The ngrok install prompt was labeled "ngrok authtoken / MCP tunnel token",
which read as if it were the endpoint's shared auth token (the MCP password)
when it is actually the ngrok account token for the public tunnel. Rename it to
"ngrok authtoken (account token from your ngrok dashboard)" so the two are not
conflated.
@kody-ai

kody-ai Bot commented Aug 22, 2026

Copy link
Copy Markdown

Code Review Completed! 🔥

The code review was successfully completed based on your current configurations.

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug
Performance
Security
Business Logic

Access your configuration settings here.

@pcfreak30
pcfreak30 merged commit aa27600 into develop Aug 22, 2026
12 of 13 checks passed

// ngrokFields returns the promptable install fields for the ngrok provider:
// the authtoken / MCP tunnel token and the public base URL (MCP_PUBLIC_URL).
// the authtoken and the public base URL (MCP_PUBLIC_URL).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kody code-review Kody Rules low

The comment references 'authtoken' and 'MCP_PUBLIC_URL', but the rule targets secret assignments or literals, not comments. No secret value is assigned here, so the line does not violate the rule.

Kody rule violation: Ban hard-coded secrets in Go source

Prompt for LLM

File internal/mcp/services/service_install_configurers.go:

Line 146:

The comment references 'authtoken' and 'MCP_PUBLIC_URL', but the rule targets secret assignments or literals, not comments. No secret value is assigned here, so the line does not violate the rule.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

@github-actions

Copy link
Copy Markdown

Code Coverage Report

Total Coverage: 51.6%

Generated from commit: edbdeb2
Repository: LumeWeb/pinner-cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant