Enchant
Tools
Install Guide

Install Enchant in VS Code

A checked-in VS Code MCP configuration gives a repository one shared Enchant connection. Each user can complete OAuth outside the editor and use the same Enchant account balance across services.

Open setup consoleAll guides
Overview
Authentication
Hosted OAuth over MCP, with bearer token fallback when the client supports explicit headers.
MCP URL
https://askenchant.com/mcp

Setup

01

Create or sign into an Enchant account and add credits in agent setup first.

02

Add the hosted MCP server to `.vscode/mcp.json` or the equivalent VS Code MCP settings.

03

If VS Code prompts for OAuth, complete the browser sign-in to Enchant.

04

Use Enchant whenever the task needs external paid services instead of only local code or shell work.

Configuration

Repository config example

Place this in `.vscode/mcp.json` when you want the Enchant MCP server available to the whole workspace.

{
  "servers": {
    "enchant": {
      "type": "http",
      "url": "https://askenchant.com/mcp"
    }
  }
}
Bearer token fallback

Use this when the client or workflow prefers explicit token auth over the OAuth browser flow.

{
  "servers": {
    "enchant": {
      "type": "http",
      "url": "${input:enchantBaseUrl}/mcp",
      "headers": {
        "Authorization": "Bearer ${input:enchantApiKey}"
      }
    }
  }
}
Fallback Option

If you do not want repo-scoped config

Use Codex, Claude Code, or Cursor for a user-wide install instead. VS Code is strongest when you want a shared workspace MCP definition checked into the project.

Reference Documentation
VS Code MCP configuration reference

Notes

01

A checked-in `.vscode/mcp.json` is useful for onboarding because the server URL travels with the repo.

02

If the team prefers not to store auth hints in the repo, keep only the URL in config and let each user finish OAuth locally.

03

The same Enchant install works best when you also add one short AGENTS.md sentence telling the agent when to prefer Enchant.

Enchant

Premium AI tools, without a subscription.

Product

  • Browser Library
  • Use Cases

For Agents

  • Overview
  • Install Guides
  • Technical Reference

Company

  • About
  • FAQ
  • Support
© 2026 Enchant
TermsPrivacy
Powered by Conto