Index

A C D F G L N P R S T U V 
All Classes and Interfaces|All Packages

A

ai.wanaku.core.mcp.common - package ai.wanaku.core.mcp.common
 
ai.wanaku.core.mcp.common.resolvers - package ai.wanaku.core.mcp.common.resolvers
 
ai.wanaku.core.mcp.common.resolvers.util - package ai.wanaku.core.mcp.common.resolvers.util
 
ai.wanaku.core.mcp.providers - package ai.wanaku.core.mcp.providers
 
asValue() - Method in enum class ai.wanaku.core.mcp.providers.ServiceType
The string value representing the service type

C

call(ToolManager.ToolArguments, CallableReference) - Method in interface ai.wanaku.core.mcp.common.Tool
Call a tool

D

deregister(String, ServiceType) - Method in interface ai.wanaku.core.mcp.providers.ServiceRegistry
De-register a service from the registry

F

forService(ForwardReference) - Method in class ai.wanaku.core.mcp.common.resolvers.util.NoopForwardRegistry
 
forService(ForwardReference) - Method in interface ai.wanaku.core.mcp.providers.ForwardRegistry
 
ForwardRegistry - Interface in ai.wanaku.core.mcp.providers
 
ForwardResolver - Interface in ai.wanaku.core.mcp.common.resolvers
 

G

getEntries(ServiceType) - Method in interface ai.wanaku.core.mcp.providers.ServiceRegistry
Get a map of all registered services and their configurations
getHost() - Method in class ai.wanaku.core.mcp.providers.ServiceTarget
Gets the host address of the service.
getPort() - Method in class ai.wanaku.core.mcp.providers.ServiceTarget
Gets the port number of the service.
getService() - Method in class ai.wanaku.core.mcp.providers.ServiceTarget
Gets the name of the service.
getService(String) - Method in interface ai.wanaku.core.mcp.providers.ServiceRegistry
Gets a registered service by name
getServiceType() - Method in class ai.wanaku.core.mcp.providers.ServiceTarget
Gets the type of service, either RESOURCE_PROVIDER or TOOL_INVOKER.
getState(String, int) - Method in interface ai.wanaku.core.mcp.providers.ServiceRegistry
Gets the state of the given service

L

listResources() - Method in interface ai.wanaku.core.mcp.common.resolvers.ForwardResolver
 
listResources() - Method in class ai.wanaku.core.mcp.common.resolvers.util.NoopForwardResolver
 
listTools() - Method in interface ai.wanaku.core.mcp.common.resolvers.ForwardResolver
 
listTools() - Method in class ai.wanaku.core.mcp.common.resolvers.util.NoopForwardResolver
 

N

NoopForwardRegistry - Class in ai.wanaku.core.mcp.common.resolvers.util
 
NoopForwardRegistry() - Constructor for class ai.wanaku.core.mcp.common.resolvers.util.NoopForwardRegistry
 
NoopForwardResolver - Class in ai.wanaku.core.mcp.common.resolvers.util
 
NoopForwardResolver() - Constructor for class ai.wanaku.core.mcp.common.resolvers.util.NoopForwardResolver
 
NoopResourceResolver - Class in ai.wanaku.core.mcp.common.resolvers.util
A resolver that does not to anything (mostly used for testing)
NoopResourceResolver() - Constructor for class ai.wanaku.core.mcp.common.resolvers.util.NoopResourceResolver
 
NoopToolsResolver - Class in ai.wanaku.core.mcp.common.resolvers.util
A resolver that does not to anything (mostly used for testing)
NoopToolsResolver() - Constructor for class ai.wanaku.core.mcp.common.resolvers.util.NoopToolsResolver
 

P

provider(String, String, int) - Static method in class ai.wanaku.core.mcp.providers.ServiceTarget
Creates a new instance of ServiceTarget with the specified parameters and a service type of RESOURCE_PROVIDER.

R

