MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions10,524 in github.com/PrefectHQ/fastmcp

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:146
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
Function_ok_app
(scope: Scope, receive: Receive, send: Send)
tests/server/http/test_http_auth_middleware.py:27
Method_on_session_exit
()
fastmcp_slim/fastmcp/server/providers/proxy.py:1223
Function_on_signal
()
fastmcp_slim/fastmcp/cli/apps_dev.py:1845
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:208
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:260
Method_read
( self, uri: str, params: dict[str, Any], task_meta: None = None )
fastmcp_slim/fastmcp/resources/template.py:398
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:381
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:372
Method_run_monty
(self, monty: Any, *, inputs: Any, external_functions: Any)
tests/experimental/transforms/test_code_mode.py:954
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
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:113
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:201
Method_validate_tool_name
Validate tool name according to MCP specification (SEP-986).
fastmcp_slim/fastmcp/tools/base.py:217
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
← previousnext →2,001–2,100 of 10,524, ranked by callers