Skip to content

Add public list_tools() method to CapiscioMCPServer #42

@beonde

Description

@beonde

Context

Discovered during E2E test development (PR capiscio-e2e-tests#28). CapiscioMCPServer has no public method to list registered tools. Tests must access the internal server._tools dict directly.

Current Workaround

# No public API exists
tools = server._tools  # accessing private attribute
assert "my_tool" in tools

Expected API

tools = server.list_tools()  # or server.get_tools()

Impact

  • Tests rely on private internals that could change without notice
  • Consumers building tool inspection/monitoring have no supported way to enumerate tools

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    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