MCPcopy Create free account

hub / github.com/ZihaoFU245/lmstudio-toolpack / functions

Functions68 in github.com/ZihaoFU245/lmstudio-toolpack

↓ 9 callersFunction_color
(text: str, *, fg: str | None = None, bold: bool = False)
main.py:700
↓ 7 callersFunction_fmt_detail_block
( index: int, title: str, url: str, referer: Optional[str], detail: str )
MCPs/WebSearch.py:513
↓ 5 callersFunction_clear_screen
()
main.py:613
↓ 5 callersFunction_normalize_whitespace
(value: Optional[str])
MCPs/WebSearch.py:477
↓ 4 callersFunction_compose_detail
( text: Optional[str], anchors: List[Tuple[str, str]], url: str, *, limit: int = MAX_DETAI
MCPs/WebSearch.py:481
↓ 4 callersFunction_host_of
(u: URL)
MCPs/WebSearch.py:531
↓ 3 callersFunction_ensure_memory_file
Ensure the memory file and its parent directory exist.
MCPs/Memory.py:33
↓ 3 callersFunction_is_ad_domain
(host: str)
MCPs/WebSearch.py:538
↓ 3 callersFunction_normalize_http_url
(raw: str)
main.py:296
↓ 3 callersFunction_run_async
Run an async coroutine from sync context safely (supports nested event loops).
MCPs/WebSearch.py:451
↓ 2 callersFunction_append_execution_log
(entry: Dict[str, Any])
MCPs/python-sandbox.py:68
↓ 2 callersMethod_clean_url
(self, href: Optional[str])
MCPs/WebSearch.py:224
↓ 2 callersMethod_fetch
(self, session: aiohttp.ClientSession, url: str, **kwargs)
MCPs/WebSearch.py:144
↓ 2 callersFunction_format_option
(label: str, is_active: bool, marked: bool | None)
main.py:596
↓ 2 callersFunction_interactive_single_select
(title: str, options: Sequence[str])
main.py:504
↓ 2 callersFunction_read_key
()
main.py:618
↓ 2 callersFunction_render_lines
(lines: Sequence[str])
main.py:607
↓ 2 callersFunction_visit_website_async
( url: str, max_chars: int = 10_000, timeout_sec: int = 20, session: Optional[aiohttp.ClientSe
MCPs/WebSearch.py:245
↓ 1 callersFunction_build_cursor_config
(choices: List[ServerChoice])
main.py:482
↓ 1 callersFunction_build_lmstudio_config
(choices: List[ServerChoice])
main.py:465
↓ 1 callersFunction_build_server_choice
( selection: ServerSelection, command: str, sandbox_log_path: Optional[Path] )
main.py:375
↓ 1 callersFunction_build_vscode_config
(choices: List[ServerChoice])
main.py:446
↓ 1 callersFunction_clean_soup
(soup: BeautifulSoup)
MCPs/WebSearch.py:347
↓ 1 callersFunction_collect_anchor_samples
( soup: BeautifulSoup, base_url: str, limit: int = 12 )
MCPs/WebSearch.py:411
↓ 1 callersFunction_crawl_bfs_async
( start_url: str, *, max_depth: int = 3, max_pages: int = 20, same_domain: bool = True,
MCPs/WebSearch.py:549
↓ 1 callersFunction_default_log_path
()
MCPs/python-sandbox.py:57
↓ 1 callersFunction_discover_servers
(folder: Path)
main.py:132
↓ 1 callersFunction_enable_vt_mode
()
main.py:683
↓ 1 callersFunction_ensure_http_urls
(selections: List[ServerSelection], interactive: bool)
main.py:259
↓ 1 callersFunction_extract_links
(soup: BeautifulSoup, base_url: str)
MCPs/WebSearch.py:380
↓ 1 callersFunction_extract_text_and_headings
(soup: BeautifulSoup)
MCPs/WebSearch.py:369
↓ 1 callersFunction_extract_title_desc
( soup: BeautifulSoup, *, title_limit: Optional[int] = None, desc_limit: int = 500 )
MCPs/WebSearch.py:321
↓ 1 callersFunction_humanize_name
(value: str)
main.py:732
↓ 1 callersFunction_interactive_multi_select
( title: str, options: Sequence[ServerOption], initial_selected: Iterable[int] )
main.py:534
↓ 1 callersMethod_parse_duckduckgo_lite_results
(self, html: str)
MCPs/WebSearch.py:189
↓ 1 callersMethod_parse_duckduckgo_results
(self, html: str)
MCPs/WebSearch.py:170
↓ 1 callersFunction_prompt_default_selection
(interactive: bool)
main.py:166
↓ 1 callersFunction_prompt_output_path
(data_dir: Path, suggested: str)
main.py:431
↓ 1 callersFunction_prompt_platform
(interactive: bool)
main.py:142
↓ 1 callersFunction_prompt_python_sandbox_log_path
( base_dir: Path, selections: Sequence[ServerSelection], interactive: bool )
main.py:349
↓ 1 callersFunction_prompt_server_selection
( options: Iterable[ServerOption], default_mode: str, interactive: bool )
main.py:190
↓ 1 callersFunction_prompt_server_selection_fallback
( options: Sequence[ServerOption], default_mode: str )
main.py:205
↓ 1 callersFunction_read_key_posix
()
main.py:650
↓ 1 callersFunction_read_key_windows
()
main.py:622
↓ 1 callersFunction_resolve_log_path
()
MCPs/python-sandbox.py:61
↓ 1 callersFunction_resolve_python_command
(base_dir: Path)
main.py:407
↓ 1 callersFunction_same_site
(host: str, base_host: str)
MCPs/WebSearch.py:543
↓ 1 callersFunction_slugify
(value: str)
main.py:739
↓ 1 callersFunction_split_numbers
(raw: str)
main.py:725
↓ 1 callersFunction_visit_many_async
( urls: List[str], max_chars: int = 10_000, timeout_sec: int = 20, concurrency: int = 8, )
MCPs/WebSearch.py:294
↓ 1 callersFunction_write_config
(path: Path, content: dict)
main.py:500
↓ 1 callersFunctionmain
()
main.py:66
↓ 1 callersFunctionone
(u: str)
MCPs/WebSearch.py:304
↓ 1 callersMethodsearch_duckduckgo
Perform a search on DuckDuckGo HTML results (no-JS), with lite fallback.
MCPs/WebSearch.py:152
Method__init__
( self, *, timeout_sec: int = 15, concurrency: int = 8, verify_ssl: bo
MCPs/WebSearch.py:133
Methoddefault_display_name
(self)
main.py:29
Methodidentifier
(self)
main.py:25
Functionmodify
Modify an existing memory
MCPs/Memory.py:119
Functionnumpy_stats
Compute basic statistics on a numeric list using NumPy. Parameters ---------- data: list[int|float] A non-empty list of numeric v
MCPs/python-sandbox.py:213
Functionremember
Remember anything, will be stored Parameters: - title : str Title of what you want to store, will be used for indexing
MCPs/Memory.py:40
Functionremove
Remove a memory permenently
MCPs/Memory.py:165
Functionretrieve
Retrieve most recent memory. Default is 50. Input should not be less than 10
MCPs/Memory.py:83
Functionrun_python
Execute a short Python snippet in a restricted subprocess. - Reduced builtins only, no imports. - Captures stdout/stderr. - If single exp
MCPs/python-sandbox.py:137
Functionrunner
()
MCPs/WebSearch.py:460
Functionsympy_analyze
Symbolically analyze an algebraic expression using SymPy. - Parses the input string into a SymPy expression. - Returns its simplified form, e
MCPs/python-sandbox.py:239
Functionvisit_url
Breadth-first crawl that mimics a no-login browser session. Output format per page: [n] Title: URL: https://example.com
MCPs/WebSearch.py:722
Functionweb_search
DuckDuckGo-powered search that emits detailed, browser-style blocks. Output format per entry: [n] Title: URL: https://example.
MCPs/WebSearch.py:626
Functionworker_run
(src: str, inp: Optional[Dict[str, Any]], q)
MCPs/python-sandbox.py:79