Add tasks API, improve CLI UX, and fix auth/proxy issues#113
Merged
Conversation
Merge the two Added and two Fixed sections into single sections each, and trim verbose/minor entries to keep the changelog concise. https://claude.ai/code/session_01JWQyaYTd36WC1tCBqby8j1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This release adds comprehensive task management capabilities to mcpc, improves the CLI user experience with better help text and inline parameter signatures, and fixes several critical issues with authentication, proxy support, and session state handling.
Key Changes
New Features:
tasks-list,tasks-get,tasks-cancel) for managing async operations on the server--taskflag fortools-callwith progress spinner showing elapsed time and server status messages--detachflag to start tasks and return immediately without waiting for completion--taskexecution to detach on the fly--insecureglobal option to skip TLS certificate verification for self-signed certificates--client-idand--client-secretoptions formcpc loginfor servers without dynamic client registration--no-profileoption forconnectto skip OAuth profile auto-detectionmcpc loginwhen browser cannot be opened (headless environments)tools-listoutput (e.g.,read_file(path: string, +4 optional))mcpc @sessionnow displays available tools from bridge cache without extra server callsImprovements:
@napi-rs/keyringnative addon with fallback to~/.mcpc/credentials.json--header/-Hoption now specific toconnectcommand instead of globaltools/list_changednotificationsunauthorized(401/403),disconnected(bridge alive but server unreachable >2min),expired(session ID rejected)mcpc grepcommand description in help textBug Fixes:
HTTP_PROXY/HTTPS_PROXY) now works for MCP server connections, OAuth token refresh, and x402 payment signing--header "Authorization: ..."now takes precedence over auto-detected OAuth profilesmcpc connectdefaultOAuth profile created after session establishment--timeoutflag now correctly propagates to MCP requests via session bridge--taskand--detachtool calls now correctly send task creation parameters to serverlogging/messagenotifications to connected clientsmcpc help <command>showing truncated usage lines (e.g., now showsmcpc <@session> resources-read <uri>instead of justresources-read <uri>)Implementation Details
unauthorized) and session expiry (session ID rejection →expired)https://claude.ai/code/session_01JWQyaYTd36WC1tCBqby8j1