Skip to content

Feature Request: Provide a way for the server to access the client's capabilities #144

@fpt

Description

@fpt

According to VSCode, it supports roots capability as a client.

VS Code provides servers with the current workspace folders using roots (spec).

Current handleInitialize receives mcp.InitializeRequest which seems to have the client's capability, but the request parameter is not used.

Request: Please provide a way for the server to access the client's capabilities.
Usecase: In my MCP Server, having current workspace directory is helpful to run make command. Probably other development tools will need current workspace folders.

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