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
Method
test_health_polling_started_and_stopped_during_process_conversation
process_conversation starts health polling at entry and stops it in finally.
tests/chat/test_conversation.py:2262
Function
test_help_alias_lookup
Test help works with command alias.
tests/commands/definitions/test_help_command_extended.py:157
Function
test_help_all_commands
Test showing all commands in default (CHAT) mode.
tests/commands/definitions/test_help_command_extended.py:137
Function
test_help_chat_mode
Test help in chat mode.
tests/commands/definitions/test_help_command_extended.py:126
Function
test_help_command_from_args
Test getting command name from args.
tests/commands/definitions/test_help_command_extended.py:96
Function
test_help_command_from_args_list
Test getting command name from args as list.
tests/commands/definitions/test_help_command_extended.py:106
Function
test_help_command_mode_filtering
Test that mode filtering works correctly.
tests/commands/definitions/test_help_command_extended.py:192
Function
test_help_command_not_found
Test help for non-existent command.
tests/commands/definitions/test_help_command_extended.py:87
Function
test_help_command_with_aliases
Test help shows command aliases.
tests/commands/definitions/test_help_command_extended.py:148
Function
test_help_empty_registry
Test help with no commands registered.
tests/commands/definitions/test_help_command_extended.py:178
Function
test_help_format_output
Test help output formatting.
tests/commands/definitions/test_help_command_extended.py:166
Function
test_help_interactive_mode
Test help in interactive mode.
tests/commands/definitions/test_help_command_extended.py:115
Function
test_help_specific_command
Test help for a specific command.
tests/commands/definitions/test_help_command_extended.py:77
Method
test_help_text
(self, cmd)
tests/commands/sessions/test_sessions_command.py:89
Method
test_help_text
Test help text generation.
tests/commands/definitions/test_execute_tool_command.py:76
Method
test_help_text
Test the help_text property (covers line 33).
tests/commands/definitions/test_clear_command_extended.py:16
Method
test_help_text
(self)
tests/commands/memory/test_memory_command.py:205
Method
test_help_text
(self)
tests/commands/core/test_confirm.py:52
Method
test_help_text
(self, cmd)
tests/commands/plan/test_plan_command.py:94
Method
test_help_text
(self, cmd)
tests/commands/servers/test_health_command.py:68
Method
test_help_text
(self, cmd)
tests/commands/usage/test_usage_command.py:60
Method
test_help_text
(self, cmd)
tests/commands/attach/test_attach_command.py:52
Method
test_help_text
(self, cmd)
tests/commands/export/test_export_command.py:91
Method
test_help_text_contains_usage
(self, cmd)
tests/commands/apps/test_apps_command.py:100
Method
test_help_text_content
Test that help text contains expected information.
tests/commands/definitions/test_token_command.py:198
Method
test_help_text_content
Test that help text contains expected information.
tests/commands/definitions/test_themes_plural_command.py:62
Method
test_help_text_content
Test that help text contains expected information.
tests/commands/definitions/test_verbose_command.py:152
Method
test_help_text_property
Test that help_text property returns the correct text.
tests/commands/definitions/test_help_coverage.py:101
Method
test_help_text_property
Test that help_text property returns the correct text.
tests/commands/definitions/test_tools_coverage.py:16
Function
test_help_with_command_group_subcommands
Test help with command groups showing subcommands.
tests/commands/definitions/test_help_command_extended.py:215
Function
test_help_with_commands_with_aliases
Test help showing commands with aliases column.
tests/commands/definitions/test_help_command_extended.py:250
Function
test_help_with_context
Test help command with context parameter.
tests/commands/definitions/test_help_command_extended.py:203
Method
test_hidden_command_skipped_in_menu
A command with hidden=True returned by list_commands is skipped.
tests/adapters/test_chat_adapter.py:845
Method
test_hidden_commands_excluded
Hidden commands are not shown in the menu.
tests/adapters/test_chat_adapter.py:573
Method
test_highlight_color_applied
Test highlight color is applied to current completion.
tests/display/test_color_converter.py:146
Method
test_history_and_logs
Test history file and logs directory paths.
tests/utils/test_preferences.py:635
Method
test_hoists_structured_content_from_text_block
Per MCP spec: servers include structuredContent as JSON in text blocks.
tests/apps/test_bridge.py:440
Method
test_html_attributes_escaped
(self)
tests/apps/test_security.py:22
Method
test_html_markup
Test HTML detection.
tests/display/test_models.py:345
Method
test_http_config_disabled
Test HTTP config disabled flag.
tests/config/test_config_server_models.py:47
Method
test_http_config_immutable
Test HTTP config is immutable.
tests/config/test_config_server_models.py:65
Method
test_http_config_invalid_url
Test HTTP config with invalid URL.
tests/config/test_config_server_models.py:56
Method
test_http_config_with_headers
Test HTTP config with headers.
tests/config/test_config_server_models.py:38
Method
test_http_config_with_https
Test HTTP config with HTTPS URL.
tests/config/test_config_server_models.py:30
Method
test_http_scheme
(self, manager)
tests/utils/test_trusted_domains.py:64
Method
test_http_server_config
Test creating HTTP server via UnifiedServerConfig.
tests/config/test_config_server_models.py:172
Method
test_ignores_non_numeric_strings
Test ignores non-numeric strings (line 157).
tests/chat/guards/test_ungrounded.py:185
Method
test_image
(self)
tests/chat/test_attachments.py:408
Method
test_image
(self)
tests/chat/test_attachments.py:492
Method
test_image_data_uri_returns_blocks
(self)
tests/chat/test_tool_processor.py:799
Method
test_image_file
(self, tmp_path)
tests/chat/test_attachments.py:198
Method
test_image_url_returns_blocks
(self)
tests/chat/test_tool_processor.py:772
Method
test_image_url_truncated_flag
(self)
tests/chat/test_tool_processor.py:787
Method
test_image_without_url_prefix_returns_json
An image with non-URL content should NOT return multi-block.
tests/chat/test_tool_processor.py:882
Method
test_immutable
Test TimeoutConfig is immutable.
tests/config/test_config_models.py:58
Method
test_import_error_is_caught_with_warning
ImportError from app_host raises warning.
tests/chat/test_tool_processor.py:1362
Method
test_importable_from_package
(self)
tests/agents/test_config.py:75
Method
test_incomplete_quotes_fallback_to_split
Incomplete quotes cause shlex.split to fail; text.split() is used instead.
tests/adapters/test_interactive_adapter_extended.py:280
Method
test_incomplete_quotes_with_matching_prefix
Unmatched quote still allows prefix matching via fallback.
tests/adapters/test_interactive_adapter_extended.py:292
Method
test_increment_discovery_call
Test increment_discovery_call.
tests/chat/state/test_manager.py:348
Method
test_increment_discovery_call_no_guard
Test increment_discovery_call when guard is None.
tests/chat/state/test_manager.py:355
Method
test_increment_execution_call
Test increment_execution_call.
tests/chat/state/test_manager.py:361
Method
test_increment_execution_call_no_guard
Test increment_execution_call when guard is None.
tests/chat/state/test_manager.py:368
Method
test_increment_tool_call
Test increment_tool_call.
tests/chat/state/test_manager.py:560
Method
test_increment_tool_call_no_guard
Test increment_tool_call when guard is None.
tests/chat/state/test_manager.py:566
Method
test_increments_when_port_in_use
(self)
tests/dashboard/test_server.py:269
Function
test_index_built_lazily
Index is None until first lookup, then built.
tests/tools/test_tool_index.py:40
Function
test_index_invalidated_on_disable
disable_tool() invalidates the index.
tests/tools/test_tool_index.py:89
Function
test_index_invalidated_on_enable
enable_tool() invalidates the index.
tests/tools/test_tool_index.py:99
Function
test_index_rebuilt_after_invalidation
After invalidation, next lookup rebuilds the index.
tests/tools/test_tool_index.py:109
Function
test_index_uses_single_call
Multiple lookups use the cached index (only one get_all_tools call).
tests/tools/test_tool_index.py:121
Method
test_infinite_context_passed_to_session
infinite_context=True is passed to SessionManager.
tests/chat/test_chat_context.py:993
Method
test_init
Test basic initialization.
tests/chat/test_conversation.py:67
Method
test_init
(self)
tests/chat/test_streaming_handler.py:375
Method
test_init
(self)
tests/agents/test_manager.py:92
Method
test_init_calls_initialization_methods
Test that __init__ calls initialization methods.
tests/model_management/test_model_manager.py:24
Method
test_init_creates_empty_cache
Test that initialization creates an empty client cache.
tests/model_management/test_client_factory.py:20
Method
test_init_fail_with_no_servers_continues
When init fails AND servers is empty, we log and continue.
tests/cli/test_run_command_extended.py:146
Method
test_init_fail_with_servers_raises
When init fails AND servers is non-empty, RuntimeError is raised.
tests/cli/test_run_command_extended.py:157
Method
test_init_fails
Returns False when test context initialization fails.
tests/chat/test_chat_handler_coverage.py:360
Method
test_init_loads_default_runtime_config
When no runtime_config, loads default.
tests/chat/test_streaming_handler.py:388
Method
test_init_sets_attributes
(self)
tests/chat/test_tool_processor_extended.py:266
Method
test_init_uses_model_manager_properties
The debug log line accesses self.provider / self.model.
tests/chat/test_testing.py:103
Method
test_init_with_custom_init_timeout
Test ToolManager with custom initialization timeout.
tests/tools/test_tool_manager.py:215
Method
test_init_with_custom_timeout
Test ToolManager with custom tool timeout.
tests/tools/test_tool_manager.py:210
Method
test_init_with_defaults
Test ToolManager with default parameters.
tests/tools/test_tool_manager.py:202
Method
test_init_with_runtime_config
Test initialization with runtime config.
tests/chat/test_conversation.py:80
Method
test_init_with_runtime_config
(self)
tests/chat/test_streaming_handler.py:381
Method
test_initial_state
Test initial state creation.
tests/display/test_models.py:110
Method
test_initial_state
Test initial manager state.
tests/display/test_manager.py:20
Method
test_initial_tool_result_deferred_until_initialized
Initial tool result should not be sent immediately but after app initialized.
tests/apps/test_bridge.py:386
Method
test_initial_tool_result_not_sent_twice
Ensure deferred tool result is only sent once even on re-init.
tests/apps/test_bridge.py:415
Method
test_initialization
Test preference manager initialization.
tests/utils/test_preferences.py:104
Method
test_initialize_and_get_context
(self)
tests/context/test_context_manager.py:423
Function
test_initialize_chat_context
(chat_context)
tests/chat/test_chat_context.py:140
Method
test_initialize_chuk_llm_failure
Test chuk_llm initialization failure falls back gracefully.
tests/model_management/test_model_manager.py:44
Method
test_initialize_chuk_llm_success
Test successful chuk_llm initialization.
tests/model_management/test_model_manager.py:33
Method
test_initialize_client_raises_logs_warning
When client raises, initialize still returns True but logs a warning.
tests/chat/test_chat_context.py:1772
Method
test_initialize_config_default_path
Test initialize_config with default path.
tests/config/test_config_manager.py:431
Function
test_initialize_config_file_not_found
Test configuration initialization with non-existent file.
tests/utils/test_config.py:73
← previous
next →
4,401–4,500 of 6,849, ranked by callers