MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Method_get_tool
Get tool by name from providers.
fastmcp_slim/fastmcp/server/providers/aggregate.py:264
Method_get_tool
Get a tool by name. Args: name: The tool name. version: Optional version filter. If None, returns highest version.
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:351
Method_get_tool
Get a tool by name.
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:407
Method_get_tool_by_hash
Delegate to inner's get_tool_by_hash (includes inner's transforms).
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:83
Method_get_tool_by_hash
Delegate to nested server's get_tool_by_hash, wrapping for middleware. The nested server applies its own transforms, visibility, and auth.
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:467
Method_get_tool_by_hash
Query all child providers for a tool matching a hash. Each child applies its own transforms, so a child that hides the tool does not
fastmcp_slim/fastmcp/server/providers/aggregate.py:289
Method_get_tool_by_hash
Resolve an identity against the remote listing. The base implementation looks the tool up by its registered name, which assumes the n
fastmcp_slim/fastmcp/server/providers/proxy.py:955
Method_handle_cancel
( self, ctx: ServerRequestContext[Any, Any], params: CancelTaskParams )
fastmcp_tasks/fastmcp_tasks/extension.py:211
Method_handle_consent
Handle consent page - dispatch to GET or POST handler based on method.
fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py:422
Method_handle_update
( self, ctx: ServerRequestContext[Any, Any], params: UpdateTaskParams )
fastmcp_tasks/fastmcp_tasks/extension.py:205
Function_handler
An elicitation handler that always answers "Q3".
tests/server/middleware/test_caching_guards.py:51
Method_handler
(params: PingParams)
tests/client/test_client_extensions.py:89
Method_initialize
(self)
fastmcp_slim/fastmcp/client/auth/client_credentials.py:253
Method_isolate_scanners
Suppress scanners that read real user configs and confine walks to tmp_path.
tests/cli/test_discovery.py:614
Function_json_schema_2020_12_fn
Tool with JSON Schema 2020-12 features for conformance testing (SEP-1613).
tests/conformance/server.py:300
Function_keep_hidden
(before: Sequence[_C], after: Sequence[_C])
fastmcp_slim/fastmcp/server/providers/base.py:72
Method_list_prompts
(self)
fastmcp_slim/fastmcp/apps/generative.py:189
Method_list_prompts
(self)
fastmcp_slim/fastmcp/apps/app.py:425
Method_list_prompts
Delegate to inner's list_prompts (includes inner's transforms).
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:107
Method_list_prompts
(self)
fastmcp_slim/fastmcp/server/providers/filesystem.py:231
Method_list_prompts
List all prompts from the mounted server as FastMCPProviderPrompts. Runs the mounted server's middleware so filtering/transformation applies.
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:544
Method_list_prompts
List all prompts from all providers.
fastmcp_slim/fastmcp/server/providers/aggregate.py:379
Method_list_prompts
Return all prompts.
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:421
Method_list_prompts
Return empty list - OpenAPI doesn't create prompts.
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:450
Method_list_resource_templates
(self)
fastmcp_slim/fastmcp/apps/generative.py:183
Method_list_resource_templates
(self)
fastmcp_slim/fastmcp/apps/app.py:419
Method_list_resource_templates
Delegate to inner's list_resource_templates (includes inner's transforms).
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:97
Method_list_resource_templates
(self)
fastmcp_slim/fastmcp/server/providers/filesystem.py:223
Method_list_resource_templates
List all resource templates from all providers.
fastmcp_slim/fastmcp/server/providers/aggregate.py:355
Method_list_resource_templates
Return all resource templates.
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:395
Method_list_resource_templates
Return all resource templates created from the OpenAPI spec.
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:433
Method_list_resource_templates
(self)
fastmcp_slim/fastmcp/server/providers/skills/directory_provider.py:132
Method_list_resource_templates
List resource templates for accessing files within the skill.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:387
Method_list_resources
(self)
fastmcp_slim/fastmcp/apps/generative.py:175
Method_list_resources
Delegate to inner's list_resources (includes inner's transforms).
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:87
Method_list_resources
(self)
fastmcp_slim/fastmcp/server/providers/filesystem.py:215
Method_list_resources
List all resources from the mounted server as FastMCPProviderResources. Runs the mounted server's middleware so filtering/transformation appl
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:486
Method_list_resources
List all resources from all providers.
fastmcp_slim/fastmcp/server/providers/aggregate.py:333
Method_list_resources
Return all resources.
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:371
Method_list_resources
Return all resources created from the OpenAPI spec.
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:418
Method_list_resources
(self)
fastmcp_slim/fastmcp/server/providers/skills/directory_provider.py:128
Method_list_resources
List skill resources.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:279
Method_list_tools
(self)
fastmcp_slim/fastmcp/apps/generative.py:167
Method_list_tools
(self)
fastmcp_slim/fastmcp/server/sessions.py:529
Method_list_tools
Delegate to inner's list_tools (includes inner's transforms).
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:69
Method_list_tools
List all tools from the mounted server as FastMCPProviderTools. Runs the mounted server's middleware so filtering/transformation applies.
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:432
Method_list_tools
List all tools from all providers.
fastmcp_slim/fastmcp/server/providers/aggregate.py:256
Method_list_tools
Return all tools created from the OpenAPI spec.
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:403
Method_list_tools
(self)
tests/server/test_providers.py:52
Method_list_tools
(self)
tests/server/providers/test_base_provider.py:36
Function_listed
(before: Sequence[_C], after: Sequence[_C])
fastmcp_slim/fastmcp/server/providers/base.py:68
Function_make_optional_parameter_nullable
Make an optional parameter schema nullable to allow None values. For optional parameters, we need to allow null values in addition to the
fastmcp_slim/fastmcp/utilities/openapi/schemas.py:152
Method_make_search_tool
(self)
fastmcp_slim/fastmcp/server/transforms/search/regex.py:22
Method_make_search_tool
(self)
fastmcp_slim/fastmcp/server/transforms/search/bm25.py:115
Method_make_search_tool
(self)
fastmcp_slim/fastmcp/experimental/transforms/jev_search.py:218
Method_mock_jwks
(self, idp_key: RSAKeyPair, httpx_mock: HTTPXMock)
tests/server/auth/oauth_proxy/test_identity_assertion.py:446
Method_no_dns
(*args, **kwargs)
tests/server/auth/test_ssrf_protection.py:812
Function_no_progress
(phase: str, done: int, total: int)
scripts/rank_issues.py:389
Function_normalize_anyof_order
Normalize the order of items in anyOf arrays for consistent comparison.
tests/server/providers/local_provider_tools/test_local_provider_tools.py:23
Function_normalize_anyof_order
Normalize the order of items in anyOf arrays for consistent comparison.
tests/server/providers/local_provider_tools/test_enabled.py:13
Function_normalize_anyof_order
Normalize the order of items in anyOf arrays for consistent comparison.
tests/server/providers/local_provider_tools/test_decorator.py:15
Function_normalize_anyof_order
Normalize the order of items in anyOf arrays for consistent comparison.
tests/server/providers/local_provider_tools/test_tags.py:13
Function_normalize_anyof_order
Normalize the order of items in anyOf arrays for consistent comparison.
tests/server/providers/local_provider_tools/test_context.py:13
Function_normalize_anyof_order
Normalize the order of items in anyOf arrays for consistent comparison.
tests/server/providers/local_provider_tools/test_parameters.py:22
Function_ok_app
(scope: Scope, receive: Receive, send: Send)
tests/server/http/test_http_auth_middleware.py:27
Method_on_complete
Handle MCP 'completion/complete' requests. Routes to the server's registered completion handler (set via ``@mcp.completion``). The ha
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:422
Method_on_connection_exit
()
fastmcp_slim/fastmcp/server/providers/proxy.py:1846
Method_on_get_prompt
Handle MCP 'prompts/get' requests.
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:353
Method_on_list_prompts
List all available prompts. Supports pagination via params.cursor.
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:203
Method_on_list_resource_templates
List all available resource templates. Supports pagination.
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:179
Method_on_list_tools
List all available tools. Supports pagination via params.cursor.
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:136
Method_on_set_logging_level
Handle MCP 'logging/setLevel' requests. Stores the requested minimum log level keyed by session id so that subsequent log messages be
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:401
Function_on_signal
()
fastmcp_slim/fastmcp/cli/apps_dev.py:1903
Function_patch_client
Patch resolve_server_spec and _build_client so CLI commands use the in-process test server without needing a real transport.
tests/cli/test_client_commands.py:426
Function_patch_client
Patch resolve_server_spec and _build_client to use an in-process server.
tests/cli/test_generate_cli.py:576
Method_perform_authorization
Reject expired registrations before attempting authorization.
fastmcp_slim/fastmcp/client/auth/oauth.py:367
Method_perform_authorization
(self)
fastmcp_slim/fastmcp/client/auth/client_credentials.py:270
Method_prepare_scopes_for_token_exchange
Omit scope from the upstream auth-code token exchange.
fastmcp_slim/fastmcp/server/auth/providers/oci.py:215
Function_providers_with_timeouts
Build parametrize list with per-provider timeouts.
tests/utilities/json_schema_type/test_real_world_schemas.py:392
Method_read
Server entry point for template reads. The server calls this instead of create_resource()/read() directly so subclasses can customize
fastmcp_slim/fastmcp/resources/template.py:496
Method_read
Optimized server entry point that skips ephemeral resource creation. For FunctionResourceTemplate, we can call read() directly instead of
fastmcp_slim/fastmcp/resources/template.py:568
Method_read
Delegate to the child server's read_resource(). fn_key is already set by the parent server before calling this method.
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:169
Method_read
Delegate to the child server's read_resource(). fn_key is already set by the parent server before calling this method.
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:339
Method_register
(fn: F, tool_name: str | None)
fastmcp_slim/fastmcp/apps/app.py:226
Function_reject_all
Validator that rejects every value, implementing JSON Schema `false`.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:139
Method_reject_discover
(version: str)
tests/client/client/test_mode_negotiation.py:125
Method_render
Server entry point for prompt renders. The server calls this method instead of render() directly so that subclasses can customize dis
fastmcp_slim/fastmcp/prompts/base.py:351
Method_require_at_least_one_transform_field
Reject if none of the transforming fields are set. This ensures that plain server configs (without tools, include_tags, or exclude_ta
fastmcp_slim/fastmcp/mcp_config.py:104
Function_require_npx
()
tests/conformance/test_conformance.py:42
Function_resolve_claimed
Finish a claimed result into an ordinary CallToolResult. Echoes the claimed payload so a test can prove the resolver ran on the server-emitte
tests/client/test_client_extensions.py:55
Function_resolve_extra
(result: ExtraClaimed, ctx: ClaimContext)
tests/client/test_client_extensions.py:214
Method_resolve_task
Finish a tasked `tools/call` by polling `tasks/get` to completion. Returns the tool's real result on completion; a failed or cancelled task
fastmcp_tasks/fastmcp_tasks/client.py:352
Function_resolve_tool_ref
(fn: Any)
fastmcp_slim/fastmcp/apps/app.py:86
Method_retry
( input_responses: mcp_types.InputResponses | None, request_state: str | None,
fastmcp_slim/fastmcp/client/mixins/prompts.py:167
Method_retry
( input_responses: mcp_types.InputResponses | None, request_state: str | None,
fastmcp_slim/fastmcp/client/mixins/resources.py:249
Method_retry
( input_responses: mcp_types.InputResponses | None, request_state: str | None,
fastmcp_slim/fastmcp/client/mixins/tools.py:203
Function_return_Any
()
fastmcp_slim/fastmcp/utilities/json_schema_type.py:562
Function_roots_callback
( context: ClientRequestContext, )
fastmcp_slim/fastmcp/client/roots.py:50
Function_roots_cb
(context: ClientRequestContext)
tests/server/test_protocol_eras.py:245
Function_run
()
tests/client/auth/test_client_credentials.py:679
← previousnext →3,001–3,100 of 13,374, ranked by callers