Skip to content

Feature Request: Allow passing an initial prompt/context to MCP server sessions #315

@Ronodeep

Description

@Ronodeep

Feature Request

It would be helpful to have a way to pass an initial prompt or context when starting a session with the MCP server. This would allow for better contextualization and more relevant responses from the server, especially for use cases where the initial context is important for downstream interactions.

Proposed Solution:

  • Add support for an optional initial prompt/context parameter when starting a session (e.g., via an environment variable, command-line argument, or API field).
  • Ensure this context is available to the server for the duration of the session.

Use Case:

  • Users can provide background information, goals, or other relevant context at the start of a session, improving the quality of responses.

Thank you for considering this feature!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions