Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
10,312 in github.com/PrefectHQ/fastmcp
⨍
Functions
10,312
◇
Types & classes
1,519
↳
Endpoints
103
Method
f
()
tests/server/providers/local_provider_tools/test_output_schema.py:53
Method
f
(x: Annotated[int, "A number"])
tests/server/providers/local_provider_tools/test_parameters.py:411
Method
factory
( headers: dict[str, str] | None = None, timeout: httpx.Timeout | None = None,
fastmcp_slim/fastmcp/client/transports/http.py:129
Method
factory
( headers: dict[str, str] | None = None, timeout: httpx.Timeout | None = None,
fastmcp_slim/fastmcp/client/transports/sse.py:96
Function
fail_prompt
Prompt that always raises ValueError.
examples/diagnostics/server.py:123
Function
fail_tool
Tool that always raises ValueError - for error tracing.
examples/diagnostics/server.py:105
Method
failfast_tool
(ctx: Context)
tests/server/tasks/test_context_background_task.py:147
Method
failing
()
tests/tools/tool/test_results.py:100
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:142
Function
failing_callback
(status: GetTaskResult)
tests/client/tasks/test_client_task_notifications.py:157
Function
failing_dependency
()
tests/server/tasks/test_task_dependencies.py:252
Function
failing_elicit
(context: Context)
tests/client/test_elicitation.py:495
Method
failing_func
()
tests/resources/test_function_resources.py:92
Function
failing_operation
An operation that fails with different error types.
tests/server/middleware/test_error_handling.py:403
Method
failing_prompt
()
tests/client/telemetry/test_client_tracing.py:455
Method
failing_resource
()
tests/client/telemetry/test_client_tracing.py:408
Method
failing_session
Simulates a session task that raises an error.
tests/client/client/test_session.py:35
Function
failing_task
Task that fails.
tests/client/tasks/test_client_task_notifications.py:37
Function
failing_task
A task that always fails.
tests/server/middleware/test_timing.py:162
Function
failing_task
Task that always fails.
tests/server/tasks/test_task_status_notifications.py:37
Function
failing_task_tool
()
tests/server/tasks/test_task_protocol.py:71
Function
failing_tool
()
tests/client/tasks/test_client_tool_tasks.py:96
Function
failing_tool
A tool that always fails.
tests/server/tasks/test_task_protocol.py:25
Method
failing_tool
A tool that raises an exception.
tests/client/test_sampling_tool_loop.py:219
Method
failing_tool
()
tests/client/client/test_error_handling.py:181
Method
failing_tool
()
tests/client/telemetry/test_client_tracing.py:81
Method
failing_tool
()
tests/client/telemetry/test_client_tracing.py:361
Method
failing_tool
()
tests/server/telemetry/test_server_tracing.py:53
Method
failing_validator
(token: str)
tests/server/auth/test_debug_verifier.py:116
Method
fails_then_succeeds
()
tests/server/middleware/test_error_handling.py:591
Function
fake_build_client
(resolved: Any, **kwargs: Any)
tests/cli/test_client_commands.py:434
Function
fake_build_client
(resolved: Any, **kwargs: Any)
tests/cli/test_generate_cli.py:583
Method
fake_builder
(cmd: list[str])
tests/cli/test_run.py:758
Method
fake_import
(name, *args, **kwargs)
tests/server/test_dependencies.py:822
Method
fake_refresh
(url, refresh_token, scope=None, **kwargs)
tests/server/auth/oauth_proxy/test_tokens.py:660
Function
fake_resolve
(server_spec: Any, **kwargs: Any)
tests/cli/test_client_commands.py:431
Function
fake_resolve
(server_spec: Any, **kwargs: Any)
tests/cli/test_generate_cli.py:580
Function
fake_version
(name: str)
tests/server/tasks/test_task_capabilities.py:61
Method
fake_version
(name: str)
tests/server/test_dependencies.py:776
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
farewell
Generate a farewell message.
tests/deprecated/test_tool_injection_middleware.py:37
Method
fast_async_tool
()
tests/tools/test_tool_timeout.py:48
Method
fast_sync_tool
()
tests/tools/test_tool_timeout.py:61
Function
fast_tool
(x: int)
tests/client/transports/test_memory_transport.py:45
Method
fastapi_lifespan
(app: Any)
tests/server/test_server_lifespan.py:408
Method
fastmcp
Get the FastMCP instance.
fastmcp_slim/fastmcp/server/context.py:249
Method
fastmcp
Get the FastMCP instance.
fastmcp_slim/fastmcp/server/low_level.py:49
Method
fastmcp
Get the FastMCP instance.
fastmcp_slim/fastmcp/server/low_level.py:171
Method
fastmcp_lifespan
(app: Any)
tests/server/test_server_lifespan.py:416
Function
fastmcp_server
Fixture that creates a FastMCP server with tools, resources, and prompts.
tests/conftest.py:147
Function
fastmcp_server
()
tests/client/test_sampling.py:16
Function
fastmcp_server
()
tests/client/test_elicitation_enums.py:21
Function
fastmcp_server
()
tests/client/test_roots.py:7
Function
fastmcp_server
()
tests/client/test_logs.py:33
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:41
Function
fastmcp_server
()
tests/server/providers/proxy/test_stateful_proxy_client.py:28
Function
fastmcp_server
()
tests/server/providers/proxy/test_proxy_client.py:24
Function
feature_flags
Toggle feature flags with live preview.
examples/apps/patterns_server.py:402
Function
fetch_config
()
tests/server/test_dependencies.py:197
Function
fetch_data
(query: str, config: dict[str, str] = Depends(get_config))
tests/server/test_dependencies.py:51
Function
fetch_data
(query: str)
tests/deprecated/test_import_server.py:218
Method
fetch_data
Fetch data from URL.
tests/tools/tool/test_tool.py:76
Method
fetch_data
( resource_id: str = Field(description="Resource ID"), limit: int = Field(default=10,
tests/resources/test_resource_template_query_params.py:370
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:137
Method
fetcher
Create a CIMDFetcher for testing.
tests/server/auth/test_cimd.py:202
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
Method
file_manager
Upload and manage files. Drop files here to send them to the server.
fastmcp_slim/fastmcp/apps/file_upload.py:308
Function
file_text_tool
()
tests/conftest.py:281
Function
file_tool
(path: str)
tests/conftest.py:235
Method
file_tool
(data: bytes)
tests/tools/tool/test_tool.py:256
Method
file_tool
(path: str)
tests/server/providers/local_provider_tools/test_local_provider_tools.py:153
Method
filter
(self, record: logging.LogRecord)
fastmcp_slim/fastmcp/utilities/logging.py:202
Method
filter
(self, record: logging.LogRecord)
fastmcp_slim/fastmcp/server/server.py:107
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
final_response
(**kwargs: Any)
fastmcp_slim/fastmcp/server/sampling/run.py:467
Method
finance_prompt
()
tests/server/test_session_visibility.py:365
Method
finance_resource
()
tests/server/test_session_visibility.py:335
Method
finance_tool
()
tests/server/test_session_visibility.py:59
Method
finance_tool
()
tests/server/test_session_visibility.py:521
Method
find_refs
Recursively find all $ref references.
fastmcp_slim/fastmcp/utilities/openapi/parser.py:555
Method
first
(server: FastMCP)
tests/server/test_server_lifespan.py:243
Method
first
(app: Any)
tests/server/test_server_lifespan.py:441
Method
first_lifespan
(server: FastMCP)
tests/server/test_server_lifespan.py:156
Method
first_lifespan
(app: Any)
tests/server/test_server_lifespan.py:351
Method
first_prompt
First prompt description.
fastmcp_slim/fastmcp/contrib/mcp_mixin/example.py:31
Function
first_resource
()
tests/deprecated/test_import_server.py:514
Method
first_resource
First resource description.
fastmcp_slim/fastmcp/contrib/mcp_mixin/example.py:26
Method
first_resource
()
tests/server/mount/test_mount.py:386
Function
first_shared_prompt
()
tests/deprecated/test_import_server.py:576
Method
first_shared_prompt
()
tests/server/mount/test_mount.py:494
← previous
next →
2,701–2,800 of 10,312, ranked by callers