AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

cli-mastery

Interactive training for the GitHub Copilot CLI. Guided lessons, quizzes, scenario challenges, and a full reference covering slash commands, shortcuts, modes, agents, skills, MCP, and configuration. Say "cliexpert" to start.

Original source
github
License
MIT
Pinned revision
5269f7ea2d6c3a9bfda5ed878b6726cf509121fd

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

Ask your assistant

Use Agentic Memory skills to read github--cli-mastery at revision 5269f7ea2d6c3a9bfda5ed878b6726cf509121fd, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 11

references/module-6-mcp.md

Module 6: MCP Integration

What is MCP?

  • Model Context Protocol — a standard for connecting AI to external tools
  • Think of it as "USB ports for AI" — plug in any compatible tool
  • The GitHub MCP server is built-in (search repos, issues, PRs, actions)

Key commands

| Command | What it does | |---------|-------------| | /mcp | List connected MCP servers | | /mcp add <name> <command> | Add a new MCP server |

Popular MCP servers

  • @modelcontextprotocol/server-postgres — Query PostgreSQL databases
  • @modelcontextprotocol/server-sqlite — Query SQLite databases
  • @modelcontextprotocol/server-filesystem — Access local files with permissions
  • @modelcontextprotocol/server-memory — Persistent knowledge graph
  • @modelcontextprotocol/server-puppeteer — Browser automation

Configuration

| Level | File | |-------|------| | User | ~/.copilot/mcp-config.json | | Project | .github/mcp-config.json |

Config file format

{
  "mcpServers": {
    "my-server": {
      "command": "npx",
      "args": ["@modelcontextprotocol/server-postgres", "{{env.DATABASE_URL}}"],
      "env": { "NODE_ENV": "development" }
    }
  }
}

Security best practices

  • Never put credentials directly in config files
  • Use environment variable references: {{env.SECRET}}
  • Review MCP server source before using
  • Only connect servers you actually need