---
title: "VS Code configuration for the AI Verde Data Store MCP server"
description: "Configure VS Code Copilot Chat to use the AI Verde Data Store MCP server with anonymous or CyVerse-account access."
type: Guide
tags:
  - MCP
  - VS Code
generated:
  by: "claude/opus-5"
  at: "2026-09-11T00:00:00Z"
sources:
  - id: cyverse-learning-materials
    resource: "https://github.com/CyVerse-learning-materials/learning-materials-home/blob/b7392d21be4fd6a67d051847f98c81a18e058a12/docs/ai/mcp/vs_code.md"
    title: "CyVerse Learning Materials: docs/ai/mcp/vs_code.md"
    author: "team:cyverse"
    last_modified: "2025-10-28T15:42:26-07:00"
---

# VS Code configuration for the AI Verde Data Store MCP server

This document provides example configurations for setting up the remote AI Verde Data Store MCP Server for use with VS Code. Configurations are shown for using Streamable-HTTP.

## Prerequisites

- VS Code installed (latest recommended)  
- Copilot Chat extension enabled (supports MCP)  
- CyVerse account credentials (if not using anonymous access)

## 1. Configure MCP Server

### a. Configure MCP Server for Anonymous Access

Edit the `~/.config/Code/User/mcp.json` file.

Configure VS Code to use the AI Verde Data Store MCP Server with Streamable-HTTP. Paste the following into your `mcp.json` file.

This configuration allows access only to public data located at `/iplant/home/shared`.

```json
{
    "servers": {
        "public-ai-verde-datastore": {
            "type": "http",
            "url": "https://mcp-public.cyverse.ai/mcp"
        }
    }
}
```

Go to `View` → `Chat` and click the wrench icon in the chat box. Expand `MCP Server: public-ai-verde-datastore` and click `Update Tools`.

Accept adding the MCP server and opening a new popup for logging-in. Follow the instructions in the UI.

### b. Configure MCP Server with CyVerse Account

```json
{
    "servers": {
        "ai-verde-datastore": {
            "type": "http",
            "url": "https://mcp.cyverse.ai/mcp"
        }
    }
}
```

Go to `View` → `Chat` and click the wrench icon in the chat box. Expand `MCP Server: ai-verde-datastore` and click `Update Tools`.

Accept adding the MCP server and opening a new popup for logging-in. Follow the instructions in the UI.

VS Code will ask you to enter an OAuth client ID and secret.

- Client ID: `mcp-client`
- Client Secret: `<empty>` **(leave it empty, as one is not required)**


## 2. Verify Connection 

Open Copilot Chat and try running a query, such as:
```bash
list 5 entries in /iplant/home/shared
```

## Reference

[VS Code MCP Server Documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers){target=_blank}

<p class="carc-provenance" markdown>Adapted from [CyVerse Learning Materials](https://github.com/CyVerse-learning-materials/learning-materials-home/blob/b7392d21be4fd6a67d051847f98c81a18e058a12/docs/ai/mcp/vs_code.md){target=_blank} (last source update 2025-10-28), CC BY 4.0. Spotted a problem? [Open an issue](https://github.com/UNM-CARC/cyverse/issues){target=_blank}.</p>
