MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodsimple_number
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:29
Methodsimple_object
(self)
tests/utilities/json_schema_type/test_containers.py:242
Methodsimple_openapi_spec
Simple OpenAPI spec for testing.
tests/server/providers/openapi/test_server.py:69
Functionsimple_operation
A simple operation for testing logging.
tests/server/middleware/test_logging.py:407
Methodsimple_operation
A simple operation for testing logging.
tests/server/middleware/test_logging.py:445
Methodsimple_prompt
A simple prompt.
tests/server/transforms/test_prompts_as_tools.py:145
Methodsimple_route
Create a simple route for testing.
tests/utilities/openapi/test_schemas.py:92
Functionsimple_sample
(message: str, context: Context)
tests/client/test_sampling.py:41
Methodsimple_spec
Simple OpenAPI spec for testing.
tests/server/providers/openapi/test_end_to_end_compatibility.py:29
Methodsimple_string
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:25
Functionsimple_test
()
tests/client/test_elicitation_enums.py:44
Functionsimple_test
()
tests/client/test_elicitation.py:45
Functionsimple_tool
(message: str)
tests/tasks/server/test_task_protocol.py:25
Functionsimple_tool
(message: str)
tests/tasks/server/test_task_tools.py:59
Methodsimple_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:133
Functionsimple_with_context
Simple tool with context parameter.
tests/tools/test_tool_future_annotations.py:17
Methodsingle_skill_dir
Create a single skill directory with files.
tests/server/providers/test_skills_provider.py:218
Methodskill_document
()
tests/utilities/test_skills.py:168
Methodskill_info
Get the loaded skill info.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:275
Methodskill_reference
()
tests/utilities/test_skills.py:172
Methodskill_with_secret
A skill dir containing a nested file, with a secret one level up.
tests/server/providers/test_skills_provider.py:1054
Functionskills_dir
Create a temporary skills directory with sample skills.
tests/utilities/test_skills.py:57
Methodskills_dir
Create a test skills directory with sample skills.
tests/server/providers/test_skills_provider.py:620
Functionskills_server
Create a FastMCP server with skills provider.
tests/utilities/test_skills.py:103
Functionskip_windows_acl_subprocess
Keep deploy tests from launching PowerShell for every state access. On Windows each read or write of CLI state restricts its ACL through a fr
tests/cli/deploy/conftest.py:7
Functionsleep
Sleep for a given number of seconds.
tests/client/test_sse.py:32
Functionsleep
Sleep for a given number of seconds.
tests/client/test_streamable_http.py:47
Functionsleep
(_: float)
tests/cli/deploy/test_command.py:140
Functionsleep
Sleep, so a caller can time out mid-call and then reuse the connection.
tests/downstream/server.py:154
Functionsleepy_server
(tmp_path: Path)
tests/client/test_stdio_session_kwargs.py:16
Functionslow
(x: int)
tests/tools/tool_transform/test_task_config.py:23
Functionslow
()
tests/client/group/test_client_group.py:593
Functionslow
(seconds: float = 1)
tests/client/transports/test_config_timeout.py:27
Functionslow
()
tests/tasks/client/test_transparent_tasks.py:40
Functionslow
()
tests/tasks/server/test_extension.py:277
Methodslow
()
tests/client/client/test_client.py:1100
Methodslow
()
tests/tasks/server/test_task_mount.py:533
Methodslow
()
tests/server/middleware/test_ping.py:272
Methodslow_async_tool
()
tests/tools/test_tool_timeout.py:77
Functionslow_claim
(self: Execution, worker: str)
tests/tasks/server/test_task_methods.py:169
Functionslow_computation
Spend `duration` seconds working, reporting progress once per second. Marked `task=True`, so a task-aware client runs it in the background and
examples/tasks/server.py:39
Functionslow_compute
Sleeps for *seconds*, so a cancel can land while it is still running.
tests/conformance/server.py:644
Methodslow_discovery
(root: Path)
tests/fs/test_provider.py:364
Functionslow_elicitation
(message, response_type, params, context)
tests/tasks/client/test_transparent_tasks.py:220
Methodslow_getaddrinfo
(*args, **kwargs)
tests/server/auth/test_ssrf_protection.py:381
Methodslow_save
(name: str)
tests/test_fastmcp_app.py:166
Methodslow_sync_tool
()
tests/tools/test_tool_timeout.py:91
Functionslow_task
()
tests/tasks/server/test_task_ttl.py:35
Methodslow_task
(prefix: str, x: int)
tests/utilities/test_async_utils.py:296
Functionslow_thing
(n: int)
tests/tasks/server/test_task_catalog_transforms.py:33
Functionslow_tool
A tool that takes some time to complete.
tests/integration_tests/test_timeout_fix.py:18
Functionslow_tool
()
tests/tasks/server/test_task_methods.py:99
Functionslow_tool
(name: str, ctx: Context)
tests/tasks/server/test_concurrent_dependencies.py:34
Functionslow_tool
()
tests/experimental/transforms/test_code_mode.py:1016
Methodslow_tool
()
tests/tools/test_tool_timeout.py:139
Functionsmall_session_pool
( self, *args: Any, session_idle_timeout: float | None = 0.5, **kwargs: Any )
tests/server/http/test_session_idle_timeout.py:121
Methodsmall_tool
()
tests/server/middleware/test_response_limiting.py:30
Methodspec_with_output_schema
(self)
tests/server/providers/openapi/test_openapi_features.py:1149
Methodspecial_chars
(self)
tests/utilities/json_schema_type/test_advanced.py:717
Methodsphinx_prompt
Do something. :param a: The first argument.
tests/prompts/test_prompt.py:587
Methodspy
(**kwargs)
tests/client/client/test_response_cache.py:89
Methodspy
(**kwargs)
tests/client/client/test_response_cache.py:184
Methodspy
(**kwargs)
tests/client/client/test_kv_response_cache.py:250
Methodspy
(**kwargs)
tests/server/test_cache_hints.py:161
Methodspy
(**kwargs)
tests/server/auth/oauth_proxy/test_tokens.py:1068
Functionsquare
(n: int)
tests/tasks/server/test_extension.py:55
Functionsquare
(n: int)
tests/tasks/server/test_guard_reentrant.py:208
Functionsquare
(n: int)
tests/tasks/server/test_task_middleware.py:42
Functionsquare
(n: int)
tests/tasks/server/test_task_tools.py:105
Functionsquare
Compute the square of a number.
tests/experimental/transforms/test_code_mode_serialization.py:300
Functionsquare
Compute the square.
tests/experimental/transforms/test_code_mode_discovery.py:323
Functionsquare
Compute the square of a number.
tests/experimental/transforms/test_code_mode.py:127
Methodsquare
Square a number.
tests/server/test_input_validation.py:143
Methodsquare
Square a number.
tests/server/test_input_validation.py:493
Methodsquare
(x: int)
tests/server/providers/test_local_provider.py:861
Functionsse_server
Start a test server with SSE transport, in-process.
tests/client/test_sse.py:65
Functionsse_server
Start a test server with SSE transport.
tests/client/test_openapi.py:57
Functionsse_server
Start a test server with SSE transport.
tests/server/http/test_http_dependencies.py:70
Functionsse_server_custom_path
Start a test server with SSE on a custom path, in-process.
tests/client/test_sse.py:90
Methodstable
()
tests/server/middleware/test_caching.py:809
Methodstaged
(ctx: Context)
tests/server/test_mrtr_guards.py:962
Functionstamp
Structured output whose schema writes a count as a float.
tests/downstream/server.py:168
Methodstandalone
()
tests/resources/test_standalone_decorator.py:126
Methodstandalone
()
tests/server/transforms/test_catalog.py:170
Methodstandalone_app
()
tests/test_apps.py:343
Methodstandalone_function
A standalone function to be registered.
tests/server/providers/test_local_provider_prompts.py:261
Methodstandalone_function
A standalone function to be registered.
tests/server/providers/local_provider_tools/test_decorator.py:267
Methodstandalone_tool
()
tests/server/test_server.py:98
Functionstash
(value: str, ctx: Context)
tests/tasks/server/test_task_dependencies.py:263
Functionstateful_get
get the value associated with the server session
tests/server/providers/proxy/test_stateful_proxy_client.py:49
Functionstateful_proxy_server
(fastmcp_server: FastMCP)
tests/server/providers/proxy/test_stateful_proxy_client.py:61
Functionstateful_put
put a value associated with the server session
tests/server/providers/proxy/test_stateful_proxy_client.py:40
Functionstateless_server
(stateful_proxy_server: FastMCP)
tests/server/providers/proxy/test_stateful_proxy_client.py:74
Methodstatic_add
Add two numbers (static tool).
tests/server/test_providers.py:91
Functionstatic_binary_resource
Returns a binary PNG image.
tests/conformance/server.py:767
Methodstatic_subtract
Subtract two numbers (static tool).
tests/server/test_providers.py:96
Functionstatic_text_resource
Returns static text content.
tests/conformance/server.py:757
Methodstatic_tool
()
tests/contrib/test_mcp_mixin.py:383
Methodstatic_tool
(name: str, ctx: Context)
tests/server/test_dependencies_advanced.py:202
Methodstats
()
tests/tools/tool/test_nonfinite_serialization.py:59
← previousnext →7,001–7,100 of 15,974, ranked by callers