read(ResourceManager.ResourceArguments, ResourceReference) - Method in interface ai.wanaku.core.mcp.common.resolvers.ResourceResolver
Read resources
read(ResourceManager.ResourceArguments, ResourceReference) - Method in class ai.wanaku.core.mcp.common.resolvers.util.NoopForwardResolver
 
read(ResourceManager.ResourceArguments, ResourceReference) - Method in class ai.wanaku.core.mcp.common.resolvers.util.NoopResourceResolver
 
register(ServiceTarget, Map<String, String>) - Method in interface ai.wanaku.core.mcp.providers.ServiceRegistry
Register a service target in the registry
resolve(CallableReference) - Method in interface ai.wanaku.core.mcp.common.resolvers.ForwardResolver
Given a reference, resolves what tool would call it
resolve(CallableReference) - Method in class ai.wanaku.core.mcp.common.resolvers.util.NoopForwardResolver
 
resolve(ToolReference) - Method in interface ai.wanaku.core.mcp.common.resolvers.ToolsResolver
Given a reference, resolves what tool would call it
resolve(ToolReference) - Method in class ai.wanaku.core.mcp.common.resolvers.util.NoopToolsResolver
 
Resolver - Interface in ai.wanaku.core.mcp.common.resolvers
A resolver that consumes MCP requests and resolves what type of tool or resource acquirer should handle it
RESOURCE_PROVIDER - Enum constant in enum class ai.wanaku.core.mcp.providers.ServiceType
Provides resources
ResourceResolver - Interface in ai.wanaku.core.mcp.common.resolvers
A resolver that consumes MCP requests and resolves what type of resource acquirer should handle it

S

saveState(String, boolean, String) - Method in interface ai.wanaku.core.mcp.providers.ServiceRegistry
Saves the current state of the service
ServiceRegistry - Interface in ai.wanaku.core.mcp.providers
Defines a registry of downstream services
services() - Method in class ai.wanaku.core.mcp.common.resolvers.util.NoopForwardRegistry
 
services() - Method in interface ai.wanaku.core.mcp.providers.ForwardRegistry
 
ServiceTarget - Class in ai.wanaku.core.mcp.providers
Represents a target service endpoint that can be either a resource provider or a tool invoker.
ServiceTarget(String, String, int, ServiceType) - Constructor for class ai.wanaku.core.mcp.providers.ServiceTarget
Constructs a new instance of ServiceTarget.
ServiceType - Enum Class in ai.wanaku.core.mcp.providers
Defines types of downstream services

T

toAddress() - Method in class ai.wanaku.core.mcp.providers.ServiceTarget
Returns a string representation of the service address in the format "host:port".
Tool - Interface in ai.wanaku.core.mcp.common
Represents a tool that can be called and executed.
TOOL_INVOKER - Enum constant in enum class ai.wanaku.core.mcp.providers.ServiceType
Invokes tools
toolInvoker(String, String, int) - Static method in class ai.wanaku.core.mcp.providers.ServiceTarget
Creates a new instance of ServiceTarget with the specified parameters and a service type of TOOL_INVOKER.
ToolsResolver - Interface in ai.wanaku.core.mcp.common.resolvers
A resolver that consumes MCP requests and resolves what type of tool should handle it

U

unlink(ForwardReference) - Method in class ai.wanaku.core.mcp.common.resolvers.util.NoopForwardRegistry
 
unlink(ForwardReference) - Method in interface ai.wanaku.core.mcp.providers.ForwardRegistry
 
update(String, String, String) - Method in interface ai.wanaku.core.mcp.providers.ServiceRegistry
 

V

valueOf(String) - Static method in enum class ai.wanaku.core.mcp.providers.ServiceType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class ai.wanaku.core.mcp.providers.ServiceType
Returns an array containing the constants of this enum class, in the order they are declared.
A C D F G L N P R S T U V 
All Classes and Interfaces|All Packages