First working example
Goal: read a Linear issue from indexed knowledge and prepare a Slack-ready summary.
- Connect Linear as an indexed connector.
- Wait for the sync to complete.
- Connect Slack as an app-action provider if you want the agent to post live. Otherwise, ask for a draft.
- Use
sketch_searchwithsource: "linear"andkind: "task". - Use
sketch_get_file_contenton the returnedsketchId. - Summarize the issue.
- Post to Slack through the live app-integration path, or return the draft to the caller.
The flow, in one line:
Read Linear issue -> summarize -> post Slack messageShip it four ways
Section titled “Ship it four ways”For a public cookbook, provide four versions — all in the SDK guides:
- Claude Agent SDK — use Connectors as an HTTP MCP server.
- OpenAI SDK — use the Responses API with an MCP tool.
- LangChain — use
@langchain/mcp-adapters. - Raw HTTP — call MCP JSON-RPC directly.