> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yofacturo.es/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure in VSCode

> How to add the YoFacturo MCP server to Visual Studio Code.

<Warning>
  The YoFacturo MCP server is in beta. You can join through [this form](https://form.typeform.com/to/AjtnA2aB)
</Warning>

# Configure in VSCode

<Steps>
  <Step title="Open the command palette">
    Press `Ctrl+Shift+P` and search for **MCP: Add Server...**
  </Step>

  <Step title="Select the transport type">
    Choose **HTTP (HTTP or Server-Sent Events)**.
  </Step>

  <Step title="Enter the server URL">
    Paste the MCP server URL: `https://app.yofacturo.es/mcp` and press Enter.
  </Step>

  <Step title="Assign a server ID">
    Accept the default value or type a custom name and press Enter.
  </Step>

  <Step title="Choose the scope">
    Select **Global** (recommended) or Workspace.
  </Step>

  <Step title="Copy the redirect URIs">
    A popup will appear. Click **Copy URIs and Proceed**.
  </Step>

  <Step title="Enter OAuth credentials">
    * **OAuth Client ID:** any value you like, e.g. `your_mcp_user`
    * **OAuth Client Secret:** the token we provided you. If you have any questions, contact us at [soporte@yofacturo.es](mailto:soporte@yofacturo.es)
  </Step>

  <Step title="Authorize the connection">
    Two consecutive popups will appear:

    * **"The MCP Server Definition ... wants to authenticate to ..."** → click **Allow**.
    * **"Do you want Code to open the external website?"** → click **Open**.
  </Step>

  <Step title="Authorize in YoFacturo">
    A browser tab will open with the YoFacturo page. Authorize access and return to VSCode.
  </Step>

  <Step title="Done">
    You can now use the YoFacturo MCP from VSCode 🎉
  </Step>
</Steps>
