Skip to content

Allow to customize MCP server configurations #564

@9inelemons

Description

@9inelemons

Currently I am running multiple containers inside docker and to run MCP server I need to customize settings for my agent but want to have some feature like "building" guidelines want to have option to customize MCP server settings so its available by any agent like its done for guidelines.

Obviously I can just do it and commit and store in repo but my team can use different agents so I want them to have option just to use it and dont implement MCP server config by themselves

Basically my mcp server config looks like this

{
  "mcpServers": {
    "laravel-boost": {
      "command": "docker",
      "args": [
        "compose",
        "-f",
        "docker-compose.yml",
        "exec",
        "-T",
        "container.name",
        "php",
        "artisan",
        "boost:mcp"
      ],
      "env": {
        "FOO": "BAR",
        "BAZ": "FISH"
      }
    }
  }
}

And also I need to provide custom cwd because docker compose file is located in different directory

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