mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 15:54:45 +00:00
Update cheatsheets
This commit is contained in:
33
tldr/opencode-mcp
Normal file
33
tldr/opencode-mcp
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# opencode mcp
|
||||
|
||||
> Manage MCP (Model Context Protocol) servers.
|
||||
> More information: <https://opencode.ai/docs/cli#mcp>.
|
||||
|
||||
- List MCP servers and their status:
|
||||
|
||||
`opencode mcp list`
|
||||
|
||||
- Add an MCP server interactively:
|
||||
|
||||
`opencode mcp add`
|
||||
|
||||
- Authenticate with an OAuth-enabled MCP server:
|
||||
|
||||
`opencode mcp auth {{server_name}}`
|
||||
|
||||
- Remove OAuth credentials for an MCP server:
|
||||
|
||||
`opencode mcp logout {{server_name}}`
|
||||
|
||||
- Debug OAuth connection for an MCP server:
|
||||
|
||||
`opencode mcp debug {{server_name}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`opencode mcp {{[-h|--help]}}`
|
||||
Reference in New Issue
Block a user