MCPcopy Create free account

hub / github.com/IBM/mcp-cli / functions

Functions6,849 in github.com/IBM/mcp-cli

↓ 3 callersMethodset_active_provider
Set active provider.
src/mcp_cli/utils/preferences.py:477
↓ 3 callersMethodset_confirm_tools
Set tool confirmation mode (legacy compatibility).
src/mcp_cli/utils/preferences.py:258
↓ 3 callersFunctionset_provider_token
Store a provider API key in secure storage. Note: This stores in token storage. Environment variables take precedence and must be set se
src/mcp_cli/auth/provider_tokens.py:160
↓ 3 callersFunctionsetup_silent_mcp_environment
Set up environment variables to silence subprocesses before they start.
src/mcp_cli/config/logging.py:256
↓ 3 callersFunctionshow_batches
Show the computed batch structure.
examples/planning/plan_parallel_demo.py:256
↓ 3 callersFunctionshow_final_streaming_response
Show final streaming response. Args: content: Final content elapsed: Elapsed time interrupted: Whether interrupted
src/mcp_cli/display/renderers.py:85
↓ 3 callersFunctionshow_timing
Visualize execution timing as a timeline.
examples/planning/plan_parallel_demo.py:268
↓ 3 callersMethodto_dict
Convert to dictionary (no API key stored).
src/mcp_cli/utils/preferences.py:130
↓ 3 callersMethodto_dict
Export context for command handlers.
src/mcp_cli/chat/chat_context.py:973
↓ 3 callersMethodto_llm_format
Convert to LLM function calling format (OpenAI/Anthropic compatible).
src/mcp_cli/tools/models.py:179
↓ 3 callersMethodunregister_agent
Unregister a bridge for the given agent_id.
src/mcp_cli/dashboard/router.py:124
↓ 3 callersMethodupdate_agent_status
Update an agent's status and broadcast AGENT_STATUS.
src/mcp_cli/dashboard/router.py:146
↓ 3 callersMethodvalidate_and_print_error
Validate provider and print helpful error message if invalid. Args: provider: Provider name to validate Returns
src/mcp_cli/core/model_resolver.py:93
↓ 3 callersMethodvalidate_provider
Check if a provider is available.
src/mcp_cli/model_management/model_manager.py:401
↓ 3 callersFunctionvalidate_provider_exists
Validate provider exists, potentially after discovery. Args: provider: Provider name to validate Returns: True if provider e
src/mcp_cli/config/discovery.py:197
↓ 3 callersMethodwait_agent
Wait for an agent to finish. Returns status dict.
src/mcp_cli/agents/manager.py:194
↓ 2 callersMethod__init__
(self, tool_manager=None)
tests/chat/test_tool_processor_extended.py:233
↓ 2 callersMethod_adapt_tools_for_provider
Adapt tools for current provider.
src/mcp_cli/chat/chat_context.py:618
↓ 2 callersMethod_analyze_results
Analyze execution traces and generate recommendations.
diagnostics/cli_tools_diagnostic.py:325
↓ 2 callersFunction_audio_blocks_from_b64
Build audio content blocks from base64-encoded data.
src/mcp_cli/chat/attachments.py:208
↓ 2 callersMethod_build_tool_index
Build the O(1) tool lookup index from all tools. Index keys: - tool.name → tool (prefers non-default namespaces) - tool.fully
src/mcp_cli/tools/manager.py:492
↓ 2 callersMethod_build_tool_registry
Build tool registry payload from ChatContext's tool_manager.
src/mcp_cli/dashboard/bridge.py:727
↓ 2 callersMethod_clear_current_display_async
Clear the current status display without resetting state (async version). This is used when transitioning between display modes (e.g., stream
src/mcp_cli/display/manager.py:529
↓ 2 callersMethod_content_block_to_descriptor
Convert a raw content block dict into a dashboard-safe descriptor. Used during conversation history replay when we have raw content b
src/mcp_cli/dashboard/bridge.py:879
↓ 2 callersMethod_enforce_memory_limits
Trim procedural memory patterns to stay within configured limits.
src/mcp_cli/chat/chat_context.py:840
↓ 2 callersFunction_enter_chat_mode
Kick off the full-screen chat UI (banner printed by the handler).
src/mcp_cli/run_command.py:257
↓ 2 callersMethod_execute_step
Execute a single plan step using the LLM for tool call generation. When a model_manager is available, the LLM generates the tool call
src/mcp_cli/planning/executor.py:339
↓ 2 callersMethod_execute_step_static
Execute a step using the plan's static arguments (no LLM).
src/mcp_cli/planning/executor.py:390
↓ 2 callersMethod_execute_step_with_llm
Execute a step via a full agentic loop. The LLM drives the entire step execution: 1. Sees the step description, tool schemas, and var
src/mcp_cli/planning/executor.py:448
↓ 2 callersMethod_finish_display
Finish the live display and prepare for normal output. This clears the current display and resets state so that subsequent output app
src/mcp_cli/display/manager.py:579
↓ 2 callersMethod_fix_array_schemas_recursive
Recursively fix array schemas in place.
src/mcp_cli/tools/validation.py:140
↓ 2 callersFunction_generate_plan
Generate a plan dict from a goal description using PlanAgent.
src/mcp_cli/planning/tools.py:249
↓ 2 callersMethod_generate_session_id
Generate a unique session ID.
src/mcp_cli/chat/chat_context.py:160
↓ 2 callersMethod_generate_text_report
Generate a plain text report.
diagnostics/cli_tools_diagnostic.py:520
↓ 2 callersFunction_image_blocks_from_b64
Build image content blocks from base64-encoded data.
src/mcp_cli/chat/attachments.py:195
↓ 2 callersMethod_inject_internal_tools
Inject internal (non-MCP) tools into the tool list. Idempotent — checks for existing tool names before adding. Called both from _load
src/mcp_cli/chat/conversation.py:837
↓ 2 callersFunction_layouts_path
()
src/mcp_cli/dashboard/config.py:120
↓ 2 callersMethod_make_ctx_with_history
(self, messages)
tests/dashboard/test_bridge_extended.py:614
↓ 2 callersMethod_make_ctx_with_history
(self, messages)
tests/dashboard/test_bridge_extended.py:667
↓ 2 callersFunction_make_entry
(pid: str, tier: StorageTier)
tests/commands/memory/test_memory_command.py:103
↓ 2 callersFunction_make_pref_manager
Create a mock PreferenceManager.
tests/cli/test_main_coverage.py:76
↓ 2 callersFunction_make_tools
Create a set of test tools.
tests/tools/test_tool_index.py:16
↓ 2 callersFunction_make_tracker
( turn_count: int = 3, total_input: int = 100, total_output: int = 200 )
tests/commands/export/test_export_command.py:38
↓ 2 callersMethod_persistent_list
List persistent memories.
src/mcp_cli/commands/memory/memory.py:402
↓ 2 callersFunction_record_result
Record tool execution result in the guard system. Binds the result as a $vN value and increments budget counters.
src/mcp_cli/planning/backends.py:216
↓ 2 callersMethod_render_tool_status
Render current tool execution status with argument preview.
src/mcp_cli/display/manager.py:702
↓ 2 callersMethod_resolve_bundled_config
Try to find the bundled package config as a fallback.
src/mcp_cli/tools/config_loader.py:62
↓ 2 callersFunction_resolve_path
Resolve a dotted variable path like 'api.endpoint.port'.
src/mcp_cli/planning/executor.py:939
↓ 2 callersFunction_run_plan
Execute a plan and return JSON results.
src/mcp_cli/planning/tools.py:277
↓ 2 callersMethod_scope_path
Return the file path for a scope.
src/mcp_cli/memory/store.py:165
↓ 2 callersMethod_send_agent_list
Send AGENT_LIST to a specific client.
src/mcp_cli/dashboard/router.py:192
↓ 2 callersMethod_setup_empty_toolset
Setup empty toolset when no servers configured.
src/mcp_cli/tools/manager.py:356
↓ 2 callersMethod_show_tools_table
Show tools in a table format.
src/mcp_cli/commands/tools/tools.py:277
↓ 2 callersFunction_start_chat
()
src/mcp_cli/main.py:385
↓ 2 callersFunction_text_blocks_from_string
Build text content blocks from a string.
src/mcp_cli/chat/attachments.py:214
↓ 2 callersMethod_trigger_refresh
Trigger an immediate refresh (for new content).
src/mcp_cli/display/manager.py:391
↓ 2 callersFunction_write_layouts
(layouts: list[dict[str, Any]])
src/mcp_cli/dashboard/config.py:158
↓ 2 callersMethodadd_assistant_message
Add assistant message to conversation.
src/mcp_cli/chat/chat_context.py:685
↓ 2 callersMethodadd_context_notice
Queue a context management notice for the next API call.
src/mcp_cli/chat/chat_context.py:828
↓ 2 callersMethodadd_context_notice
(self, msg: str)
tests/chat/test_tool_processor.py:1796
↓ 2 callersMethodadd_context_notice
(self, notice)
examples/safety/tier2_efficiency_demo.py:185
↓ 2 callersMethodadd_system_message
Add a system message to conversation history.
src/mcp_cli/context/context_manager.py:229
↓ 2 callersMethodadd_tool_pattern
Add a pattern-based rule for tool confirmations. Args: pattern: Glob pattern for tool names action: 'always', 'never'
src/mcp_cli/utils/preferences.py:429
↓ 2 callersMethodapply_tool_timeout_to_all
Apply single timeout to all relevant types.
src/mcp_cli/config/models.py:224
↓ 2 callersFunctionbuildSidebarSections
()
src/mcp_cli/dashboard/static/js/sidebar.js:55
↓ 2 callersMethodcancel_running_tasks
Cancel running tool execution.
src/mcp_cli/chat/tool_processor.py:439
↓ 2 callersMethodcheck_server_health
Check health of one or all servers. Returns a dict with per-server status: {"server_name": {"status": "healthy"|"unhealthy"|"timeou
src/mcp_cli/tools/manager.py:864
↓ 2 callersMethodclear_conversation
Clear the conversation history.
src/mcp_cli/context/context_manager.py:243
↓ 2 callersMethodclear_disabled_servers
Clear all disabled server preferences.
src/mcp_cli/utils/preferences.py:561
↓ 2 callersMethodclear_validation_disabled
Clear all validation-disabled tools (for re-validation).
src/mcp_cli/tools/filter.py:117
↓ 2 callersFunctioncloseSidebar
()
src/mcp_cli/dashboard/static/js/sidebar.js:161
↓ 2 callersMethodcommand
Create a HelpCommand instance.
tests/commands/definitions/test_help_command.py:13
↓ 2 callersFunctionconfigure_mcp_server_logging
Configure logging for chuk framework components. Args: suppress: If True, suppress INFO/DEBUG logs. If False, allow all.
src/mcp_cli/config/logging.py:231
↓ 2 callersMethodconfigure_provider
Configure a provider with API settings. Args: provider: Provider name api_key: API key (optional)
src/mcp_cli/core/model_resolver.py:150
↓ 2 callersMethodconfirm_tool_execution
Prompt user to confirm tool execution. Args: tool_name: Name of tool to execute arguments: Tool arguments Re
src/mcp_cli/chat/ui_manager.py:366
↓ 2 callersFunctionconsumer
()
tests/tools/test_execution.py:739
↓ 2 callersFunctionconvert_messages_to_models
Convert list of message dicts to Message models. Uses chuk_llm's Message.model_validate for proper Pydantic parsing. Args: messages:
src/mcp_cli/chat/response_models.py:135
↓ 2 callersFunctioncreatePanelSlot
(viewId, rowEl)
src/mcp_cli/dashboard/static/js/layout.js:80
↓ 2 callersMethodcreate_prompt_session
Create a prompt session with transparent autocomplete.
examples/commands/slash_commands_demo.py:159
↓ 2 callersFunctioncreate_tools_table
Create a chuk-term table for tools (does not print it).
src/mcp_cli/display/formatting.py:37
↓ 2 callersMethodcreate_typer_app
Create a new Typer app with all commands registered. Returns: Configured Typer application.
src/mcp_cli/adapters/cli.py:146
↓ 2 callersMethodenable_server
Enable a server in preferences.
src/mcp_cli/utils/preferences.py:549
↓ 2 callersMethodexecute
Execute the tool command.
src/mcp_cli/commands/tools/execute_tool.py:116
↓ 2 callersMethodexecute
Execute the help command.
src/mcp_cli/commands/core/help.py:66
↓ 2 callersFunctionexecute_single
Execute a single tool call with semaphore control.
src/mcp_cli/tools/execution.py:66
↓ 2 callersMethodfind_server_by_name
Find a server by its name.
src/mcp_cli/chat/chat_context.py:611
↓ 2 callersMethodfinish_tool_calls
Clean up after all tool calls complete.
src/mcp_cli/chat/models.py:377
↓ 2 callersMethodfinish_tool_execution
(self, result=None, success=True)
tests/chat/test_tool_processor.py:54
↓ 2 callersFunctionforce_discovery_refresh
Force a fresh discovery (useful for debugging). Returns: Number of new functions discovered
src/mcp_cli/config/discovery.py:226
↓ 2 callersMethodfrom_dict
Create from dictionary.
src/mcp_cli/utils/preferences.py:135
↓ 2 callersMethodfrom_dict
Create from dictionary format with environment variable handling. Uses ServerConfigInput Pydantic model for validation instead of manual .get
src/mcp_cli/config/config_manager.py:66
↓ 2 callersMethodfrom_raw
Convert a raw list item (dict | str | int | …) into a ResourceInfo. If *raw* is not a mapping we treat it as an opaque scalar and st
src/mcp_cli/tools/models.py:463
↓ 2 callersMethodfrom_tuple
Create from legacy tuple format.
src/mcp_cli/tools/models.py:417
↓ 2 callersMethodget_all_tool_confirmations
Get all per-tool confirmation settings.
src/mcp_cli/utils/preferences.py:310
↓ 2 callersMethodget_all_tools
(self)
examples/planning/plan_llm_demo.py:96
↓ 2 callersMethodget_artifact
Retrieve an artifact by ID, or None.
src/mcp_cli/agents/manager.py:269
↓ 2 callersMethodget_bridge
Get the bridge for a running app by tool name.
src/mcp_cli/apps/host.py:212
↓ 2 callersMethodget_command_help
Get detailed help for a specific command. Args: command_name: Name of the command. Returns: Detaile
src/mcp_cli/adapters/interactive.py:279
↓ 2 callersMethodget_completions
Get completions for slash commands.
examples/commands/slash_commands_demo.py:95
↓ 2 callersFunctionget_config_summary
Get a summary of the configuration for debugging.
src/mcp_cli/config/cli_options.py:216
← previousnext →701–800 of 6,849, ranked by callers