Skip to content

How can I connect Google Stitch with an MCP server in OpenCode? #11391

@cyberprophet

Description

@cyberprophet

Question

Hi,
I’m exploring ways to integrate Google Stitch with an MCP (Model Context Protocol) server in the OpenCode ecosystem, and I’d like some guidance on the recommended approach.

Context

I’m currently using OpenCode as the main interface.

I’m aware that OpenCode supports MCP servers via its plugin / server configuration.

Google Stitch appears to expose capabilities that could be useful if bridged through an MCP-compatible server.

What I’m trying to understand

Is there an official or recommended way to connect Google Stitch to OpenCode via an MCP server?

Does this require:

writing a custom MCP server that wraps Google Stitch APIs, or

using an existing MCP server / adapter?

Are there any reference implementations or examples (even minimal ones) that demonstrate:

MCP server ↔ external AI service integration

or OpenCode consuming a non-OpenAI MCP backend?

Additional details

My goal is to expose Google Stitch features as tools / context consumable by OpenCode through MCP.

I’m especially interested in best practices around:

authentication

request/response schema design

performance considerations

Any pointers to docs, examples, or architectural guidance would be very helpful.
Thanks!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions