Skip to content

Commit 8b22594

Browse files
feat(mcp-augment): add enum value and constant
- Add MCPHostType.AUGMENT = "augment" enum member - Add "augment" to EnvironmentPackageEntry.validate_host_names supported set - Add AUGMENT_FIELDS = CLAUDE_FIELDS (command/args/env/url/headers/type) - Add "augment" to TYPE_SUPPORTING_HOSTS (type discriminator is used) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 038be8c commit 8b22594

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

hatch/mcp_host_config/fields.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"claude-code",
3535
"vscode",
3636
"cursor",
37+
"augment",
3738
}
3839
)
3940

@@ -116,6 +117,10 @@
116117
)
117118

118119

120+
# Fields supported by Augment Code (auggie CLI + extensions); same as Claude fields
121+
# Config: ~/.augment/settings.json, key: mcpServers
122+
AUGMENT_FIELDS: FrozenSet[str] = CLAUDE_FIELDS
123+
119124
# Fields supported by OpenCode (no type field; uses local/remote type derivation,
120125
# command array merge, environment rename, and oauth nesting)
121126
OPENCODE_FIELDS: FrozenSet[str] = UNIVERSAL_FIELDS | frozenset(

hatch/mcp_host_config/models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class MCPHostType(str, Enum):
3131
KIRO = "kiro"
3232
CODEX = "codex"
3333
OPENCODE = "opencode"
34+
AUGMENT = "augment"
3435

3536

3637
class MCPServerConfig(BaseModel):
@@ -366,6 +367,7 @@ def validate_host_names(cls, v):
366367
"gemini",
367368
"kiro",
368369
"opencode",
370+
"augment",
369371
}
370372
for host_name in v.keys():
371373
if host_name not in supported_hosts:

0 commit comments

Comments
 (0)