# Uses of Class
com.google.adk.tools.mcp.McpSessionManager

Packages that use McpSessionManager
Package
Description
com.google.adk.tools.mcp

- ## Uses of McpSessionManager in com.google.adk.tools.mcp

  Fields in com.google.adk.tools.mcp declared as McpSessionManager
  Modifier and Type
  Field
  Description
  `protected final McpSessionManager`
  AbstractMcpTool.`mcpSessionManager`
  Methods in com.google.adk.tools.mcp with parameters of type McpSessionManager
  Modifier and Type
  Method
  Description
  `McpAsyncToolset.Builder`
  McpAsyncToolset.Builder.`mcpSessionManager(McpSessionManager mcpSessionManager)`
  Constructors in com.google.adk.tools.mcp with parameters of type McpSessionManager
  Modifier
  Constructor
  Description
  `protected`
  `AbstractMcpTool(io.modelcontextprotocol.spec.McpSchema.Tool mcpTool, T mcpSession, McpSessionManager mcpSessionManager, com.fasterxml.jackson.databind.ObjectMapper objectMapper)`
  ``
  `McpAsyncTool(io.modelcontextprotocol.spec.McpSchema.Tool mcpTool, io.modelcontextprotocol.client.McpAsyncClient mcpSession, McpSessionManager mcpSessionManager)`
  Creates a new McpAsyncTool with the default ObjectMapper.
  ``
  `McpAsyncTool(io.modelcontextprotocol.spec.McpSchema.Tool mcpTool, io.modelcontextprotocol.client.McpAsyncClient mcpSession, McpSessionManager mcpSessionManager, com.fasterxml.jackson.databind.ObjectMapper objectMapper)`
  Creates a new McpAsyncTool
  ``
  `McpTool(io.modelcontextprotocol.spec.McpSchema.Tool mcpTool, io.modelcontextprotocol.client.McpSyncClient mcpSession, McpSessionManager mcpSessionManager)`
  Creates a new McpTool with the default ObjectMapper.
  ``
  `McpTool(io.modelcontextprotocol.spec.McpSchema.Tool mcpTool, io.modelcontextprotocol.client.McpSyncClient mcpSession, McpSessionManager mcpSessionManager, com.fasterxml.jackson.databind.ObjectMapper objectMapper)`
  Creates a new McpTool with the default ObjectMapper.
  ``
  `McpToolset(McpSessionManager mcpSessionManager, com.fasterxml.jackson.databind.ObjectMapper objectMapper)`
  Initializes the McpToolset with an McpSessionManager and no tool filter.
  ``
  `McpToolset(McpSessionManager mcpSessionManager, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ToolPredicate toolPredicate)`
  Initializes the McpToolset with an McpSessionManager.
  ``
  `McpToolset(McpSessionManager mcpSessionManager, com.fasterxml.jackson.databind.ObjectMapper objectMapper, List<String> toolNames)`
  Initializes the McpToolset with an McpSessionManager.