Skip to content

MCP configuration file location relates to cur directory #50

@Phantato

Description

@Phantato

Issue

Hi all, I'm using mcp-servers-file: /path/to/mcp.json to specify mcp config of my project. The path is .vscode/mcp.json. I have the .aider.conf.yml file in my project root, i.e. the git dir.

However, when launching aider-ce in a sub-dir, it would use the relative path according to cur dir so failed to find the mcp config.

I don't know if it's a bug or is intent. For the latter one if there's any workaround to point configs relates to git dir?

Version and model info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions