LaunchKit · 2026

Setup & Installation

npx skills add https://github.com/microsoft/skills --skill copilot-sdk
or paste the link and ask your coding assistant to install it
https://github.com/microsoft/skills/tree/main/.github/plugins/azure-skills/skills/copilot-sdk
View on GitHub

What This Skill Does

The GitHub Copilot SDK lets you build applications that programmatically interact with GitHub Copilot. It wraps the Copilot CLI via JSON-RPC and supports session management, custom tools, hooks, MCP server integration, and streaming across Node.js, Python, Go, and .NET.

Instead of manually orchestrating prompts and tool calls against raw LLM APIs, the SDK handles session state, streaming, permission control, and MCP server lifecycle so you can focus on application logic.

When to use it

  • Building a multi-tenant SaaS app where each user gets an isolated Copilot session
  • Adding a pre-tool hook to block shell commands in an automated code review pipeline
  • Connecting a PostgreSQL MCP server to give Copilot direct access to a project database
  • Running Copilot with an Anthropic or OpenAI key instead of a GitHub subscription
  • Resuming a named session across server restarts to preserve conversation history