Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
OAUTH_PORT | No | Port for the OAuth callback server | 3000 |
SWIT_API_TOKEN | No | Your Swit API token for Bearer Token authentication | |
SWIT_CLIENT_ID | No | Your Swit client ID from the Swit Developer Console | |
SWIT_API_BASE_URL | No | Base URL for the Swit API | https://openapi.swit.io/v1 |
SWIT_CLIENT_SECRET | No | Your Swit client secret from the Swit Developer Console |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
swit-oauth-status | Check OAuth authentication status |
swit-oauth-start | Start OAuth authentication. Returns authentication URL that can be opened in browser. |
swit-oauth-logout | Logout from OAuth authentication and delete stored tokens. Use when re-authentication is required. |
swit-workspace-list | Retrieve list of workspaces |
swit-channel-list | Retrieve list of channels |
swit-message-create | Send message to channel |
swit-message-comment-create | Create comment on message |
swit-message-comment-list | Retrieve list of comments on message |
swit-project-list | Retrieve list of projects |