Skip to content

feat: Add http_path config for custom MCP endpoint path (#9)#12

Merged
anatoly314 merged 1 commit intomainfrom
feature/issue-9-secret-path
Feb 8, 2026
Merged

feat: Add http_path config for custom MCP endpoint path (#9)#12
anatoly314 merged 1 commit intomainfrom
feature/issue-9-secret-path

Conversation

@anatoly314
Copy link
Member

Summary

  • Adds http_path config option to serve MCP under a custom path (e.g., http://localhost:3141/my-path/)
  • Fully optional — empty string (default) keeps root / behavior
  • Useful when tunneling via Cloudflare/ngrok to avoid a fully open endpoint

Test plan

  • E2E tests for config handling and path construction
  • Manual testing with MCP Inspector
  • Verified default (empty) config works as before

Closes #9

🤖 Generated with Claude Code

Allows serving the MCP endpoint under a custom path (e.g.,
http://localhost:3141/my-path/) instead of root. Useful when
tunneling Anki via Cloudflare/ngrok to avoid an open endpoint.

Fully optional — empty string (default) serves at root "/".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@anatoly314 anatoly314 merged commit fb7774c into main Feb 8, 2026
2 checks passed
@anatoly314 anatoly314 deleted the feature/issue-9-secret-path branch February 8, 2026 12:10
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.

FR: Add secret-path option for MCP HTTP endpoint

1 participant