MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Functiontagged
(category: str, tags: list[str] = Field(default_factory=list))
tests/downstream/server.py:181
Methodtagged
(id: str)
tests/resources/test_resource_template.py:1649
Methodtagged
(id: str)
tests/resources/test_resource_template.py:1718
Methodtagged_prompt
Prompt with matching tag - should be visible.
tests/utilities/test_inspect.py:320
Methodtagged_resource
Resource with matching tag - should be visible.
tests/utilities/test_inspect.py:298
Functiontagged_resources_server
Fixture that creates a FastMCP server with tagged resources and templates.
tests/conftest.py:378
Methodtagged_template
Template with matching tag - should be visible.
tests/utilities/test_inspect.py:309
Methodtagged_tool
Tool with matching tag - should be visible.
tests/utilities/test_inspect.py:287
Methodtags
List available tool tags. Use to browse available tools by tag before searching.
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:524
Functiontake_quiz
Launch a quiz UI. The LLM generates the questions and passes them in: - topic: displayed as the heading (e.g. "World Capitals") - questio
examples/apps/quiz/quiz_server.py:111
Functiontake_screenshot
Take a screenshot of the user's screen and return it as an image. Use this tool anytime the user wants you to look at something they're doing
examples/screenshot.py:22
Functiontake_screenshot
Take a screenshot of the user's screen and return it as an image. Use this tool anytime the user wants you to look at something on their scr
examples/fastmcp_config_demo/server.py:20
Functiontampered
()
tests/skills/test_provider.py:221
Methodtarget
(request: Request)
tests/client/transports/test_no_redirect.py:105
Methodtarget
(request: Request)
tests/client/transports/test_no_redirect.py:142
Methodtarget
()
tests/server/test_session_visibility.py:527
Methodtarget_endpoint
(request: Request)
tests/client/transports/test_no_redirect.py:26
Methodtask_id
Get the background task ID if running in a background task. Returns None if not running in a background task context.
fastmcp_slim/fastmcp/server/context.py:247
Methodtask_id
The server-generated task id.
fastmcp_tasks/fastmcp_tasks/client.py:418
Functiontask_server
()
tests/tasks/client/test_transparent_tasks.py:26
Functiontask_server
()
tests/tasks/server/test_task_security.py:29
Functiontask_tool
A task-enabled tool: `task=True` yields mode `optional`.
tests/tools/tool_transform/test_task_config.py:20
Functiontask_tool
()
tests/tasks/server/test_server_tasks_parameter.py:75
Functiontask_with_progress
(progress: Progress = Progress())
tests/tasks/server/test_progress_dependency.py:78
Methodtask_with_timeout
()
tests/tools/test_tool_timeout.py:179
Functiontasks_run_while_tokens_refresh
()
tests/downstream/smoke_redis_credentials.py:240
Functionteam_directory
Browse the team directory — sortable, searchable, with department breakdown.
examples/apps/datatable_server.py:60
Functiontemp_file
Create a temporary file for testing. File is automatically cleaned up after the test if it still exists.
tests/resources/test_file_resources.py:14
Methodtemp_storage
Create file-based storage for testing.
tests/server/auth/test_oauth_proxy_storage.py:37
Methodtemp_tool
()
tests/server/mount/test_advanced.py:49
Functiontemplate
(prefix: str, ctx: Context)
tests/server/transforms/test_input_required.py:77
Methodtemplate_app
(view: str)
tests/test_apps.py:358
Methodtemplate_fn
(id: str)
tests/test_json_schema_generation.py:159
Methodtemplate_fn
(id: str)
tests/server/providers/test_local_provider.py:111
Methodtemplate_fn
(id: str)
tests/server/providers/test_local_provider.py:233
Methodtemplate_func
(param: str)
tests/resources/test_resource_template_meta.py:17
Functiontemplate_headers
(name: str)
tests/server/providers/proxy/test_header_options.py:31
Functiontemplate_literals_and_list_queries
()
tests/downstream/smoke_pydantic_ai.py:179
Functiontemplate_literals_and_list_queries
()
tests/downstream/smoke_openai_agents.py:163
Functiontemplate_literals_and_list_queries
()
tests/downstream/smoke_langchain_mcp_adapters.py:159
Functiontemplate_resource
Returns JSON data with the template parameter substituted.
tests/conformance/server.py:777
Methodtemplate_resource
(param: str)
tests/server/providers/test_local_provider_resources.py:175
Methodtemplate_resource
(param: str)
tests/server/providers/test_local_provider_resources.py:650
Methodtemplate_resource_1
(param: str)
tests/server/providers/test_local_provider_resources.py:901
Methodtemplate_resource_2
(param: str)
tests/server/providers/test_local_provider_resources.py:905
Methodtemplate_resource_with_params
(x: str, y: str)
tests/server/providers/test_local_provider_resources.py:218
Methodtemplate_with_context
(x: int, ctx: Context)
tests/resources/test_resource_template.py:680
Methodtemplate_with_ctx
(item_id: str, ctx: Context)
tests/server/test_dependencies_advanced.py:267
Methodtemplate_without_context
(x: int)
tests/resources/test_resource_template.py:689
Methodtemplated
(id: str)
tests/resources/test_resource_template.py:1635
Methodtemplated
(id: str)
tests/resources/test_resource_template.py:1678
Methodtemplated
(part: str, ctx: Context)
tests/server/telemetry/test_provider_tracing.py:160
Methodtenant_check
(ctx: AuthContext)
tests/server/auth/test_authorization.py:1440
Methodtest
()
tests/utilities/test_inspect_icons.py:455
Methodtest_127_0_0_1_no_port_matches_any_port
Pattern http://127.0.0.1/callback should match any port on 127.0.0.1.
tests/server/auth/test_redirect_validation.py:574
Methodtest_201_response
201 Created response content type is extracted.
tests/server/providers/openapi/test_openapi_features.py:544
Functiontest_41_skill_pydantic_field_and_instance_checks
()
tests/skills/test_deprecated_paths.py:239
Functiontest_41_wire_model_spellings_build_an_mcp_skill
()
tests/skills/test_deprecated_paths.py:190
Methodtest_a_constrained_sequence_still_infers
The guard must not swallow annotations that do say something.
tests/tools/tool/test_output_schema.py:690
Methodtest_a_duplicated_app_is_not_bound
One app composed twice leaves no fact in the listing saying which copy a UI belongs to, so no name is bound and the reference keeps its
tests/server/providers/test_prefab_roundtrip.py:393
Methodtest_a_duplicated_app_reports_the_ambiguity
The unbound reference must fail with a message that names the real cause, at any depth — a nested duplicate previously surfaced as `Un
tests/server/providers/test_prefab_roundtrip.py:417
Functiontest_a_read_skill_can_be_served_again
()
tests/skills/test_read_skill.py:335
Functiontest_a_skill_folder_owns_everything_below_it
(tmp_path: Path)
tests/skills/test_directory_provider.py:49
Methodtest_a_transform_cannot_unwire_an_app_tool
A meta override that keeps the identity but drops app visibility leaves a tool that can be named yet no longer answers to its identity
tests/server/providers/test_prefab_roundtrip.py:598
Methodtest_a_user_supplied_client_is_not_reconfigured
`create_proxy(client)` must not change how the caller's client behaves.
tests/server/providers/proxy/test_proxy_server.py:1432
Functiontest_absent_context_attributes_are_really_absent
Names the guides describe as gone must not exist on FastMCP's Context. If one of these gains an implementation, the guides are now telling people
tests/docs/test_upgrade_guide_api_claims.py:68
Functiontest_absent_or_hostile_interval_falls_back_to_setting
An absent, zero, or negative server value cannot spin the client: use the setting.
tests/tasks/client/test_poll_interval.py:41
Methodtest_accept_without_content_on_empty_schema
(self)
tests/client/test_elicitation.py:851
Methodtest_accepted_values_are_advertised
The legal tags are named even when no variant adds a field.
tests/server/providers/openapi/test_openapi_discriminator.py:250
Methodtest_accepts_a_generator
(self)
tests/utilities/test_async_utils.py:117
Methodtest_accepts_asymmetric_algorithm
(self, algorithm: str)
tests/server/auth/oauth_proxy/test_identity_assertion.py:185
Methodtest_accepts_client_id_argument
client_id parameter should be accepted but ignored.
tests/server/auth/providers/test_scalekit.py:64
Methodtest_access_jti_mapping_ttl_matches_configured_lifetime
The access JTI mapping must outlive the upstream access token. The JWT exp and the JTI mapping TTL are set from the same value, so a
tests/server/auth/oauth_proxy/test_tokens.py:1049
Functiontest_ack_results_match_schema
(model: Any)
tests/tasks/server/test_wire_models.py:176
Methodtest_acquires_and_attaches_token
(self)
tests/client/auth/test_client_credentials.py:210
Functiontest_actions_are_idempotent_and_reject_malformed_ids
()
examples/apps/media_picker/test_media_picker.py:111
Methodtest_active_limiter_is_not_pruned_during_an_inflight_request
( self, monkeypatch )
tests/server/middleware/test_rate_limiting.py:406
Functiontest_actuator_errors_surface_as_a_playback_failure
()
examples/apps/media_picker/test_media_picker.py:150
Methodtest_adapters_are_cached_by_normalized_schema
(self)
tests/utilities/json_schema_type/test_generated_classes.py:645
Methodtest_add_multiple_tools
Test adding multiple tools.
tests/server/providers/test_local_provider.py:43
Functiontest_add_parametrized
Test add tool with multiple parameter combinations
examples/testing_demo/tests/test_server.py:61
Methodtest_add_prompt
Test adding a prompt to LocalProvider.
tests/server/providers/test_local_provider.py:128
Methodtest_add_resource
Test adding a resource to LocalProvider.
tests/server/providers/test_local_provider.py:84
Methodtest_add_template
Test adding a resource template to LocalProvider.
tests/server/providers/test_local_provider.py:106
Methodtest_add_to_docket_raises_not_implemented_when_allowed
add_component_to_docket raises NotImplementedError for an unknown type.
tests/tasks/server/test_custom_subclass_tasks.py:244
Methodtest_add_to_docket_raises_when_forbidden
add_component_to_docket raises RuntimeError when mode is 'forbidden'.
tests/tasks/server/test_custom_subclass_tasks.py:236
Functiontest_add_tool
Test the add tool with simple addition
examples/testing_demo/tests/test_server.py:28
Methodtest_add_tool
Test adding a tool to LocalProvider.
tests/server/providers/test_local_provider.py:29
Methodtest_add_tool_delegates_to_local_provider
Test that mcp.add_tool() registers with the local provider.
tests/server/test_server.py:94
Methodtest_add_tool_findable_via_get_app_tool
(self)
tests/test_fastmcp_app.py:829
Methodtest_add_tool_from_function
(self)
tests/test_fastmcp_app.py:807
Functiontest_add_tool_method_annotations
Test that tool annotations work with add_tool method.
tests/server/test_tool_annotations.py:168
Methodtest_add_tool_object
(self)
tests/test_fastmcp_app.py:839
Functiontest_add_tool_rejects_identity_address_as_tool_name
(as_tool: bool)
tests/apps/test_tool_names.py:47
Methodtest_add_tool_tagged_with_app_name
(self)
tests/test_fastmcp_app.py:819
Methodtest_add_tool_with_custom_name
Test adding a tool with a custom name using server.add_tool().
tests/server/providers/local_provider_tools/test_decorator.py:209
Methodtest_add_transform_applies_tool_transforms
Test that add_transform with ToolTransform applies tool transformations.
tests/server/providers/test_local_provider.py:706
Functiontest_add_transform_drops_schemas_seeded_before_it
A decorator tool seeds its pre-transform schema; a transform added afterwards renames the annotated argument. The seeded entry must be dropped
tests/server/test_mcp_param_schema_cache.py:325
Methodtest_adding_prompt_after_mounting
Test adding a prompt after mounting.
tests/server/mount/test_prompts.py:30
Methodtest_adding_resource_after_mounting
Test adding a resource after mounting.
tests/server/mount/test_resources.py:104
← previousnext →7,201–7,300 of 15,974, ranked by callers