MCP overview

GitHub Copilot

Connect Cuelara to Copilot Chat's agent mode in VS Code.

GitHub Copilot Chat uses VS Code's built-in MCP client, available in agent mode.

Config

Create .vscode/mcp.json in your workspace:

json
{
"servers": {
"cuelara-token-optimizer": {
"type": "http",
"url": "https://cuelara.com/api/mcp"
}
}
}

Authenticate as yourself (optional)

Generate a personal token from /dashboard/mcp:

json
{
"servers": {
"cuelara-token-optimizer": {
"type": "http",
"url": "https://cuelara.com/api/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN_HERE" }
}
}
}

Switch Copilot Chat to Agent mode, click the tools icon to confirm cuelara_compress_prompt, cuelara_optimize_prompt, and cuelara_build_prompt are listed, then ask it to compress, restructure, or build a prompt.

Other ways to connect Cuelara

The same MCP server works in every client below, with the same bearer token. Create a token in your dashboard, paste it into the config for GitHub Copilot, and your assistant can call the Cuelara prompt tools directly. You can also read the MCP overview, call the tools over the REST API, or try them first on the tools page.