mcpField
C
copilot-sdk

copilot-sdk

github.com/sickn33Agent workflows48.9k83 installsUpdated 1d ago
Repository

About copilot-sdk

A skill for building applications that interact programmatically with GitHub Copilot. Its SDK wraps the Copilot CLI over JSON-RPC and provides session management, custom tools, hooks, MCP integration, and streaming across Node.js, Python, Go, and .NET.

Key features

  1. 01JSON-RPC wrapper for Copilot CLI
  2. 02Session management
  3. 03Custom tools and hooks
  4. 04MCP server integration
  5. 05Streaming across four language runtimes

Use cases

  1. 01Build applications that use GitHub Copilot
  2. 02Add custom tools to Copilot sessions
  3. 03Connect Copilot applications to MCP servers

MCP support

The SDK supports MCP server integration, allowing applications built with it to connect Copilot sessions with MCP servers.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/sickn33/agentic-awesome-skills --skill copilot-sdk

After installing, type/copilot-sdkin Claude Code to confirm it loaded.

Bundled filesreferences/detailed-guide.md

Details

From the project README

GitHub Copilot SDK

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

Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

Prerequisites

  • GitHub Copilot CLI installed and authenticated (copilot --version to verify)
  • GitHub Copilot subscription (Individual, Business, or Enterprise) — not required for BYOK
  • Runtime: Node.js 18+ / Python 3.8+ / Go 1.21+ / .NET 8.0+

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Comments

Markdown supported