[FEATURE] Use 127.0.0.1 instead of localhost for the callback urls of CIMD implementation

Resolved 💬 1 comment Opened May 6, 2026 by kzbt Closed Jun 3, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

In the CIMD for Claude Code, there are two redirect_uris specified, one of which is localhost.

"redirect_uris": [
    "http://localhost/callback",
    "http://127.0.0.1/callback"
  ],

When we actually use an MCP server in Claude Code, it always uses localhost for the callback url. Ideally 127.0.0.1 should be used because localhost may be resolved to a non-loopback interface. This is noted as a NOT RECOMMENDED practice in the related RFC for native apps

Proposed Solution

Use 127.0.0.1 for the callback url instead of localhost

Alternative Solutions

_No response_

Priority

Medium - Would be very helpful

Feature Category

MCP server integration

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