Skip to content

Conversation

@Dumbris
Copy link
Contributor

@Dumbris Dumbris commented Jan 18, 2026

Summary

  • Add hint panel in Import tab showing well-known config file locations for Claude Desktop, Claude Code, Cursor IDE, Codex CLI, and Gemini CLI
  • Show file existence status with Found/Not found badges
  • Add Import button for existing config files to quickly load preview
  • Fix HTTP 400 errors to show meaningful error messages from backend

Changes

  • internal/httpapi/import.go: Add canonical paths endpoint and import from path endpoint
  • internal/httpapi/server.go: Register new routes
  • frontend/src/services/api.ts: Add API methods and fix error handling
  • frontend/src/components/AddServerModal.vue: Add hint panel UI
  • oas/swagger.yaml, oas/docs.go: Update API documentation

Test plan

  • Verify hint panel appears in Import -> Upload File mode
  • Verify Found configs have green badge and Import button
  • Verify Not found configs have gray badge and no Import button
  • Verify clicking Import loads the config preview
  • Verify HTTP 400 errors show meaningful messages

🤖 Generated with Claude Code

- Add hint panel in Import tab showing well-known config file locations
- Support detection for Claude Desktop, Claude Code, Cursor IDE, Codex CLI, Gemini CLI
- Show file existence status with Found/Not found badges
- Add Import button for existing config files to quickly load them
- Fix HTTP 400 errors to show meaningful error messages from backend
- Add GET /api/v1/servers/import/paths endpoint for canonical paths
- Add POST /api/v1/servers/import/path endpoint for importing from file path

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 18, 2026

Deploying mcpproxy-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 47fc433
Status: ✅  Deploy successful!
Preview URL: https://6df52c67.mcpproxy-docs.pages.dev
Branch Preview URL: https://feat-import-quick-hints.mcpproxy-docs.pages.dev

View logs

@github-actions
Copy link

github-actions bot commented Jan 18, 2026

📦 Build Artifacts

Workflow Run: View Run
Branch: feat/import-quick-hints

Available Artifacts

  • archive-darwin-amd64 (23 MB)
  • archive-darwin-arm64 (21 MB)
  • archive-linux-amd64 (12 MB)
  • archive-linux-arm64 (11 MB)
  • archive-windows-amd64 (23 MB)
  • archive-windows-arm64 (20 MB)
  • frontend-dist-pr (0 MB)
  • installer-dmg-darwin-amd64 (26 MB)
  • installer-dmg-darwin-arm64 (23 MB)

How to Download

Option 1: GitHub Web UI (easiest)

  1. Go to the workflow run page linked above
  2. Scroll to the bottom "Artifacts" section
  3. Click on the artifact you want to download

Option 2: GitHub CLI

gh run download 21114882339 --repo smart-mcp-proxy/mcpproxy-go

Note: Artifacts expire in 14 days.

- Add docs/features/config-import.md with comprehensive import feature docs
  - Web UI Quick Import panel and manual upload/paste
  - CLI import command with examples
  - REST API endpoints with curl examples
  - Format detection and duplicate handling
  - Security considerations
- Add import command section to CLI command reference
  - All flags and options
  - Canonical config paths for each OS
  - Example commands

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Dumbris Dumbris merged commit f2af455 into main Jan 18, 2026
25 checks passed
@Dumbris Dumbris deleted the feat/import-quick-hints branch January 18, 2026 16:50
technicalpickles pushed a commit to technicalpickles/mcpproxy-go that referenced this pull request Jan 21, 2026
…oxy#264)

* feat: add quick import hints for canonical config paths

- Add hint panel in Import tab showing well-known config file locations
- Support detection for Claude Desktop, Claude Code, Cursor IDE, Codex CLI, Gemini CLI
- Show file existence status with Found/Not found badges
- Add Import button for existing config files to quickly load them
- Fix HTTP 400 errors to show meaningful error messages from backend
- Add GET /api/v1/servers/import/paths endpoint for canonical paths
- Add POST /api/v1/servers/import/path endpoint for importing from file path

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* docs: add configuration import documentation

- Add docs/features/config-import.md with comprehensive import feature docs
  - Web UI Quick Import panel and manual upload/paste
  - CLI import command with examples
  - REST API endpoints with curl examples
  - Format detection and duplicate handling
  - Security considerations
- Add import command section to CLI command reference
  - All flags and options
  - Canonical config paths for each OS
  - Example commands

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
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.

2 participants