Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/mcp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## [Unreleased]

### Fixed

- Fixed MCP server startup error in Google Antigravity and other MCP clients by using `console.error`
instead of `console.info` for startup messages, preventing stdout pollution of the MCP protocol.

## [1.2.0] - 2025-09-04

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp/src/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export async function main() {
const port = process.env.PORT ? Number(process.env.PORT) : 3000

app.listen(port, () => {
console.info(`Ark MCP SSE Server running on http://localhost:${port}`)
console.error(`Ark MCP SSE Server running on http://localhost:${port}`)
})
}

Expand Down
2 changes: 1 addition & 1 deletion packages/mcp/src/stdio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ async function main() {

const transport = new StdioServerTransport()
await server.connect(transport)
console.info('Ark UI MCP Server running on stdio')
console.error('Ark UI MCP Server running on stdio')
}

main().catch((error) => {
Expand Down