Building a cross-platform automated workflow is divided into three main steps:
- Installation of dependency packages: via
pnpm add @modelcontextprotocol/server-github @modelcontextprotocol/server-slackInstall two MCP server connectors - Write core logic: use
ToolSDK.connect()method connects to each of the two services, first fetching the issue data from the GitHub server, then calling the Slack server to send the message - Running deployment: configured
.envRun the script directly with the API key in the file
For example, as shown in the code snippet, getting the number of issues in a GitHub repository and sending them to a specific Slack channel takes only 3-5 lines of core code.
This answer comes from the articleToolSDK.ai: a free SDK to quickly connect AI tools to MCP serversThe































