Skip to content

feature: Change instructions at runtime #368

Open
@0xNF

Description

@0xNF

Currently, the Instructions field of the MCPServer must be set during construction:

options := []server.ServerOption{
	server.WithInstructions("..."),
}
s := server.NewMCPServer(serverName, version, options...)

I have instructions that can theoretically change over the lifetime of the server, and to the best of my knowledge, there's no way to modify instructions after the object has been instantiated.

I'd like some kind of server.SetInstructions(instructions string) method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: sdkSDK improvements unrelated to MCP specification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions