MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions10,312 in github.com/PrefectHQ/fastmcp

Method_get_prompt_mcp
Handle MCP 'getPrompt' requests. Extracts task metadata from MCP request context and passes it explicitly to render_prompt(). The pro
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:304
Method_get_resource
(self, uri: str, version: Any = None)
fastmcp_slim/fastmcp/apps/generative.py:179
Method_get_resource
Get a resource by URI via aggregation from providers. Extends AggregateProvider._get_resource() with component-level auth checks. Ar
fastmcp_slim/fastmcp/server/server.py:811
Method_get_resource
Delegate to inner's get_resource (includes inner's transforms).
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:78
Method_get_resource
( self, uri: str, version: VersionSpec | None = None )
fastmcp_slim/fastmcp/server/providers/filesystem.py:203
Method_get_resource
Get a concrete resource by URI as a FastMCPProviderResource. Passes the full VersionSpec to the nested server, which handles both exa
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:588
Method_get_resource
Get resource by URI from providers.
fastmcp_slim/fastmcp/server/providers/aggregate.py:250
Method_get_resource
Get a resource by URI. Args: uri: The resource URI. version: Optional version filter. If None, returns highest versio
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:375
Method_get_resource
Get a resource by URI.
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:402
Method_get_resource
( self, uri: str, version: VersionSpec | None = None )
fastmcp_slim/fastmcp/server/providers/skills/directory_provider.py:136
Method_get_resource
Get a resource by URI.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:331
Method_get_resource_template
(self, uri: str, version: Any = None)
fastmcp_slim/fastmcp/apps/generative.py:186
Method_get_resource_template
(self, uri: str, version: Any = None)
fastmcp_slim/fastmcp/apps/app.py:408
Method_get_resource_template
Get a resource template by URI via aggregation from providers. Extends AggregateProvider._get_resource_template() with component-level auth c
fastmcp_slim/fastmcp/server/server.py:943
Method_get_resource_template
Delegate to inner's get_resource_template (includes inner's transforms).
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:88
Method_get_resource_template
( self, uri: str, version: VersionSpec | None = None )
fastmcp_slim/fastmcp/server/providers/filesystem.py:211
Method_get_resource_template
Get a resource template that matches the given URI. Passes the full VersionSpec to the nested server, which handles both exact versio
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:618
Method_get_resource_template
Get resource template by URI from providers.
fastmcp_slim/fastmcp/server/providers/aggregate.py:272
Method_get_resource_template
( self, uri: str, version: VersionSpec | None = None )
fastmcp_slim/fastmcp/server/providers/proxy.py:729
Method_get_resource_template
Get a resource template that matches the given URI. Args: uri: The URI to match against templates. version: Optional
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:399
Method_get_resource_template
Get a resource template that matches the given URI.
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:417
Method_get_resource_template
( self, uri: str, version: VersionSpec | None = None )
fastmcp_slim/fastmcp/server/providers/skills/directory_provider.py:142
Method_get_resource_template
Get a resource template that matches the given URI.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:406
Method_get_session_transforms
Get session-specific Visibility transforms from state store.
fastmcp_slim/fastmcp/server/context.py:1322
Method_get_tool
(self, name: str, version: Any = None)
fastmcp_slim/fastmcp/apps/generative.py:171
Method_get_tool
Delegate to inner's get_tool (includes inner's transforms).
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:60
Method_get_tool
( self, name: str, version: VersionSpec | None = None )
fastmcp_slim/fastmcp/server/providers/filesystem.py:195
Method_get_tool
Get a tool by name as a FastMCPProviderTool. Passes the full VersionSpec to the nested server, which handles both exact version match
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:540
Method_get_tool
Get tool by name from providers.
fastmcp_slim/fastmcp/server/providers/aggregate.py:198
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:387
Method_handle_consent
Handle consent page - dispatch to GET or POST handler based on method.
fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py:303
Function_is_app_visible
Check whether a tool has explicitly opted into app-callable visibility. Gates the dispatcher's hashed-name routing path: only tools whose ``m
fastmcp_slim/fastmcp/server/server.py:218
Method_isolate_scanners
Suppress scanners that read real user configs and confine walks to tmp_path.
tests/cli/test_discovery.py:556
Function_json_schema_2020_12_fn
Tool with JSON Schema 2020-12 features for conformance testing (SEP-1613).
tests/conformance/server.py:246
Method_list_prompts
(self)
fastmcp_slim/fastmcp/apps/generative.py:189
Method_list_prompts
(self)
fastmcp_slim/fastmcp/apps/app.py:411
Method_list_prompts
Delegate to inner's list_prompts (includes inner's transforms).
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:94
Method_list_prompts
(self)
fastmcp_slim/fastmcp/server/providers/filesystem.py:216
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:636
Method_list_prompts
List all prompts from all providers.
fastmcp_slim/fastmcp/server/providers/aggregate.py:288
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:430
Method_list_resource_templates
(self)
fastmcp_slim/fastmcp/apps/generative.py:183
Method_list_resource_templates
(self)
fastmcp_slim/fastmcp/apps/app.py:405
Method_list_resource_templates
Delegate to inner's list_resource_templates (includes inner's transforms).
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:84
Method_list_resource_templates
(self)
fastmcp_slim/fastmcp/server/providers/filesystem.py:208
Method_list_resource_templates
List all resource templates from all providers.
fastmcp_slim/fastmcp/server/providers/aggregate.py:264
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:413
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:384
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:74
Method_list_resources
(self)
fastmcp_slim/fastmcp/server/providers/filesystem.py:200
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:578
Method_list_resources
List all resources from all providers.
fastmcp_slim/fastmcp/server/providers/aggregate.py:242
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:398
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:281
Method_list_tools
(self)
fastmcp_slim/fastmcp/apps/generative.py:167
Method_list_tools
Delegate to inner's list_tools (includes inner's transforms).
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:56
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:530
Method_list_tools
List all tools from all providers.
fastmcp_slim/fastmcp/server/providers/aggregate.py:190
Method_list_tools
Return all tools created from the OpenAPI spec.
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:383
Method_list_tools
(self)
tests/server/test_providers.py:51
Method_list_tools
(self)
tests/server/providers/test_base_provider.py:36
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:145
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:113
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
Method_on_session_exit
()
fastmcp_slim/fastmcp/server/providers/proxy.py:1232
Function_on_signal
()
fastmcp_slim/fastmcp/cli/apps_dev.py:1833
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_prepare_scopes_for_token_exchange
Omit scope from the upstream auth-code token exchange.
fastmcp_slim/fastmcp/server/auth/providers/oci.py:199
Function_providers_with_timeouts
Build parametrize list with per-provider timeouts.
tests/utilities/json_schema_type/test_real_world_schemas.py:387
Method_read
( self, uri: str, params: dict[str, Any], task_meta: None = None )
fastmcp_slim/fastmcp/resources/template.py:252
Method_read
( self, uri: str, params: dict[str, Any], task_meta: None = None )
fastmcp_slim/fastmcp/resources/template.py:390
Method_read
(self, task_meta: None = None)
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:190
Method_read
( self, uri: str, params: dict[str, Any], task_meta: None = None )
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:392
Method_register
(fn: F, tool_name: str | None)
fastmcp_slim/fastmcp/apps/app.py:221
Function_reject_all
Validator that rejects every value, implementing JSON Schema `false`.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:112
Method_render
( self, arguments: dict[str, Any] | None = None, task_meta: None = None, )
fastmcp_slim/fastmcp/prompts/base.py:322
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:103
Function_require_npx
()
tests/conformance/test_conformance.py:31
Function_resolve_tool_ref
(fn: Any)
fastmcp_slim/fastmcp/apps/app.py:81
Function_return_Any
()
fastmcp_slim/fastmcp/utilities/json_schema_type.py:379
Function_roots_callback
( context: RequestContext[ClientSession, LifespanContextT], )
fastmcp_slim/fastmcp/client/roots.py:50
Method_run
( self, arguments: dict[str, Any], task_meta: None = None, )
fastmcp_slim/fastmcp/tools/base.py:343
Method_run_monty
(self, monty: Any, *, inputs: Any, external_functions: Any)
tests/experimental/transforms/test_code_mode.py:819
Function_run_server
(mcp_server: FastMCP, transport: Literal["sse"], port: int)
fastmcp_slim/fastmcp/utilities/tests.py:56
Function_sampling_handler
( context, params: SamplingParams, )
fastmcp_slim/fastmcp/client/sampling/__init__.py:47
Method_search
Search the given tools and return matches.
fastmcp_slim/fastmcp/server/transforms/search/base.py:267
← previousnext →1,901–2,000 of 10,312, ranked by callers