Skip to content

✨Service support for stdio transports #9479

@cwlbraa

Description

@cwlbraa

What are you trying to do?

docker run -i allows users to run images that accept ongoing communication on stdin. as far as i can tell, this is not currently possible in dagger - you can't pass the CLI host's stdin to an engine-ran process.

Why is this important to you?

MCP servers all use stdio as transport, but stdio servers can also be useful for greenfield server development.

Using the existing MCP server ecosystem with an agent running in dagger would also be hypothetically convenient.

How are you currently working around this?

Not building using dagger for these applications, or writing an SSE MCP server and using a proxy running in docker to translate the SSE events to stdio.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions