Connect Pipecat Context Hub to VS Code as an MCP server over stdio. Requires GitHub Copilot with MCP support enabled.
- Python 3.11+
- VS Code 1.99+ (MCP support)
- GitHub Copilot extension
uvpackage manager
Build the local index before serving. The first run downloads the package, models, and sources — allow a few minutes:
uvx pipecat-ai-context-hub refreshThis populates ~/.pipecat-context-hub/.
Create .vscode/mcp.json in your project root:
{
"servers": {
"pipecat-context-hub": {
"type": "stdio",
"command": "uvx",
"args": ["pipecat-ai-context-hub", "serve"],
"env": {}
}
}
}Note: VS Code uses "servers" (not "mcpServers") and requires an explicit "type": "stdio" field.
Open your VS Code settings.json and add:
{
"mcp": {
"servers": {
"pipecat-context-hub": {
"type": "stdio",
"command": "uvx",
"args": ["pipecat-ai-context-hub", "serve"],
"env": {}
}
}
}
}- Open your project in VS Code.
- Open the Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) and run MCP: List Servers to confirmpipecat-context-hubis listed. - In Copilot Chat, set the mode to Agent and ask a question about Pipecat.
You can also verify the server starts correctly from the command line:
uvx pipecat-ai-context-hub serve --help- Server not listed: Ensure
.vscode/mcp.jsonis in your workspace root and that"type": "stdio"is present. - Command not found: Ensure
uvis installed and on your PATH (uvxships withuv). - Empty results: Run
uvx pipecat-ai-context-hub refreshto populate the index. - MCP not available: Ensure you have VS Code 1.99+ and the GitHub Copilot extension installed. MCP support may need to be enabled in settings:
"chat.mcp.enabled": true.