Skip to content

use with mcp configuration #161

@varris

Description

@varris

it's a very cool extension, but when I've tried with MCP configurations as
https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_add-an-mcp-server-to-your-user-settings

it doesn't work for me
my config :

    "mcp": {
        "inputs": [
            {
                "id": "inputTest",
                "type": "command",
                "command": "shellCommand.execute",
                "args": {
                    "command": "pwd",  
                    "cwd": "${workspaceFolder}",
                },
            },
        ],
        "servers": {
            "filesystem": {
                "command": "npx",
                    "args": [
                        "-y",
                        "@modelcontextprotocol/server-filesystem",
                        "${input:inputTest}",
                    ],  
            }
        }
    },

I got an error

Error starting filesystem: Error: Could not find input with command 'pwd' and taskId 'undefined'.

is it possible to add support for MCP configs too?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions