Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,725 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,725
◇
Types & classes
2,302
↳
Endpoints
198
Function
slow_tool
A tool that takes some time to complete.
tests/integration_tests/test_timeout_fix.py:18
Function
slow_tool
()
tests/tasks/server/test_task_methods.py:99
Function
slow_tool
(name: str, ctx: Context)
tests/tasks/server/test_concurrent_dependencies.py:34
Function
slow_tool
()
tests/experimental/transforms/test_code_mode.py:1016
Method
slow_tool
()
tests/tools/test_tool_timeout.py:139
Function
small_session_pool
( self, *args: Any, session_idle_timeout: float | None = 0.5, **kwargs: Any )
tests/server/http/test_session_idle_timeout.py:121
Method
small_tool
()
tests/server/middleware/test_response_limiting.py:30
Method
soft_fail
()
tests/server/middleware/test_usage.py:436
Method
spec_with_output_schema
(self)
tests/server/providers/openapi/test_openapi_features.py:1149
Method
special_chars
(self)
tests/utilities/json_schema_type/test_advanced.py:793
Method
sphinx_prompt
Do something. :param a: The first argument.
tests/prompts/test_prompt.py:587
Method
spy
(**kwargs)
tests/client/client/test_response_cache.py:89
Method
spy
(**kwargs)
tests/client/client/test_response_cache.py:184
Method
spy
(**kwargs)
tests/client/client/test_kv_response_cache.py:250
Method
spy
(**kwargs)
tests/server/test_cache_hints.py:161
Method
spy
(**kwargs)
tests/server/auth/oauth_proxy/test_tokens.py:1068
Function
square
(n: int)
tests/tasks/server/test_extension.py:55
Function
square
(n: int)
tests/tasks/server/test_guard_reentrant.py:208
Function
square
(n: int)
tests/tasks/server/test_task_middleware.py:42
Function
square
(n: int)
tests/tasks/server/test_task_tools.py:105
Function
square
Compute the square of a number.
tests/experimental/transforms/test_code_mode_serialization.py:300
Function
square
Compute the square.
tests/experimental/transforms/test_code_mode_discovery.py:323
Function
square
Compute the square of a number.
tests/experimental/transforms/test_code_mode.py:127
Method
square
Square a number.
tests/server/test_input_validation.py:143
Method
square
Square a number.
tests/server/test_input_validation.py:493
Method
square
(x: int)
tests/server/providers/test_local_provider.py:861
Function
sse_server
Start a test server with SSE transport, in-process.
tests/client/test_sse.py:65
Function
sse_server
Start a test server with SSE transport.
tests/client/test_openapi.py:57
Function
sse_server
Start a test server with SSE transport.
tests/server/http/test_http_dependencies.py:70
Function
sse_server_custom_path
Start a test server with SSE on a custom path, in-process.
tests/client/test_sse.py:90
Method
stable
()
tests/server/middleware/test_caching.py:809
Method
staged
(ctx: Context)
tests/server/test_mrtr_guards.py:962
Function
stale_listing
(client: Client)
tests/experimental/events/test_param_headers.py:232
Function
stamp
Structured output whose schema writes a count as a float.
tests/downstream/server.py:168
Method
standalone
()
tests/resources/test_standalone_decorator.py:126
Method
standalone
()
tests/server/transforms/test_catalog.py:170
Method
standalone_app
()
tests/test_apps.py:343
Method
standalone_function
A standalone function to be registered.
tests/server/providers/test_local_provider_prompts.py:261
Method
standalone_function
A standalone function to be registered.
tests/server/providers/local_provider_tools/test_decorator.py:267
Method
standalone_tool
()
tests/server/test_server.py:98
Method
start
( self, page_size: int | None, namespace: str | None, via: str, data )
tests/pbt/test_components_machine.py:154
Function
stash
(value: str, ctx: Context)
tests/tasks/server/test_task_dependencies.py:263
Function
stateful_get
get the value associated with the server session
tests/server/providers/proxy/test_stateful_proxy_client.py:49
Function
stateful_proxy_server
(fastmcp_server: FastMCP)
tests/server/providers/proxy/test_stateful_proxy_client.py:61
Function
stateful_put
put a value associated with the server session
tests/server/providers/proxy/test_stateful_proxy_client.py:40
Function
stateless_server
(stateful_proxy_server: FastMCP)
tests/server/providers/proxy/test_stateful_proxy_client.py:74
Method
static_add
Add two numbers (static tool).
tests/server/test_providers.py:91
Function
static_binary_resource
Returns a binary PNG image.
tests/conformance/server.py:795
Method
static_subtract
Subtract two numbers (static tool).
tests/server/test_providers.py:96
Function
static_text_resource
Returns static text content.
tests/conformance/server.py:785
Method
static_tool
()
tests/contrib/test_mcp_mixin.py:383
Method
static_tool
(name: str, ctx: Context)
tests/server/test_dependencies_advanced.py:202
Method
stats
()
tests/tools/tool/test_nonfinite_serialization.py:59
Method
stats
()
tests/tools/tool/test_nonfinite_serialization.py:94
Method
stats
()
tests/tools/tool/test_nonfinite_serialization.py:184
Function
status
( topic: str, role: str = Depends(get_role), summary: str = Depends(describe), )
tests/server/test_call_arguments.py:178
Method
status
()
tests/server/providers/proxy/test_proxy_server.py:1460
Function
status_module
()
tests/test_maintenance_status.py:8
Function
status_resource
Status resource - always succeeds.
examples/diagnostics/server.py:84
Function
stdio_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
Method
stdio_script
(self)
tests/client/test_stdio.py:222
Method
stdio_script
(self)
tests/client/test_stdio.py:274
Method
stdio_script
(self)
tests/client/test_stdio.py:632
Method
stdio_script_with_stderr
(self, tmp_path)
tests/client/test_stdio.py:891
Method
stop_on_owning_loop
()
fastmcp_slim/fastmcp/client/transports/stdio.py:263
Function
storage
Create a fresh in-memory storage for each test.
tests/server/auth/test_oauth_consent_flow.py:68
Function
store
(name: str)
tests/apps/test_file_upload_retention.py:205
Function
store
( data: str, bucket: str = Depends(get_bucket, region="eu-west-1") )
tests/server/test_call_arguments.py:94
Function
store
(value: str, session: UserSession)
tests/server/auth/test_auth_source_identities.py:215
Function
store_and_read
Store a value and return session info.
tests/server/middleware/test_initialization_middleware.py:400
Method
store_and_read
Store a value and return all state info.
tests/server/test_context.py:210
Method
store_files
Store uploaded files. Receives file objects with name, size, type, data (base64).
fastmcp_slim/fastmcp/apps/file_upload.py:363
Function
str_or_int
(value: str | int)
tests/cli/test_generate_cli_arguments.py:272
Method
str_resource
()
tests/resources/test_resources.py:418
Function
stream
()
tests/tasks/server/test_task_async_generator_tools.py:62
Function
stream
()
tests/experimental/events/test_push_lifecycle.py:81
Method
stream_response
(self, *args: Any, **kwargs: Any)
tests/downstream/smoke_openai_agents.py:84
Function
streamable_http_server
Start a test server and return its URL.
tests/client/test_streamable_http.py:87
Function
streamable_http_server
Start OAuth-enabled server.
tests/client/auth/test_oauth_client.py:71
Function
streamable_http_server
Start a test server and return its URL.
tests/integration_tests/test_timeout_fix.py:27
Function
streamable_http_server_with_streamable_http_alias
Test that the "streamable-http" transport alias works.
tests/client/test_streamable_http.py:104
Function
strict_read_text
(self: Path, *args: Any, **kwargs: Any)
tests/test_mcp_config.py:486
Function
strict_read_text
(self: Path, *args, **kwargs)
tests/server/providers/test_skills_provider.py:1160
Function
strict_typed_prompt
Expects list of integers but will receive invalid JSON.
tests/client/client/test_client.py:293
Function
strict_write_text
(self: Path, data: str, *args: Any, **kwargs: Any)
tests/test_mcp_config.py:493
Method
string_array
(self)
tests/utilities/json_schema_type/test_containers.py:26
Method
string_const
(self)
tests/utilities/json_schema_type/test_advanced.py:831
Method
string_only_prompt
(message: str, name: str)
tests/prompts/test_prompt.py:539
Function
string_tool
()
tests/utilities/json_schema_type/test_caching.py:154
Method
string_tool
(x: int)
tests/tools/tool_transform/test_schemas.py:40
Method
string_tool
()
tests/server/providers/local_provider_tools/test_local_provider_tools.py:56
Function
structured_output
()
tests/downstream/smoke_pydantic_ai.py:114
Function
structured_output
()
tests/downstream/smoke_openai_agents.py:114
Function
structured_output
()
tests/downstream/smoke_langchain_mcp.py:155
Function
structured_output
()
tests/downstream/smoke_agent_framework.py:95
Function
structured_output
()
tests/downstream/smoke_langchain_mcp_adapters.py:116
Function
structured_output
()
tests/downstream/smoke_agno.py:115
Function
structured_type_server
Server with tools returning structured types.
tests/tasks/server/test_task_return_types.py:297
Function
styled_prompt
( query: str, ctx: Context, style: str = Depends(get_style) )
tests/server/test_dependencies.py:317
Method
sub_prompt
()
tests/server/mount/test_mount.py:177
← previous
next →
7,501–7,600 of 16,725, ranked by callers