MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodskill_reference
()
tests/utilities/test_skills.py:146
Methodskill_with_secret
A skill dir containing a nested file, with a secret one level up.
tests/server/providers/test_skills_provider.py:940
Functionskills_dir
Create a temporary skills directory with sample skills.
tests/utilities/test_skills.py:51
Methodskills_dir
Create a test skills directory with sample skills.
tests/server/providers/test_skills_provider.py:524
Functionskills_server
Create a FastMCP server with skills provider.
tests/utilities/test_skills.py:97
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:44
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
Functionslow
()
tests/tasks/client/test_transparent_tasks.py:40
Functionslow
()
tests/tasks/server/test_extension.py:277
Methodslow
()
tests/client/client/test_client.py:986
Methodslow
()
tests/tasks/server/test_task_mount.py:533
Methodslow_async_tool
()
tests/tools/test_tool_timeout.py:74
Functionslow_claim
(self: Execution, worker: str)
tests/tasks/server/test_task_methods.py:135
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
Functionslow_elicitation
(message, response_type, params, context)
tests/tasks/client/test_transparent_tasks.py:206
Methodslow_save
(name: str)
tests/test_fastmcp_app.py:166
Functionslow_task
()
tests/tasks/server/test_task_ttl.py:34
Methodslow_task
(prefix: str, x: int)
tests/utilities/test_async_utils.py:244
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
Methodslow_tool
()
tests/tools/test_tool_timeout.py:99
Methodsmall_tool
()
tests/server/middleware/test_response_limiting.py:30
Methodspec_with_output_schema
(self)
tests/server/providers/openapi/test_openapi_features.py:1099
Methodspecial_chars
(self)
tests/utilities/json_schema_type/test_advanced.py:170
Methodsphinx_prompt
Do something. :param a: The first argument.
tests/prompts/test_prompt.py:539
Methodspy
(**kwargs)
tests/client/client/test_response_cache.py:89
Methodspy
(**kwargs)
tests/client/client/test_kv_response_cache.py:248
Methodspy
(**kwargs)
tests/server/test_cache_hints.py:161
Methodspy
(**kwargs)
tests/server/auth/oauth_proxy/test_tokens.py:946
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:99
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:128
Methodsquare
Square a number.
tests/server/test_input_validation.py:391
Methodsquare
(x: int)
tests/server/providers/test_local_provider.py:752
Functionsse_endpoint
(request: Request)
fastmcp_slim/fastmcp/server/http.py:550
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:762
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:342
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
(name: str, ctx: Context)
tests/server/test_dependencies_advanced.py:202
Functionstatus
( topic: str, role: str = Depends(get_role), summary: str = Depends(describe), )
tests/server/test_call_arguments.py:178
Functionstatus_module
()
tests/test_maintenance_status.py:8
Functionstatus_resource
Status resource - always succeeds.
examples/diagnostics/server.py:84
Functionstdio_command
Generate the stdio command for running a FastMCP server. Outputs the shell command that an MCP host would use to start this server over stdio
fastmcp_slim/fastmcp/cli/install/stdio.py:78
Methodstdio_script
(self)
tests/client/test_stdio.py:211
Methodstdio_script
(self)
tests/client/test_stdio.py:238
Methodstdio_script
(self)
tests/client/test_stdio.py:453
Methodstdio_script_with_stderr
(self, tmp_path)
tests/client/test_stdio.py:712
Functionstorage
Create a fresh in-memory storage for each test.
tests/server/auth/test_oauth_consent_flow.py:68
Functionstore
( data: str, bucket: str = Depends(get_bucket, region="eu-west-1") )
tests/server/test_call_arguments.py:94
Functionstore_and_read
Store a value and return session info.
tests/server/middleware/test_initialization_middleware.py:400
Methodstore_and_read
Store a value and return all state info.
tests/server/test_context.py:181
Methodstore_files
Store uploaded files. Receives file objects with name, size, type, data (base64).
fastmcp_slim/fastmcp/apps/file_upload.py:283
Functionstreamable_http_server
Start a test server and return its URL.
tests/client/test_streamable_http.py:84
Functionstreamable_http_server
Start OAuth-enabled server.
tests/client/auth/test_oauth_client.py:71
Functionstreamable_http_server
Start a test server and return its URL.
tests/integration_tests/test_timeout_fix.py:27
Functionstreamable_http_server_with_streamable_http_alias
Test that the "streamable-http" transport alias works.
tests/client/test_streamable_http.py:101
Functionstrict_read_text
(self: Path, *args: Any, **kwargs: Any)
tests/test_mcp_config.py:483
Functionstrict_read_text
(self: Path, *args, **kwargs)
tests/server/providers/test_skills_provider.py:1046
Functionstrict_typed_prompt
Expects list of integers but will receive invalid JSON.
tests/client/client/test_client.py:289
Functionstrict_write_text
(self: Path, data: str, *args: Any, **kwargs: Any)
tests/test_mcp_config.py:490
Methodstring_array
(self)
tests/utilities/json_schema_type/test_containers.py:22
Methodstring_const
(self)
tests/utilities/json_schema_type/test_advanced.py:208
Methodstring_only_prompt
(message: str, name: str)
tests/prompts/test_prompt.py:491
Methodstring_tool
(x: int)
tests/tools/tool_transform/test_schemas.py:40
Methodstring_tool
()
tests/server/providers/local_provider_tools/test_local_provider_tools.py:56
Functionstructured_output
()
tests/downstream/smoke_pydantic_ai.py:114
Functionstructured_output
()
tests/downstream/smoke_langchain_mcp.py:155
Functionstructured_output
()
tests/downstream/smoke_langchain_mcp_adapters.py:116
Functionstructured_type_server
Server with tools returning structured types.
tests/tasks/server/test_task_return_types.py:297
Functionstyled_prompt
( query: str, ctx: Context, style: str = Depends(get_style) )
tests/server/test_dependencies.py:317
Methodsub_prompt
()
tests/server/mount/test_mount.py:170
← previousnext →5,901–6,000 of 13,374, ranked by callers