Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
17,519 in github.com/PrefectHQ/fastmcp
⨍
Functions
17,519
◇
Types & classes
2,390
↳
Endpoints
196
Function
show_map
Show locations on an interactive map. Accepts addresses, place names, or landmarks. Each location is geocoded via OpenStreetMap and displayed
examples/apps/map/map_server.py:97
Function
show_media_picker
Show media choices the user can play on their TV. Find candidates first with your own web search, then pass their YouTube URLs here. Each lin
examples/apps/media_picker/media_picker_server.py:347
Method
show_widget
()
tests/server/providers/test_prefab_synthesis.py:36
Method
show_widget
()
tests/server/providers/test_prefab_synthesis.py:89
Method
show_widget
()
tests/server/providers/test_prefab_synthesis.py:115
Method
show_widget
()
tests/server/auth/test_authorization.py:1785
Function
showcase
Prefab UI component showcase.
examples/apps/showcase_server.py:20
Function
shttp_server
Start a test server with StreamableHttp transport.
tests/client/test_openapi.py:49
Function
shttp_server
Start a test server with StreamableHttp transport.
tests/server/http/test_http_dependencies.py:62
Method
sibling
()
tests/utilities/test_async_utils.py:77
Function
sibling_tool
()
tests/server/mount/test_session_visibility.py:138
Function
signal_handler
()
fastmcp_slim/fastmcp/cli/run.py:440
Method
simple
()
tests/server/versioning/test_calls.py:165
Method
simple_boolean
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:37
Method
simple_coro
()
tests/client/client/test_session.py:200
Method
simple_defaults
(self)
tests/utilities/json_schema_type/test_advanced.py:244
Function
simple_func
(x: int, y: str = "default")
tests/utilities/test_typeadapter.py:121
Method
simple_integer
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:33
Method
simple_null
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:41
Method
simple_number
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:29
Method
simple_object
(self)
tests/utilities/json_schema_type/test_containers.py:242
Method
simple_openapi_spec
Simple OpenAPI spec for testing.
tests/server/providers/openapi/test_server.py:69
Function
simple_operation
A simple operation for testing logging.
tests/server/middleware/test_logging.py:407
Method
simple_operation
A simple operation for testing logging.
tests/server/middleware/test_logging.py:445
Method
simple_prompt
A simple prompt.
tests/server/transforms/test_prompts_as_tools.py:145
Method
simple_route
Create a simple route for testing.
tests/utilities/openapi/test_schemas.py:92
Function
simple_sample
(message: str, context: Context)
tests/client/test_sampling.py:41
Method
simple_spec
Simple OpenAPI spec for testing.
tests/server/providers/openapi/test_end_to_end_compatibility.py:29
Method
simple_string
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:25
Function
simple_test
()
tests/client/test_elicitation_enums.py:44
Function
simple_test
()
tests/client/test_elicitation.py:46
Function
simple_tool
(message: str)
tests/tasks/server/test_task_protocol.py:25
Function
simple_tool
(message: str)
tests/tasks/server/test_task_tools.py:59
Method
simple_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:133
Function
simple_with_context
Simple tool with context parameter.
tests/tools/test_tool_future_annotations.py:17
Method
single_skill_dir
Create a single skill directory with files.
tests/server/providers/test_skills_provider.py:219
Method
skill_document
()
tests/utilities/test_skills.py:168
Method
skill_info
Get the loaded skill info.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:275
Method
skill_reference
()
tests/utilities/test_skills.py:172
Method
skill_with_secret
A skill dir containing a nested file, with a secret one level up.
tests/server/providers/test_skills_provider.py:1056
Function
skills_dir
Create a temporary skills directory with sample skills.
tests/utilities/test_skills.py:57
Method
skills_dir
Create a test skills directory with sample skills.
tests/server/providers/test_skills_provider.py:622
Function
skills_server
Create a FastMCP server with skills provider.
tests/utilities/test_skills.py:103
Function
skip_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
Function
sleep
Sleep for a given number of seconds.
tests/client/test_sse.py:32
Function
sleep
Sleep for a given number of seconds.
tests/client/test_streamable_http.py:48
Function
sleep
(_: float)
tests/cli/deploy/test_command.py:140
Function
sleep
Sleep, so a caller can time out mid-call and then reuse the connection.
tests/downstream/server.py:154
Function
sleepy_server
(tmp_path: Path)
tests/client/test_stdio_session_kwargs.py:16
Function
slow
(x: int)
tests/tools/tool_transform/test_task_config.py:23
Function
slow
()
tests/client/group/test_client_group.py:593
Function
slow
(seconds: float = 1)
tests/client/transports/test_config_timeout.py:27
Function
slow
()
tests/tasks/client/test_transparent_tasks.py:40
Function
slow
()
tests/tasks/server/test_extension.py:277
Method
slow
()
tests/client/client/test_client.py:1100
Method
slow
()
tests/tasks/server/test_task_mount.py:605
Method
slow
()
tests/server/middleware/test_ping.py:272
Method
slow_async_tool
()
tests/tools/test_tool_timeout.py:77
Function
slow_claim
(self: Execution, worker: str)
tests/tasks/server/test_task_methods.py:169
Function
slow_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
Function
slow_compute
Sleeps for *seconds*, so a cancel can land while it is still running.
tests/conformance/server.py:672
Method
slow_discovery
(root: Path, *, reload: bool = False)
tests/fs/test_provider.py:364
Function
slow_elicitation
(message, response_type, params, context)
tests/tasks/client/test_transparent_tasks.py:220
Function
slow_first_answer
(source: str, holder: str, ttl: float)
tests/events/test_sources.py:346
Method
slow_getaddrinfo
(*args, **kwargs)
tests/server/auth/test_ssrf_protection.py:401
Method
slow_refresh
(**_)
tests/server/auth/oauth_proxy/test_refresh_reuse.py:114
Method
slow_save
(name: str)
tests/test_fastmcp_app.py:166
Method
slow_sync_tool
()
tests/tools/test_tool_timeout.py:91
Function
slow_task
()
tests/tasks/server/test_task_ttl.py:35
Method
slow_task
(prefix: str, x: int)
tests/utilities/test_async_utils.py:296
Function
slow_thing
(n: int)
tests/tasks/server/test_task_catalog_transforms.py:33
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:31
Method
soft_fail
()
tests/server/middleware/test_usage.py:436
Method
source_position
(self, source: str)
fastmcp_events/fastmcp_events/log.py:174
Method
source_position
(self, source: str)
fastmcp_events/fastmcp_events/redis_log.py:183
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:633
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:162
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
← previous
next →
7,901–8,000 of 17,519, ranked by callers