You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto-generate session names for connect command (#136)
* Auto-generate session names when @session is omitted from connect command
The `mcpc connect <server>` command now auto-generates a session name from the
server hostname (e.g. mcp.apify.com → @apify) or config entry name when the
@session argument is omitted. If an existing session already matches the same
server and auth settings, it is reused instead of creating a duplicate.
https://claude.ai/code/session_01SRw2NArnxDKmgZLrNL72c6
* Fix CI: TypeScript exactOptionalPropertyTypes and ESLint non-null assertion
- Cast opts.profile and opts.noProfile with explicit types to satisfy
exactOptionalPropertyTypes (consistent with existing patterns in file)
- Replace labels[0]! with nullish coalescing to satisfy no-non-null-assertion
https://claude.ai/code/session_01SRw2NArnxDKmgZLrNL72c6
* Fix exactOptionalPropertyTypes: use globalOpts spread instead of raw opts
Use the properly-typed HandlerOptions from getOptionsFromCommand() instead
of casting raw Commander opts, consistent with how connectSession receives
its options via ...globalOpts spread.
https://claude.ai/code/session_01SRw2NArnxDKmgZLrNL72c6
* Fix exactOptionalPropertyTypes: conditionally spread optional fields
Build resolveSessionName options with conditional spreads to avoid passing
undefined values to optional properties, matching the pattern used by
connectSession (e.g. `...(headers && { headers })`).
https://claude.ai/code/session_01SRw2NArnxDKmgZLrNL72c6
* Writing
* Clarify connect --json output includes _mcpc metadata and tools extension
https://claude.ai/code/session_01VizmKUa1PuphPcHMJ21Mys
---------
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10
10
### Added
11
11
12
+
-`connect` command now auto-generates session name when `@session` is omitted (e.g., `mcpc connect mcp.apify.com` creates `@apify`). If a session for the same server already exists with matching auth settings, it is reused instead of creating a duplicate.
12
13
-`--max-chars <chars>` global option to truncate large tool/prompt/resource output
13
14
-`tools-call <tool> --help` shows tool parameter schema (shortcut for `tools-get`)
14
15
- "Did you mean?" suggestions for unknown commands, including reversed names (e.g., `list-tools` → `tools-list`)
0 commit comments