Skip to content

Commit 7b09991

Browse files
author
JooHyung Park
committed
[ai-assisted] feat(mcp): add Antigravity client support
1 parent 02f6d9f commit 7b09991

2 files changed

Lines changed: 35 additions & 1 deletion

File tree

src/components/mcp/McpClientItem.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export function McpClientItem({ client }: McpClientItemProps) {
6363

6464
// Generate config with actual path
6565
const getConfigWithPath = () => {
66-
if (client.id === 'cursor' || client.id === 'vscode') {
66+
if (client.id === 'cursor' || client.id === 'vscode' || client.id === 'antigravity') {
6767
const config = {
6868
mcpServers: {
6969
TalkToFigmaDesktop: {
@@ -128,6 +128,15 @@ export function McpClientItem({ client }: McpClientItemProps) {
128128
</>
129129
)}
130130

131+
{/* Antigravity */}
132+
{client.id === 'antigravity' && (
133+
<>
134+
<div className="space-y-3">
135+
<ConfigCodeBlock config={getConfigWithPath()} />
136+
</div>
137+
</>
138+
)}
139+
131140
<Separator />
132141

133142
{/* Instructions */}

src/lib/mcp/client-configs.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,31 @@ export const MCP_CLIENTS: Record<string, McpClient> = {
9393
]
9494
},
9595

96+
antigravity: {
97+
id: 'antigravity',
98+
displayName: 'Antigravity',
99+
configPath: '~/Library/Application Support/Antigravity/mcp_config.json', // macOS
100+
configFormat: 'json',
101+
serverName: 'TalkToFigmaDesktop',
102+
installMethod: 'manual',
103+
description: 'Google Antigravity AI editor',
104+
config: {
105+
mcpServers: {
106+
TalkToFigmaDesktop: {
107+
command: 'node',
108+
args: ['<STDIO_SERVER_PATH>'] // Replace with actual path to mcp-stdio-server.js
109+
}
110+
}
111+
},
112+
instructions: [
113+
'Click "..." in the top right of the Antigravity side panel',
114+
'Select "MCP Server" → "Manage MCP Servers"',
115+
'Click "View raw config"',
116+
'Copy the configuration JSON above (server path is pre-filled)',
117+
'Paste into the config editor and save'
118+
]
119+
},
120+
96121
comingSoon: {
97122
id: 'coming-soon',
98123
displayName: 'Other Clients',

0 commit comments

Comments
 (0)