Skip to content

Add Copilot Chat MCP support#5

Merged
sahilk873 merged 4 commits intomainfrom
codex/issue-3-copilot-mcp
Apr 6, 2026
Merged

Add Copilot Chat MCP support#5
sahilk873 merged 4 commits intomainfrom
codex/issue-3-copilot-mcp

Conversation

@sahilk873
Copy link
Copy Markdown
Collaborator

@sahilk873 sahilk873 commented Apr 5, 2026

This update makes the existing ShortKit-ML MCP server usable from GitHub Copilot Chat in VS Code without changing the detector code itself.

The gap in issue #3 was not the shortcut-detection API. The repo already exposed the full MCP tool surface, but it did not ship a VS Code workspace config or documented Copilot Chat flow. As a result, Copilot users had no checked-in path to discover and launch the shortkit-ml server from the repo.

This change adds a tracked .vscode/mcp.json using the same shortcut_detect.mcp_server entry point as the Claude Code/Desktop setup, documents the VS Code Agent-mode workflow in the final MCP documentation section, and updates the README MCP section to mention GitHub Copilot in VS Code. I also added a small regression test that keeps the VS Code MCP config aligned with the root project config.

Validation:

  • pytest -q tests/test_mcp_server.py tests/test_copilot_mcp_config.py
  • python3 -m json.tool .vscode/mcp.json
  • python3 -m json.tool .mcp.json

Notes:

  • This is a repo-side Copilot Chat integration via MCP, not a GitHub App extension. That matches the current documented Copilot/MCP path and keeps the server on a maintained integration surface.
  • The remaining Copilot Chat smoke test is a manual VS Code step: open the tools panel, confirm shortkit-ml appears, and run a real prompt.

Closes #3.

@sahilk873 sahilk873 requested a review from sebasmos April 5, 2026 15:45
@sebasmos
Copy link
Copy Markdown
Member

sebasmos commented Apr 5, 2026

@sahilk873 it would be great to confirm this works with Copilot in VS Code directly not only via pytests, including the free extension, and then include it in the MCP documentation/website last section, following the same approach as the Claude Desktop example: https://criticaldata.github.io/ShortKit-ML/mcp-server/

@sahilk873 sahilk873 force-pushed the codex/issue-3-copilot-mcp branch from ad1bb0d to e5d50b0 Compare April 6, 2026 15:49
@sahilk873 sahilk873 merged commit b4032a2 into main Apr 6, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: expose ShortKit-ML as a GitHub Copilot extension

2 participants