MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions10,312 in github.com/PrefectHQ/fastmcp

Method_send_auth_error
Send an authentication error response with enhanced error messages. Overrides the SDK's _send_auth_error to provide more detailed err
fastmcp_slim/fastmcp/server/auth/middleware.py:30
Method_set_auth
(self, auth: httpx.Auth | Literal["oauth"] | str | None)
fastmcp_slim/fastmcp/client/transports/base.py:80
Method_set_logging_level_mcp
Handle MCP 'logging/setLevel' requests. Stores the requested minimum log level on the session so that subsequent log messages below t
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:357
Function_sync_fn
(x: int)
tests/utilities/test_async_utils.py:19
Function_terminal_elicitation_handler
Prompt the user on the terminal for elicitation responses. Prints the server's message and prompts for each field in the schema. The user can
fastmcp_slim/fastmcp/cli/client.py:169
Function_trigger_docket
()
tests/server/test_server_docket.py:40
Method_trigger_docket
()
tests/server/mount/test_advanced.py:612
Method_unwrap_provider
Unwrap _WrappedProvider layers to find the inner provider.
fastmcp_slim/fastmcp/server/mixins/transport.py:170
Method_validate_tool_name
Validate tool name according to MCP specification (SEP-986).
fastmcp_slim/fastmcp/tools/base.py:190
Functiona
Tool A.
tests/experimental/transforms/test_code_mode_discovery.py:484
Methodaclose
(self)
tests/client/auth/test_oauth_client.py:363
Methodactivate
(ctx: Context)
tests/server/test_session_visibility.py:399
Functionactivate_admin
Activate admin tools for this session.
examples/namespace_activation/server.py:55
Functionactivate_finance
Activate finance tools for this session.
examples/namespace_activation/server.py:48
Methodactivate_finance
(ctx: Context)
tests/server/test_session_visibility.py:63
Methodactivate_finance
(ctx: Context)
tests/server/test_session_visibility.py:525
Methodactivate_multiple
(ctx: Context)
tests/server/test_session_visibility.py:284
Methodactivate_premium
(ctx: Context)
tests/server/test_session_visibility.py:582
Functionactivate_scene
Activates a specific scene within a specified light group, verifying the scene belongs to the group.
examples/smart_home/src/smart_home/lights/server.py:172
Methodactivate_tools_only
(ctx: Context)
tests/server/test_session_visibility.py:487
Methodactivated_session
(session_id: str)
tests/server/test_session_visibility.py:591
Functionadd
Add two numbers together.
tests/conftest.py:164
Functionadd
( old_x: Annotated[int, Field(description="old_x description")], old_y: int = 10 )
tests/tools/tool_transform/test_schemas.py:24
Functionadd
( old_x: Annotated[int, Field(description="old_x description")], old_y: int = 10 )
tests/tools/tool_transform/test_args.py:27
Functionadd
( old_x: Annotated[int, Field(description="old_x description")], old_y: int = 10 )
tests/tools/tool_transform/test_tool_transform.py:27
Functionadd
( old_x: Annotated[int, Field(description="old_x description")], old_y: int = 10 )
tests/tools/tool_transform/test_metadata.py:19
Functionadd
Add two numbers together.
tests/client/test_sse.py:27
Functionadd
Add two numbers together.
tests/client/test_streamable_http.py:39
Functionadd
Add two numbers together.
tests/client/auth/test_oauth_client.py:35
Functionadd
Add two numbers.
tests/cli/test_client_commands.py:408
Functionadd
Add two numbers.
tests/cli/test_generate_cli.py:558
Functionadd
(a: int, b: int)
tests/server/test_fastapi_testclient_compat.py:19
Functionadd
(a: int, b: int)
tests/server/middleware/test_middleware_nested.py:127
Functionadd
(a: int, b: int)
tests/server/middleware/test_middleware.py:126
Functionadd
Add two numbers together.
tests/server/providers/proxy/test_proxy_server.py:60
Functionadd
(a: int, b: int)
tests/server/auth/test_jwt_provider_bearer.py:51
Functionadd
(a: int, b: int)
tests/server/auth/test_jwt_provider.py:129
Functionadd
(a: int, b: int)
tests/server/auth/providers/test_descope.py:207
Functionadd
(a: int, b: int)
tests/server/auth/providers/test_supabase.py:172
Functionadd
(a: int, b: int)
tests/server/auth/providers/test_propelauth.py:263
Functionadd
(a: int, b: int)
tests/server/auth/providers/test_scalekit.py:138
Functionadd
(a: int, b: int)
tests/server/auth/providers/test_workos.py:216
Functionadd
Add two numbers together.
tests/server/transforms/test_search.py:40
Functionadd
(a: int, b: int)
tests/experimental/transforms/test_code_mode_serialization.py:185
Functionadd
(x: int, y: int)
tests/experimental/transforms/test_code_mode_discovery.py:95
Functionadd
(x: int, y: int)
tests/experimental/transforms/test_code_mode.py:256
Functionadd
Add two numbers
examples/desktop.py:30
Functionadd
Add two numbers together.
examples/sampling/tool_use.py:40
Functionadd
Add two numbers together
examples/testing_demo/server.py:16
Functionadd
Add two numbers together.
examples/fastmcp_config/server.py:16
Functionadd
Add two numbers together.
examples/search/server_regex.py:28
Functionadd
Add two numbers together.
examples/search/server_bm25.py:24
Functionadd
Add two numbers.
examples/filesystem-provider/components/tools/calculator.py:11
Functionadd
Add two numbers together.
examples/code_mode/server.py:22
Methodadd
(x: int, y: int = 10)
tests/tools/tool_transform/test_args.py:410
Methodadd
(old_x: int, old_y: int = 10)
tests/tools/tool_transform/test_tool_transform.py:667
Methodadd
Add two numbers.
tests/tools/tool/test_tool.py:358
Methodadd
(a: int, b: int)
tests/tools/tool/test_tool.py:526
Methodadd
Add two numbers.
tests/client/test_sampling.py:318
Methodadd
(a: int, b: int)
tests/client/telemetry/test_client_list_tracing.py:49
Methodadd
(a: int, b: int)
tests/client/telemetry/test_client_tracing.py:42
Methodadd
(a: int, b: int)
tests/client/telemetry/test_client_tracing.py:295
Methodadd
Add two numbers.
tests/utilities/test_inspect_icons.py:386
Methodadd
Add two numbers.
tests/server/sampling/test_sampling_tool.py:79
Methodadd
Add two numbers.
tests/server/sampling/test_sampling_tool.py:192
Methodadd
(a: int, b: int)
tests/server/middleware/test_middleware.py:430
Methodadd
(a: int, b: int)
tests/server/middleware/test_middleware.py:475
Methodadd
Add two numbers.
tests/server/middleware/test_tool_injection.py:45
Methodadd
(a: int, b: int)
tests/server/middleware/test_dereference.py:127
Methodadd
(x: int, y: int = 10)
tests/server/providers/test_local_provider_resources.py:140
Methodadd
(a: int, b: int)
tests/server/providers/test_local_provider.py:400
Methodadd
(x: int, y: int)
tests/server/providers/local_provider_tools/test_decorator.py:54
Methodadd
(self, y: int)
tests/server/providers/local_provider_tools/test_decorator.py:103
Methodadd
Add two numbers together.
tests/server/providers/proxy/test_proxy_server.py:325
Methodadd
(a: int, b: int)
tests/server/mount/test_advanced.py:261
Methodadd
(a: int, b: int)
tests/server/transforms/test_catalog.py:97
Methodadd
(a: int, b: int)
tests/server/tasks/test_task_mount.py:919
Methodadd
(x: int, y: int)
tests/server/versioning/test_mounting.py:109
Methodadd
(x: int, y: int)
tests/server/versioning/test_versioning.py:252
Methodadd
(x: int, y: int)
tests/server/versioning/test_calls.py:102
Methodadd
(x: int)
tests/server/versioning/test_filtering.py:57
Methodadd
Add two numbers.
tests/deprecated/test_tool_injection_middleware.py:27
Methodadd
Add two numbers.
tests/deprecated/test_tool_injection_middleware.py:151
FunctionaddDeviceIdToLink
(event)
docs/fastmcp-analytics.js:119
Methodadd_a
(x: int)
tests/server/versioning/test_versioning.py:166
Methodadd_b
(x: int)
tests/server/versioning/test_versioning.py:170
Methodadd_c
(x: int)
tests/server/versioning/test_versioning.py:176
Functionadd_comment
Add a comment to a request. Returns the updated request.
examples/apps/approvals/approvals_server.py:181
Methodadd_d
(x: int)
tests/server/versioning/test_versioning.py:180
Functionadd_item
Add a new item to inventory and return the full list.
examples/apps/inventory/inventory_server.py:166
Functionadd_numbers
Add two numbers together.
tests/server/tasks/test_task_proxy.py:33
Methodadd_numbers
(a: int, b: int)
tests/utilities/test_inspect.py:120
Methodadd_numbers
(a: int, b: int)
tests/utilities/test_inspect.py:491
Methodadd_numbers
Add two numbers together.
tests/server/test_input_validation.py:35
Functionadd_one
(x: int)
tests/experimental/transforms/test_code_mode.py:655
Methodadd_one
(x: int)
tests/server/providers/local_provider_tools/test_parameters.py:131
Methodadd_resource_prefix
Add prefix to resource URI: protocol://path → protocol://prefix/path.
fastmcp_slim/fastmcp/server/server.py:2227
Methodadd_server
Add or update a server in the configuration.
fastmcp_slim/fastmcp/mcp_config.py:358
Methodadd_to_docket
Schedule this tool for background execution via docket. FunctionTool splats the arguments dict since .fn expects **kwargs. Args:
fastmcp_slim/fastmcp/tools/function_tool.py:371
Methodadd_to_docket
Schedule this tool for background execution via docket. Args: docket: The Docket instance arguments: Tool arguments
fastmcp_slim/fastmcp/tools/base.py:400
← previousnext →2,001–2,100 of 10,312, ranked by callers