What GitHub Copilot CLI does
GitHub Copilot CLI lets you work with Copilot directly from a terminal. It can answer questions, write and debug code, and interact with GitHub.com. See GitHub's Copilot CLI documentation.
Interactive and command-line use
In an interactive session, you can converse with Copilot, assign tasks, give feedback, and steer its work. You can also pass one prompt on the command line. Copilot completes the task and exits. Plan mode can ask clarifying questions and build an implementation plan before writing code. See GitHub's Copilot CLI documentation.
How MCP servers add context
MCP is an open standard for sharing context with large language models. GitHub Copilot CLI can connect to MCP servers for access to external tools, data sources, and services. It supports local servers over STDIO and remote servers over HTTP or SSE. See GitHub's MCP server guide.
Adding a remote MCP server
Use /mcp add in interactive mode, or run copilot mcp add --transport http SERVER-NAME URL. Remote server configuration can include a URL, HTTP headers, and the tools Copilot may use. User configuration is stored in ~/.copilot/mcp-config.json, while .github/mcp.json can hold project-level configuration. See GitHub's MCP server guide.
What a KnowMan knowledge base adds
KnowMan saves articles and links, reads and tags them, answers questions with citations, and keeps claims, decisions, and playbooks as memories. Its MCP tools can search saved items, ask questions, retrieve content, save links, view recent items, and access memories. See the KnowMan MCP project and guide to MCP knowledge bases.
Connecting KnowMan
KnowMan's hosted MCP server is available at https://api.knowman.io/mcp over Streamable HTTP. It accepts OAuth sign-in or an API key sent as Authorization: Bearer <key>. See KnowMan's MCP project and GitHub's MCP server guide.
Where KnowMan fits
KnowMan can provide context from your own library to an MCP client. Its tools support searching saved items, asking questions, retrieving an item, saving links, and accessing memories. You can also read about giving AI context and persistent memory for AI agents.
Questions people ask
What is GitHub Copilot CLI?
GitHub Copilot CLI is a command-line interface for using Copilot directly from a terminal. It can answer questions, write and debug code, and interact with GitHub.com. See GitHub's documentation.
Can GitHub Copilot CLI use MCP servers?
Yes. Copilot CLI can connect to local STDIO servers and remote HTTP or SSE servers. These connections can provide external tools, data sources, and services. See GitHub's MCP server guide.
What does KnowMan add to an MCP client?
The hosted KnowMan MCP server provides tools for searching saved items, asking questions, retrieving content, saving links, viewing recent items, and accessing memories. See the KnowMan MCP project.
Which Copilot CLI platforms are supported?
GitHub documents support for Linux, macOS, and Windows through PowerShell or WSL. See GitHub's Copilot CLI documentation.