Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
15,974 in github.com/PrefectHQ/fastmcp
⨍
Functions
15,974
◇
Types & classes
2,233
↳
Endpoints
189
Function
fail_clear
(store: CredentialStore)
tests/cli/deploy/test_command.py:310
Function
fail_install
(source: Path, target: str | os.PathLike[str])
tests/skills/test_skill.py:281
Function
fail_port
(*args: Any, **kwargs: Any)
tests/utilities/test_run_server_async_startup.py:77
Function
fail_prompt
()
tests/telemetry/test_exception_recording.py:76
Function
fail_prompt
Prompt that always raises ValueError.
examples/diagnostics/server.py:123
Method
fail_registration
(self: FileSystemProvider, component: object)
tests/fs/test_provider.py:63
Function
fail_replace
(source: Path, destination: Path)
tests/cli/deploy/test_credentials.py:99
Function
fail_resource
()
tests/telemetry/test_exception_recording.py:68
Function
fail_save
(value: HorizonConfiguration)
tests/cli/deploy/test_configuration.py:119
Function
fail_template
(item_id: str)
tests/telemetry/test_exception_recording.py:72
Function
fail_to_open
(url: str)
tests/cli/deploy/test_authentication.py:164
Function
fail_tool
()
tests/telemetry/test_exception_recording.py:64
Function
fail_tool
Tool that always raises ValueError - for error tracing.
examples/diagnostics/server.py:105
Function
failed
(*args, **kwargs)
tests/test_public_triage.py:95
Method
failed_files
Files that failed to import, construct, or register components. The returned mapping is a snapshot of the most recent load. Import and
fastmcp_slim/fastmcp/server/providers/filesystem.py:169
Function
failed_token_exchange
(monkeypatch: pytest.MonkeyPatch)
tests/server/auth/test_oauth_consent_page.py:40
Method
failing
()
tests/tools/tool/test_results.py:105
Method
failing_async_validator
(token: str)
tests/server/auth/test_debug_verifier.py:128
Method
failing_auth_flow
(request)
tests/client/auth/test_oauth_static_client.py:169
Function
failing_dependency
()
tests/tasks/server/test_task_dependencies.py:200
Function
failing_elicit
(context: Context)
tests/client/test_elicitation.py:459
Method
failing_func
()
tests/resources/test_function_resources.py:92
Function
failing_job
Reports a tool execution error: `completed` with `result.isError`. Registered `required` so a client that never negotiated the extension gets
tests/conformance/server.py:651
Function
failing_lifespan
(_server)
tests/utilities/test_run_server_async_startup.py:15
Method
failing_lifespan
(server: FastMCP)
tests/utilities/test_tests.py:62
Function
failing_operation
An operation that fails with different error types.
tests/server/middleware/test_error_handling.py:473
Method
failing_prompt
()
tests/client/telemetry/test_client_tracing.py:479
Method
failing_resource
()
tests/client/telemetry/test_client_tracing.py:431
Method
failing_session
Simulates a session task that raises an error.
tests/client/client/test_session.py:167
Function
failing_task
A task that always fails.
tests/server/middleware/test_timing.py:162
Function
failing_tool
()
tests/tasks/server/test_task_protocol.py:29
Method
failing_tool
()
tests/client/client/test_error_handling.py:268
Method
failing_tool
()
tests/client/telemetry/test_client_tracing.py:83
Method
failing_tool
()
tests/client/telemetry/test_client_tracing.py:383
Method
failing_tool
()
tests/server/middleware/test_response_limiting.py:58
Method
failing_tool
()
tests/server/telemetry/test_server_tracing.py:57
Method
failing_validator
(token: str)
tests/server/auth/test_debug_verifier.py:116
Method
fails_then_succeeds
()
tests/server/middleware/test_error_handling.py:661
Function
fake_build_client
(resolved: Any, **kwargs: Any)
tests/cli/test_client_commands.py:839
Function
fake_build_client
(resolved: Any, **kwargs: Any)
tests/cli/test_generate_cli.py:601
Function
fake_build_client
(resolved: Any, *, skills: bool = False, **_: Any)
tests/cli/test_list_skills.py:22
Method
fake_builder
(cmd: list[str])
tests/cli/test_run.py:970
Method
fake_disconnect
()
tests/client/client/test_session.py:374
Method
fake_fetch
(url: str, **kwargs)
tests/server/auth/test_cimd.py:287
Method
fake_import
(name, *args, **kwargs)
tests/server/test_dependencies.py:823
Method
fake_refresh
(url, refresh_token, scope=None, **kwargs)
tests/server/auth/oauth_proxy/test_tokens.py:882
Method
fake_renderer_html
(mode: str | None = None)
tests/server/providers/test_prefab_synthesis.py:264
Function
fake_resolve
(server_spec: Any, **kwargs: Any)
tests/cli/test_client_commands.py:836
Function
fake_resolve
(server_spec: Any, **kwargs: Any)
tests/cli/test_generate_cli.py:598
Method
fake_version
(name: str)
tests/server/test_dependencies.py:780
Function
farewell
Say farewell in their language.
examples/apps/greet_server.py:50
Function
farewell
Say goodbye to someone. Args: name: The person's name.
examples/filesystem-provider/components/tools/greeting.py:17
Method
farewell
(name: str)
tests/server/mount/test_prompts.py:40
Method
fast
()
tests/client/client/test_client.py:1105
Method
fast_async_tool
()
tests/tools/test_tool_timeout.py:51
Method
fast_sync_tool
()
tests/tools/test_tool_timeout.py:64
Function
fast_tool
(x: int)
tests/client/transports/test_memory_transport.py:52
Method
fastapi_lifespan
(app: Any)
tests/server/test_server_lifespan.py:414
Method
fastmcp
Get the FastMCP instance.
fastmcp_slim/fastmcp/server/context.py:267
Method
fastmcp
Get the FastMCP instance.
fastmcp_slim/fastmcp/server/low_level.py:526
Method
fastmcp_lifespan
(app: Any)
tests/server/test_server_lifespan.py:422
Function
fastmcp_server
Fixture that creates a FastMCP server with tools, resources, and prompts.
tests/conftest.py:236
Function
fastmcp_server
()
tests/client/test_sampling.py:37
Function
fastmcp_server
()
tests/client/test_elicitation_enums.py:23
Function
fastmcp_server
A server that issues a handshake-era `roots/list` request. `Context` has no `list_roots()` — server-initiated requests are not part of FastMC
tests/client/test_roots.py:10
Function
fastmcp_server
()
tests/client/test_logs.py:35
Function
fastmcp_server
()
tests/client/test_progress.py:16
Function
fastmcp_server
()
tests/client/test_elicitation.py:24
Function
fastmcp_server
()
tests/server/providers/proxy/test_proxy_server.py:49
Function
fastmcp_server
()
tests/server/providers/proxy/test_stateful_proxy_client.py:28
Function
fastmcp_server
()
tests/server/providers/proxy/test_proxy_client.py:113
Function
feature_flags
Toggle feature flags with live preview.
examples/apps/patterns_server.py:402
Function
fetch
(url)
tests/test_status_refresh.cjs:42
Function
fetch
(path: str, url: str = Depends(get_url, scheme="https"))
tests/server/test_call_arguments.py:72
Function
fetch
(query: str, config: Annotated[dict, Depends(get_config)])
tests/server/test_annotated_dependencies.py:24
Function
fetch_config
()
tests/server/test_dependencies.py:198
Function
fetch_data
(query: str, config: dict[str, str] = Depends(get_config))
tests/server/test_dependencies.py:52
Method
fetch_data
Fetch data from URL.
tests/tools/tool/test_tool.py:79
Method
fetch_data
( resource_id: str = Field(description="Resource ID"), limit: int = Field(default=10,
tests/resources/test_resource_template_query_params.py:460
Function
fetch_notifications
Fetch recent notifications.
examples/atproto_mcp/src/atproto_mcp/_atproto/_read.py:91
Function
fetch_timeline
Fetch the authenticated user's timeline.
examples/atproto_mcp/src/atproto_mcp/_atproto/_read.py:14
Method
fetcher
Create a CIMDFetcher for testing.
tests/server/auth/test_cimd.py:162
Method
fetcher
Create a CIMDFetcher for testing.
tests/server/auth/test_cimd.py:227
Function
fibonacci
Generate the first n Fibonacci numbers.
examples/search/server_regex.py:40
Function
fibonacci
Generate the first n Fibonacci numbers.
examples/search/server_bm25.py:36
Function
fibonacci
Generate the first n Fibonacci numbers.
examples/code_mode/server.py:34
Function
file_document
()
tests/server/mount/test_resources.py:447
Method
file_manager
Upload and manage files. Drop files here to send them to the server.
fastmcp_slim/fastmcp/apps/file_upload.py:388
Function
file_text_tool
()
tests/conftest.py:371
Function
file_tool
(path: str)
tests/conftest.py:323
Method
file_tool
(data: bytes)
tests/tools/tool/test_tool.py:257
Method
file_tool
(path: str)
tests/server/providers/local_provider_tools/test_local_provider_tools.py:153
Method
file_v1
File v1.
tests/server/transforms/test_resources_as_tools.py:137
Method
file_v2
File v2.
tests/server/transforms/test_resources_as_tools.py:142
Method
files
Every file in the skill, keyed by relative path, including `SKILL.md`.
fastmcp_slim/fastmcp/skills/skill.py:394
Method
filter
(self, record: logging.LogRecord)
fastmcp_slim/fastmcp/server/server.py:187
Function
filter_by_category
Filter inventory by category. Pass 'All' to show everything.
examples/apps/inventory/inventory_server.py:212
Function
filter_data
Filter sales data by region and/or product.
examples/apps/explorer/explorer_server.py:355
Function
filtered_by_gateway_transform_over_a_proxy
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:116
Function
filtered_by_mounted_server_transform
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:108
← previous
next →
4,701–4,800 of 15,974, ranked by callers