Skip to content

Missing public properties in McpToolset #4270

@davidjsanders

Description

@davidjsanders

Is your feature request related to a specific problem?

When using MCP tools with McpToolset, configuration information for the object is not exposed as object properties or attributes meaning that 'private' attributes need to be accessed, e.g. toolset._connection_params rather than toolset.connection_params

Describe the Solution You'd Like

Expose the attributes of the McpToolset class as properties.

Impact on your work

This issue is not critical and more affects static code analysis and typing hints than any major issue; however, it's fairly simple to implement and resolve.

Willingness to contribute

Are you interested in implementing this feature yourself or submitting a PR?
No

🟡 Recommended Information

Describe Alternatives You've Considered

Access the private properties of the class.

Proposed API / Implementation

@Property
def connection_params(self):
return self._connection_params

Metadata

Metadata

Assignees

Labels

mcp[Component] Issues about MCP supporttools[Component] This issue is related to tools

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions