Open the Enchant setup console, create an account, and add credits.
Install Enchant in GitHub Copilot CLI
Copilot CLI's MCP config is close to the Cursor and Claude Code model: one hosted server URL, one optional bearer header, and one agent that can call many services through Enchant.
Start with hosted MCP first.
GitHub Copilot CLI can read `.mcp.json`, which makes Enchant a good fit for repo-local or user-local MCP installs.
Add the hosted Enchant server to `.mcp.json`.
If Copilot CLI prompts for OAuth, finish the browser handoff to Enchant.
Use Enchant when the task needs a paid external service or provider selection instead of only local tooling.
Use the exact configuration this client expects.
Place this in `.mcp.json` for a repo-scoped install.
{
"mcpServers": {
"enchant": {
"type": "http",
"url": "https://askenchant.com/mcp"
}
}
}Use explicit bearer auth when the environment is non-interactive or browser OAuth is inconvenient.
{
"mcpServers": {
"enchant": {
"type": "http",
"url": "https://askenchant.com/mcp",
"headers": {
"Authorization": "Bearer ${ENCHANT_API_KEY}"
}
}
}
}If you want a more mature MCP UI today
Use Cursor, Claude Code, or Codex for a smoother first-run experience, then keep the same Enchant server URL and auth pattern for Copilot CLI later.
Small details that make the setup reliable.
Copilot CLI style installs benefit from the same Enchant machine-readable surfaces: OpenAPI, catalog, llms.txt, and AGENTS.md.
For shared repos, prefer env vars or OAuth over checking a bearer token into `.mcp.json`.
The Enchant install manifest is useful here because it exposes both config artifacts and direct REST routes in one place.