Skip to content

feat: add logout command to remove all local credentials#574

Merged
kamath merged 1 commit intomainfrom
kamath/add-logout-command
Feb 4, 2026
Merged

feat: add logout command to remove all local credentials#574
kamath merged 1 commit intomainfrom
kamath/add-logout-command

Conversation

@kamath
Copy link
Contributor

@kamath kamath commented Feb 4, 2026

What's added in this PR?

Added a new smithery logout command that removes all local credentials:

  • API key from settings file
  • Namespace configuration from settings
  • All keychain entries for server configs (via keytar)

The whoami command now shows a helpful message when users are not logged in, prompting them to run smithery login. Documentation has been updated in SKILL.md and references/AUTH.md.

What's the issues or discussion related to this PR?

This feature allows users to completely clear all stored credentials from their system when logging out. Previously, there was no way to remove keychain entries, which could be important for security or when sharing a machine.

Add a new `smithery logout` command that clears API key, namespace, and all keychain entries. Update whoami to show helpful message when not logged in.

Co-Authored-By: Claude Haiku 4.5 <[email protected]>
@kamath kamath merged commit 1d6db88 into main Feb 4, 2026
4 checks passed
@kamath kamath deleted the kamath/add-logout-command branch February 4, 2026 19:23
@github-actions github-actions bot mentioned this pull request Feb 4, 2026
kamath added a commit that referenced this pull request Feb 4, 2026
Automated Release PR
---


## [3.10.0](v3.9.0...v3.10.0)
(2026-02-04)


### Features

* add comprehensive Smithery CLI skill [SMI-1367]
([#562](#562))
([04ace79](04ace79))
* add logout command to remove all local credentials
([#574](#574))
([1d6db88](1d6db88))
* add skills review and vote commands
([#568](#568))
([9251cfd](9251cfd))
* redesign skills review and vote CLI with gh-style commands
([#572](#572))
([6463e37](6463e37))


### Refactors

* use @smithery/api client for skills reviews
([#570](#570))
([38957aa](38957aa))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Anirudh Kamath <[email protected]>
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.

1 participant