Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IBM/mcp-cli
/ functions
Functions
6,849 in github.com/IBM/mcp-cli
⨍
Functions
6,849
◇
Types & classes
1,312
↳
Endpoints
189
↓ 1 callers
Function
simple_integration_test
Simpler test showing just the display components working.
examples/streaming/real_llm_streaming_demo.py:129
↓ 1 callers
Function
simple_streaming_example
Simple example of using StreamingContext.
examples/getting_started/streaming_simple.py:20
↓ 1 callers
Method
simulate_common_errors
Simulate common error scenarios for testing diagnosis logic.
diagnostics/cli_tools_diagnostic.py:415
↓ 1 callers
Function
slow_execute
(self, tool_name, arguments, namespace=None, timeout=None)
tests/tools/test_execution.py:414
↓ 1 callers
Method
start_streaming_response
Start streaming response (handled by display manager).
src/mcp_cli/chat/ui_manager.py:304
↓ 1 callers
Method
start_streaming_response
(self)
src/mcp_cli/agents/headless_ui.py:41
↓ 1 callers
Method
start_streaming_response
(self)
tests/chat/test_conversation.py:26
↓ 1 callers
Method
start_tool_execution
(self, tool_name: str, arguments: Any)
src/mcp_cli/agents/headless_ui.py:53
↓ 1 callers
Method
stop_streaming_response
(self)
src/mcp_cli/agents/headless_ui.py:44
↓ 1 callers
Method
stream_execute_tool
Stream tool execution results (for tools that support streaming).
src/mcp_cli/tools/manager.py:885
↓ 1 callers
Method
stream_execute_tool
(self, tool_name: str, arguments: Dict[str, Any])
tests/chat/test_chat_context.py:98
↓ 1 callers
Function
streaming_with_code
Example with code content.
examples/getting_started/streaming_simple.py:52
↓ 1 callers
Function
suggest_config_from_available_servers
Generate a suggested config based on available servers.
diagnostics/mcp_server_diagnostic.py:192
↓ 1 callers
Function
swapPanels
(aId, bId)
src/mcp_cli/dashboard/static/js/layout.js:218
↓ 1 callers
Function
switchPanelView
(panelId, newViewId)
src/mcp_cli/dashboard/static/js/views.js:183
↓ 1 callers
Function
test
()
diagnostics/trace_monday_simple.py:11
↓ 1 callers
Function
test
()
diagnostics/trace_timeout_flow.py:48
↓ 1 callers
Function
test_advanced_commands
Test more advanced commands if basic ones work.
diagnostics/cli_command_diagnostic.py:218
↓ 1 callers
Function
test_basic_commands
Test basic mcp-cli commands.
diagnostics/cli_command_diagnostic.py:61
↓ 1 callers
Function
test_basic_functionality
Test basic MCP CLI functionality.
diagnostics/mcp_cli_diagnostics.py:125
↓ 1 callers
Function
test_client_creation
Test creating clients directly.
diagnostics/debug_models.py:95
↓ 1 callers
Function
test_conversation_flow
Test the conversation flow with minimal output.
diagnostics/conversation_tools_diagnostic.py:32
↓ 1 callers
Function
test_execution
Test actual tool execution and capture timeout/retry behavior.
diagnostics/simple_exec_timeout_diagnostic.py:24
↓ 1 callers
Function
test_provider_commands
Test provider-related commands.
diagnostics/cli_command_diagnostic.py:166
↓ 1 callers
Function
test_runtime_server_management
Test runtime server management functionality.
diagnostics/mcp_server_diagnostic.py:1080
↓ 1 callers
Function
test_server_commands
Test server-specific commands.
diagnostics/cli_command_diagnostic.py:92
↓ 1 callers
Function
test_server_integration
Test MCP server integration.
diagnostics/server_integration_diagnostic.py:24
↓ 1 callers
Function
test_server_tools
Test tools from a specific server.
examples/servers/server_management_e2e.py:34
↓ 1 callers
Function
test_single_runtime_server
Test a single runtime server configuration.
diagnostics/mcp_server_diagnostic.py:912
↓ 1 callers
Method
to_dict
Convert to dictionary.
src/mcp_cli/tools/models.py:68
↓ 1 callers
Method
to_dict
Convert to dictionary format for LLM API calls.
src/mcp_cli/tools/models.py:612
↓ 1 callers
Method
to_dict
Convert preferences to dictionary.
src/mcp_cli/utils/preferences.py:177
↓ 1 callers
Method
to_dict
Convert to dictionary for backwards compatibility. This is a transitional method while migrating from dict-based context.
src/mcp_cli/context/context_manager.py:159
↓ 1 callers
Method
to_dict
Convert to dict for API.
src/mcp_cli/chat/models.py:82
↓ 1 callers
Method
to_dict
Convert to dict for serialization.
src/mcp_cli/chat/models.py:227
↓ 1 callers
Method
to_dict
Convert to dictionary with flattened config for backward compatibility.
src/mcp_cli/config/discovery_models.py:78
↓ 1 callers
Function
to_plain_dict
(spec: Any)
examples/tools/tool_round_trip.py:144
↓ 1 callers
Method
to_stream_manager_config
Convert to format expected by StreamManager.
src/mcp_cli/tools/models.py:503
↓ 1 callers
Function
tool_chaining_demo
Show rapid tool chaining like complex MCP-CLI workflows.
examples/streaming/mcp_streaming_showcase.py:141
↓ 1 callers
Function
trace_mcp_cli_imports
Trace where MCP CLI components are loaded from.
diagnostics/timeout_investigation.py:12
↓ 1 callers
Function
updateProviderSelect
(activeProvider)
src/mcp_cli/dashboard/static/js/config.js:25
↓ 1 callers
Function
updateServerList
(servers)
src/mcp_cli/dashboard/static/js/config.js:67
↓ 1 callers
Function
updateSystemPromptEditor
(prompt)
src/mcp_cli/dashboard/static/js/config.js:87
↓ 1 callers
Method
update_from_cli
Update CLI overrides from keyword arguments. Args: **kwargs: CLI argument values to override
src/mcp_cli/config/config_manager.py:694
↓ 1 callers
Function
validate_step
Validate a single plan step against the tool catalog.
examples/planning/plan_llm_demo.py:140
↓ 1 callers
Function
wireApprovalEvents
()
src/mcp_cli/dashboard/static/js/approval.js:30
↓ 1 callers
Function
wireConfigEvents
()
src/mcp_cli/dashboard/static/js/config.js:96
↓ 1 callers
Function
wireSidebarEvents
()
src/mcp_cli/dashboard/static/js/sidebar.js:181
↓ 1 callers
Function
wireToolbarEvents
()
src/mcp_cli/dashboard/static/js/toolbar.js:62
↓ 1 callers
Method
with_tool_calls
Create a message with typed tool calls.
src/mcp_cli/chat/models.py:188
Method
__aenter__
Async context manager entry.
src/mcp_cli/chat/chat_context.py:1015
Method
__aexit__
Async context manager exit.
src/mcp_cli/chat/chat_context.py:1021
Method
__aiter__
(self)
tests/chat/test_streaming_handler.py:715
Method
__aiter__
(self)
tests/dashboard/test_server_extra.py:45
Method
__bool__
(self)
tests/chat/test_tool_processor_extended.py:1911
Function
__getattr__
Lazy import to avoid circular dependencies.
src/mcp_cli/chat/__init__.py:9
Method
__getattr__
Allow accessing param_type as 'type' for backward compatibility.
src/mcp_cli/commands/base.py:46
Method
__init__
(self)
diagnostics/chained_tools_diagnostic.py:55
Method
__init__
(self, verbose: bool = False)
diagnostics/model_manager_diagnostic.py:56
Method
__init__
(self)
diagnostics/deep_timeout_diagnostic.py:39
Method
__init__
(self, console: Optional["Console"] = None)
diagnostics/cli_tools_diagnostic.py:67
Method
__init__
Initialize config loader. Args: config_file: Path to MCP config JSON file servers: List of server names to load
src/mcp_cli/tools/config_loader.py:39
Method
__init__
Initialize with a tool manager. Args: tool_manager: ToolManager instance to query for tools
src/mcp_cli/tools/dynamic_tools.py:69
Method
__init__
(self)
src/mcp_cli/tools/filter.py:67
Method
__init__
( self, config_file: str, servers: list[str], server_names: dict[int, str | No
src/mcp_cli/tools/manager.py:92
Method
__init__
Initialize preference manager. Args: config_dir: Optional custom config directory, defaults to ~/.mcp-cli
src/mcp_cli/utils/preferences.py:191
Method
__init__
Initialize display manager. Args: renderer: Custom renderer, defaults to ChukTermRenderer
src/mcp_cli/display/manager.py:65
Method
__init__
(self)
src/mcp_cli/commands/base.py:173
Method
__init__
Initialize invalid parameter error. Args: message: Error message parameter: Parameter name that is invalid
src/mcp_cli/commands/exceptions.py:26
Method
__init__
Initialize command execution error. Args: message: Error message command: Command name that failed
src/mcp_cli/commands/exceptions.py:44
Method
__init__
Initialize validation error. Args: message: Error message errors: List of validation errors comm
src/mcp_cli/commands/exceptions.py:68
Method
__init__
Initialize the registry.
src/mcp_cli/commands/registry.py:34
Method
__init__
Initialize the execute tool command.
src/mcp_cli/commands/tools/execute_tool.py:33
Method
__init__
(self)
src/mcp_cli/commands/providers/providers.py:28
Method
__init__
(self)
src/mcp_cli/commands/providers/models.py:29
Method
__init__
( self, base_dir: Path | None = None, workspace_dir: str | None = None, max_en
src/mcp_cli/memory/store.py:26
Method
__init__
Initialize resolver with optional model manager. Args: model_manager: ModelManager instance (creates one if not provided
src/mcp_cli/core/model_resolver.py:16
Method
__init__
(self, app_info: AppInfo, tool_manager: ToolManager)
src/mcp_cli/apps/bridge.py:33
Method
__init__
(self, tool_manager: ToolManager)
src/mcp_cli/apps/host.py:58
Method
__init__
Initialize UI manager. Args: context: Chat context containing client, history, etc.
src/mcp_cli/chat/ui_manager.py:43
Method
__init__
( self, sessions_dir: Path | None = None, agent_id: str = DEFAULT_AGENT_ID, )
src/mcp_cli/chat/session_store.py:52
Method
__init__
Create test context with stream_manager.
src/mcp_cli/chat/testing.py:29
Method
__init__
(self)
src/mcp_cli/chat/streaming_handler.py:93
Method
__init__
Initialize handler. Args: display: The unified display manager (required, no fallback) runtime_config: Runtime config
src/mcp_cli/chat/streaming_handler.py:228
Method
__init__
Create chat context with required managers. Args: tool_manager: Tool management interface model_manager: Mod
src/mcp_cli/chat/chat_context.py:52
Method
__init__
(self, context)
src/mcp_cli/chat/command_completer.py:8
Method
__init__
( self, context: ToolProcessorContext, ui_manager: UIManagerProtocol, *,
src/mcp_cli/chat/tool_processor.py:65
Method
__init__
( self, context, ui_manager, runtime_config=None, )
src/mcp_cli/chat/conversation.py:59
Method
__init__
(self)
src/mcp_cli/chat/attachments.py:104
Method
__init__
(self, command_names: list[str])
src/mcp_cli/interactive/shell.py:35
Method
__init__
Initialize planning context. Args: tool_manager: The ToolManager for MCP tool execution and catalog. plans_dir: Direc
src/mcp_cli/planning/context.py:37
Method
__init__
Initialize the plan runner. Args: context: PlanningContext with tool_manager and graph_store. model_manager: ModelMan
src/mcp_cli/planning/executor.py:115
Method
__init__
Initialize the MCP tool backend. Args: tool_manager: The ToolManager instance for MCP tool execution. namespace: Opti
src/mcp_cli/planning/backends.py:49
Method
__init__
Initialize ModelManager with chuk_llm configuration.
src/mcp_cli/model_management/model_manager.py:43
Method
__init__
Initialize the client factory with an empty cache.
src/mcp_cli/model_management/client_factory.py:31
Method
__init__
( self, server: DashboardServer | AgentRouter, agent_id: str = DEFAULT_AGENT_ID )
src/mcp_cli/dashboard/bridge.py:53
Method
__init__
(self)
src/mcp_cli/dashboard/server.py:43
Method
__init__
(self, server: DashboardServer)
src/mcp_cli/dashboard/router.py:70
Method
__init__
(self, agent_id: str = "default")
src/mcp_cli/agents/headless_ui.py:23
Method
__init__
( self, tool_manager: ToolManager, router: AgentRouter, model_manager: Any = N
src/mcp_cli/agents/manager.py:47
← previous
next →
1,301–1,400 of 6,849, ranked by callers