Skip to content
This repository was archived by the owner on Jul 5, 2026. It is now read-only.

Install MCP configs for more clients#30

Merged
alexstyl merged 3 commits into
mainfrom
mcp-client-installers
Jul 5, 2026
Merged

Install MCP configs for more clients#30
alexstyl merged 3 commits into
mainfrom
mcp-client-installers

Conversation

@alexstyl

@alexstyl alexstyl commented Jul 4, 2026

Copy link
Copy Markdown
Member

Summary

  • add mcp install support for OpenCode, Antigravity, Claude Code, Codex, and Cursor
  • write each client's expected stdio config for composables mcp start
  • preserve existing MCP server entries and require --overwrite for conflicts

New install commands

composables mcp install --client opencode
composables mcp install --client antigravity
composables mcp install --client claude
composables mcp install --client codex
composables mcp install --client cursor

All new stdio clients are configured to launch:

composables mcp start

Config files written

OpenCode

Writes project-local opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "composables": {
      "type": "local",
      "command": ["composables", "mcp", "start"],
      "enabled": true
    }
  }
}

Antigravity

Writes user-level ~/.gemini/config/mcp_config.json:

{
  "mcpServers": {
    "composables": {
      "command": "composables",
      "args": ["mcp", "start"]
    }
  }
}

Claude Code

Writes project-local .mcp.json:

{
  "mcpServers": {
    "composables": {
      "command": "composables",
      "args": ["mcp", "start"]
    }
  }
}

Codex

Writes project-local .codex/config.toml:

[mcp_servers.composables]
command = "composables"
args = ["mcp", "start"]

Cursor

Writes project-local .cursor/mcp.json:

{
  "mcpServers": {
    "composables": {
      "command": "composables",
      "args": ["mcp", "start"]
    }
  }
}

Config sources checked

Verification

  • ./gradlew spotlessCheck :cli:test :cli:integrationTest

@alexstyl alexstyl force-pushed the mcp-command-structure branch from 8764eb5 to b4e3a07 Compare July 5, 2026 02:42
@alexstyl alexstyl force-pushed the mcp-client-installers branch from b82353a to d9fa22a Compare July 5, 2026 02:42
Comment thread cli/src/jvmMain/kotlin/Cli.kt Outdated
Comment thread cli/src/jvmMain/kotlin/Cli.kt Outdated
@alexstyl alexstyl force-pushed the mcp-client-installers branch from 8645dd4 to 5e1a867 Compare July 5, 2026 03:06
@alexstyl alexstyl changed the base branch from mcp-command-structure to main July 5, 2026 03:06
@alexstyl alexstyl merged commit 66ec2ea into main Jul 5, 2026
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant