MCPcopy Create free account

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

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

↓ 1 callersFunction_tokens_wrapper
()
src/mcp_cli/main.py:1547
↓ 1 callersFunction_unhealthy_no_error
(name: str = "srv")
tests/commands/servers/test_health_command.py:39
↓ 1 callersMethod_update_content_type
Detect and update content type based on accumulated content.
src/mcp_cli/display/models.py:271
↓ 1 callersFunction_validate_step
Validate a plan step against available tools.
src/mcp_cli/commands/plan/plan.py:455
↓ 1 callersMethodaclose
(self)
tests/chat/test_streaming_handler.py:725
↓ 1 callersFunctionaddPanelWithView
(viewId)
src/mcp_cli/dashboard/static/js/layout.js:472
↓ 1 callersMethodadd_context_notice
Queue a context management notice for the next API call.
src/mcp_cli/chat/testing.py:121
↓ 1 callersFunctionadd_playwright_server
Add the Playwright MCP server to configuration.
examples/tools/playwright_server_with_tool_execution.py:29
↓ 1 callersMethodadd_server
Add or update a server configuration.
src/mcp_cli/config/config_manager.py:307
↓ 1 callersFunctionanalyze_real_servers
Connect to and analyze real MCP servers.
diagnostics/mcp_server_diagnostic.py:229
↓ 1 callersFunctionanalyze_single_server
Analyze a single MCP server in detail.
diagnostics/mcp_server_diagnostic.py:366
↓ 1 callersFunctionapplyPreset
(name)
src/mcp_cli/dashboard/static/js/layout.js:423
↓ 1 callersFunctionasync_main
()
examples/tools/tool_round_trip.py:148
↓ 1 callersFunctionattachViewToSlot
(viewId)
src/mcp_cli/dashboard/static/js/views.js:108
↓ 1 callersFunctionbuildLayoutMenu
()
src/mcp_cli/dashboard/static/js/layout.js:407
↓ 1 callersFunctionbuildThemeSelect
()
src/mcp_cli/dashboard/static/js/theme.js:67
↓ 1 callersFunctionbuild_conversation_tools
Build the full tool list the LLM sees: regular tools + plan tools.
examples/planning/plan_as_tool_demo.py:182
↓ 1 callersFunctionbuild_system_prompt
Build the system prompt that tells the LLM what tools are available.
examples/planning/plan_llm_demo.py:109
↓ 1 callersMethodchange_theme
Change the UI theme.
examples/commands/slash_commands_demo.py:291
↓ 1 callersFunctioncheck_api_keys
Check what API keys are configured.
diagnostics/debug_models.py:46
↓ 1 callersFunctioncheck_available_mcp_servers
Check which common MCP servers are available on the system.
diagnostics/mcp_server_diagnostic.py:155
↓ 1 callersFunctioncheck_chuk_llm_version
Check which version of chuk-llm is installed.
diagnostics/debug_models.py:8
↓ 1 callersFunctioncheck_config_file
Check if config file exists and is valid.
diagnostics/cli_command_diagnostic.py:37
↓ 1 callersFunctioncheck_configuration_files
Check what configuration files exist.
diagnostics/debug_models.py:70
↓ 1 callersFunctioncheck_developer_message
Quick sanity check on the developer message structure.
examples/safety/vm_relaxed_mode_demo.py:490
↓ 1 callersFunctioncheck_environment_variables
Check relevant environment variables.
diagnostics/mcp_cli_diagnostics.py:171
↓ 1 callersFunctioncheck_environment_variables
Check for timeout-related environment variables.
diagnostics/timeout_investigation.py:45
↓ 1 callersFunctioncheck_mcp_cli_installation
Check MCP CLI installation.
diagnostics/mcp_cli_diagnostics.py:44
↓ 1 callersFunctioncheck_mcp_environment
Check if MCP environment is properly set up.
diagnostics/mcp_server_diagnostic.py:18
↓ 1 callersFunctioncheck_python_packages
Check required Python packages.
diagnostics/mcp_cli_diagnostics.py:14
↓ 1 callersFunctioncheck_server_configs
Check server configuration files.
diagnostics/mcp_cli_diagnostics.py:85
↓ 1 callersFunctioncheck_tools
Combine VM tools with distractor tools, verify shape.
examples/safety/vm_relaxed_mode_demo.py:505
↓ 1 callersMethodcleanup
(self)
src/mcp_cli/agents/headless_ui.py:87
↓ 1 callersMethodclear_tool_confirmations
Clear all per-tool confirmation settings.
src/mcp_cli/utils/preferences.py:314
↓ 1 callersMethodclear_validation_disabled_tools
Clear all validation-disabled tools.
src/mcp_cli/tools/manager.py:1087
↓ 1 callersFunctionclosePanel
(panelId)
src/mcp_cli/dashboard/static/js/layout.js:160
↓ 1 callersFunctioncollectConversationMessages
()
src/mcp_cli/dashboard/static/js/export.js:38
↓ 1 callersFunctioncollect_with_cancel
()
tests/tools/test_execution.py:429
↓ 1 callersFunctioncomplete_conversation_demo
Show complete multi-round conversation exactly like real MCP-CLI.
examples/streaming/mcp_streaming_showcase.py:29
↓ 1 callersFunctionconnectWS
()
src/mcp_cli/dashboard/static/js/websocket.js:22
↓ 1 callersFunctionconnect_to_playwright
Initialize tool manager and connect to Playwright server.
examples/tools/playwright_server_with_tool_execution.py:53
↓ 1 callersFunctionconvert_messages_to_dicts
Convert list of Message models to dicts. Uses chuk_llm's Message.to_dict() for proper serialization. Args: messages: List of Message
src/mcp_cli/chat/response_models.py:152
↓ 1 callersMethodcreate
Factory method to create a context with common defaults.
src/mcp_cli/context/context_manager.py:80
↓ 1 callersFunctioncreate_mock_tools
Create some mock tools for demonstration.
examples/tools/demo_tool_execution.py:26
↓ 1 callersFunctioncreate_runtime_patch
Create a runtime patch to override the timeout.
diagnostics/timeout_investigation.py:138
↓ 1 callersFunctioncreate_servers_table
Create a chuk-term table for servers (does not print it).
src/mcp_cli/display/formatting.py:64
↓ 1 callersFunctioncreate_test_environment
Create a minimal test environment.
diagnostics/mcp_cli_diagnostics.py:197
↓ 1 callersFunctiondebug_model_key_structure
Debug exactly what keys chuk-llm 0.7 uses for models.
diagnostics/debug_models.py:212
↓ 1 callersMethoddebug_report
Generate debug report showing all resolved values and sources.
src/mcp_cli/config/runtime.py:233
↓ 1 callersFunctiondefaultLayout
()
src/mcp_cli/dashboard/static/js/layout.js:35
↓ 1 callersFunctiondemo_10_full_vm_lifecycle
End-to-end: create pages, force eviction, fault back with content blocks.
examples/safety/health_vm_multimodal_demo.py:784
↓ 1 callersFunctiondemo_1_health_check_on_failure
ToolManager._diagnose_server() detects unhealthy servers.
examples/safety/health_vm_multimodal_demo.py:84
↓ 1 callersFunctiondemo_2_health_polling_lifecycle
Background polling starts, detects transitions, and stops cleanly.
examples/safety/health_vm_multimodal_demo.py:147
↓ 1 callersFunctiondemo_3_health_command
HealthCommand formats results correctly.
examples/safety/health_vm_multimodal_demo.py:238
↓ 1 callersFunctiondemo_4_multimodal_page_fault
Image pages produce multi-block content (text + image_url).
examples/safety/health_vm_multimodal_demo.py:287
↓ 1 callersFunctiondemo_5_text_page_fault
Text pages produce JSON string with modality and compression metadata.
examples/safety/health_vm_multimodal_demo.py:363
↓ 1 callersFunctiondemo_6_structured_page_fault
Structured/JSON pages preserve dict content.
examples/safety/health_vm_multimodal_demo.py:457
↓ 1 callersFunctiondemo_7_search_pages
search_pages returns ranked results with page IDs and hints.
examples/safety/health_vm_multimodal_demo.py:506
↓ 1 callersFunctiondemo_8_memory_download
/memory page --download exports page content to files.
examples/safety/health_vm_multimodal_demo.py:598
↓ 1 callersFunctiondemo_9_multiblock_history
Multi-block content flows through _add_tool_result_to_history.
examples/safety/health_vm_multimodal_demo.py:714
↓ 1 callersFunctiondemo_accumulator
Demo the tool call accumulator to see how args are merged.
examples/tools/tool_args_flow_demo.py:21
↓ 1 callersFunctiondemo_argument_parsing
Demo how arguments are parsed in tool_processor.
examples/tools/tool_args_flow_demo.py:206
↓ 1 callersFunctiondemo_batch_timeout
2.5 — Batch timeout prevents one hung tool from blocking everything.
examples/safety/tier2_efficiency_demo.py:93
↓ 1 callersFunctiondemo_budget_enforcement
1 — TokenBudget syncs from WorkingSetConfig on construction.
examples/safety/vm_memory_management_demo.py:28
↓ 1 callersFunctiondemo_complete_then_partial
Demo what happens when model sends complete JSON then partial update.
examples/tools/tool_args_flow_demo.py:72
↓ 1 callersFunctiondemo_connection_error_detection
2.4 — Connection error classification in ToolManager.
examples/safety/tier2_efficiency_demo.py:142
↓ 1 callersFunctiondemo_context_building
5 — VM context building produces developer_message with L0 pages.
examples/safety/vm_memory_management_demo.py:267
↓ 1 callersFunctiondemo_context_notices
2.8 — LLM-visible context management notices.
examples/safety/tier2_efficiency_demo.py:171
↓ 1 callersFunctiondemo_defaults_overview
Show all Tier 2 defaults from config/defaults.py.
examples/safety/tier2_efficiency_demo.py:299
↓ 1 callersFunctiondemo_different_ids
Demo that different IDs create separate tool calls.
examples/tools/tool_args_flow_demo.py:121
↓ 1 callersFunctiondemo_event_filtering
6 — _vm_filter_events keeps recent turns within budget.
examples/safety/vm_memory_management_demo.py:337
↓ 1 callersFunctiondemo_eviction_under_pressure
3 — MemoryManager evicts pages when budget is exceeded.
examples/safety/vm_memory_management_demo.py:112
↓ 1 callersFunctiondemo_first_chunk_timeout
Adaptive first-chunk timeout for thinking models after tool calls.
examples/safety/tier2_efficiency_demo.py:262
↓ 1 callersFunctiondemo_full_integration
7 — Full integration: ChatContext with VM produces filtered history.
examples/safety/vm_memory_management_demo.py:410
↓ 1 callersFunctiondemo_infinite_context_config
1.4 — Infinite context mode configuration.
examples/safety/tier1_context_safety_demo.py:150
↓ 1 callersFunctiondemo_interactive_commands
Demonstrate interactive mode command capabilities.
examples/commands/demo_interactive_mode.py:25
↓ 1 callersFunctiondemo_json_merge
Demo JSON string merging behavior.
examples/tools/tool_args_flow_demo.py:172
↓ 1 callersFunctiondemo_memory_limits
2.2 — Procedural memory pattern limits enforced.
examples/safety/tier2_efficiency_demo.py:244
↓ 1 callersFunctiondemo_model_sends_garbage
Demo proving the model sends garbage x values.
examples/tools/tool_args_flow_demo.py:307
↓ 1 callersFunctiondemo_narrower_exceptions
2.6 — Specific exception handlers replace broad 'except Exception'.
examples/safety/tier2_efficiency_demo.py:123
↓ 1 callersFunctiondemo_page_lifecycle
2 — Pages are created, admitted to L0, and fill the budget.
examples/safety/vm_memory_management_demo.py:60
↓ 1 callersFunctiondemo_precondition_gate
Demo the precondition gate that blocks premature tool calls.
examples/tools/tool_args_flow_demo.py:243
↓ 1 callersFunctiondemo_provider_validation
2.7 — Provider validation at startup.
examples/safety/tier2_efficiency_demo.py:225
↓ 1 callersFunctiondemo_reasoning_stripping
1.2 — Strip old reasoning content before API calls.
examples/safety/tier1_context_safety_demo.py:62
↓ 1 callersFunctiondemo_single_source_tool_history
2.1 — Tool history reads from procedural memory, not redundant list.
examples/safety/tier2_efficiency_demo.py:29
↓ 1 callersFunctiondemo_sliding_window
1.3 — Conversation history sliding window.
examples/safety/tier1_context_safety_demo.py:110
↓ 1 callersFunctiondemo_streaming_buffer_caps
1.5 — Streaming buffer caps prevent OOM from huge responses.
examples/safety/tier1_context_safety_demo.py:193
↓ 1 callersFunctiondemo_streaming_handler
Demonstrate the streaming handler as it works in MCP-CLI.
examples/streaming/mcp_cli_working_demo.py:21
↓ 1 callersFunctiondemo_system_prompt_optimization
2.3 — System prompt caching + tool summary for large server sets.
examples/safety/tier2_efficiency_demo.py:44
↓ 1 callersFunctiondemo_tool_execution
Demonstrate tool execution in interactive mode.
examples/tools/demo_tool_execution.py:90
↓ 1 callersFunctiondemo_tool_result_truncation
1.1 — Truncate large tool results before they enter conversation history.
examples/safety/tier1_context_safety_demo.py:26
↓ 1 callersFunctiondemo_turn_tracking
4 — Turn counter increments for recency-based eviction.
examples/safety/vm_memory_management_demo.py:238
↓ 1 callersMethoddiagnose_actual_execution_layer
Layer 6: Actual tool execution with instrumentation
diagnostics/deep_timeout_diagnostic.py:210
↓ 1 callersMethoddiagnose_chained_scenario
Diagnose the exact chained tool call scenario from the CLI. This reproduces what happens when user asks: "select top 10 products fro
diagnostics/chained_tools_diagnostic.py:72
↓ 1 callersMethoddiagnose_config_layer
Layer 1: Check server_config.json
diagnostics/deep_timeout_diagnostic.py:80
↓ 1 callersMethoddiagnose_http_transport_layer
Layer 3: HTTP Transport Configuration
diagnostics/deep_timeout_diagnostic.py:137
↓ 1 callersMethoddiagnose_retry_wrappers
Layer 7: Check for retry wrappers in the execution chain
diagnostics/deep_timeout_diagnostic.py:332
↓ 1 callersMethoddiagnose_stream_manager_layer
Layer 5: StreamManager
diagnostics/deep_timeout_diagnostic.py:183
↓ 1 callersMethoddiagnose_tool_manager
Comprehensive diagnosis of ToolManager and tool execution. Args: config_file: Path to MCP server configuration
diagnostics/cli_tools_diagnostic.py:115
↓ 1 callersMethoddiagnose_tool_manager_layer
Layer 2: ToolManager initialization
diagnostics/deep_timeout_diagnostic.py:108
← previousnext →1,001–1,100 of 6,849, ranked by callers