Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
10,312 in github.com/PrefectHQ/fastmcp
⨍
Functions
10,312
◇
Types & classes
1,519
↳
Endpoints
103
Function
otel_trace_provider
Configure OTEL SDK with in-memory span exporter for testing. Session-scoped because TracerProvider can only be set once per process.
tests/conftest.py:121
Method
outer
()
tests/server/tasks/test_task_mount.py:926
Method
outer_tool
(x: int)
tests/server/tasks/test_task_meta_parameter.py:260
Method
outer_tool
()
tests/server/tasks/test_resource_task_meta_parameter.py:184
Method
overwritten_get_user
(user_id: str)
tests/server/providers/proxy/test_proxy_server.py:680
Method
overwritten_wave
()
tests/server/providers/proxy/test_proxy_server.py:575
Method
paint
(request: PaintRequest)
tests/server/middleware/test_dereference.py:29
Method
parameter_spec
OpenAPI spec with various parameter types.
tests/server/providers/openapi/test_openapi_features.py:36
Function
parent
(x: int, y: int = 10)
tests/tools/tool_transform/test_tool_transform.py:702
Method
parent_fn
(x: int)
tests/test_json_schema_generation.py:54
Method
parent_lifespan
(_mcp: FastMCP)
tests/server/mount/test_advanced.py:480
Function
parent_server
Create a parent server with the child mounted.
tests/server/tasks/test_task_mount.py:84
Function
parent_server_no_prefix
Create a parent server with child mounted without prefix.
tests/server/tasks/test_task_mount.py:100
Function
parent_tool
(cool_model: CoolModel)
tests/tools/tool_transform/test_tool_transform.py:522
Function
parent_tool
A tool on the parent server.
tests/server/tasks/test_task_mount.py:89
Method
parent_with_imported_child
Create a parent server with an imported child server (prefixed).
tests/server/middleware/test_caching.py:562
Method
parent_with_modes
Create a parent server with the child mounted.
tests/server/tasks/test_task_mount.py:622
Method
parse_path_with_object
Parse path:object syntax and extract the object name. This validator runs before the model is created, allowing us to handle the "fil
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/sources/filesystem.py:29
Method
patched_resolve
(name: str, start_dir: Path | None = None)
tests/cli/test_discovery.py:629
Method
path_route
(self)
tests/utilities/openapi/test_director.py:1064
Method
path_tool
()
tests/server/providers/local_provider_tools/test_local_provider_tools.py:92
Method
pattern_match_tool
(context: Context)
tests/client/test_elicitation.py:735
Method
pattern_string
(self)
tests/utilities/json_schema_type/test_constraints.py:29
Function
pick_color
(context: Context)
tests/client/test_elicitation.py:182
Function
pick_priority
(context: Context)
tests/client/test_elicitation.py:158
Function
picker
AppBridge host page — loads the picker app in an iframe and wires the bridge.
fastmcp_slim/fastmcp/cli/apps_dev.py:1382
Function
picker_app
Prefab picker UI — tool list with one tab per UI tool.
fastmcp_slim/fastmcp/cli/apps_dev.py:1401
Function
ping
()
tests/experimental/transforms/test_code_mode_serialization.py:127
Function
ping
()
tests/experimental/transforms/test_code_mode_discovery.py:155
Function
ping
()
tests/experimental/transforms/test_code_mode.py:107
Function
ping
Simple ping tool - always succeeds.
examples/diagnostics/server.py:78
Method
ping_remote
( _request: mcp.types.PingRequest, )
fastmcp_slim/fastmcp/server/providers/proxy.py:930
Function
pkce_challenge
Create a PKCE challenge with code_verifier and code_challenge.
tests/server/test_auth_integration_errors.py:259
Function
pkce_challenge
Create a PKCE challenge with code_verifier and code_challenge.
tests/server/test_auth_integration.py:264
Method
plain_fn
(x: int)
tests/server/sampling/test_prepare_tools.py:87
Function
plan_dinner
Plan a dinner menu, asking the user what they're in the mood for.
examples/task_elicitation.py:41
Function
post
Create a post with optional rich features like images, quotes, replies, and rich text. Examples: - Simple post: post("Hello world!")
examples/atproto_mcp/src/atproto_mcp/server.py:49
Function
post_headers
(request: Request)
tests/client/test_openapi.py:26
Method
post_spec_with_empty_content_schema
OpenAPI spec where a POST endpoint has an empty content_schema.
tests/server/providers/openapi/test_comprehensive.py:774
Method
power
Raise a to the power of b.
tests/server/middleware/test_tool_injection.py:131
Method
premium_tool
()
tests/server/test_session_visibility.py:578
Method
prepare
Prepare the environment (optional, can be no-op). Args: output_dir: Directory for persistent environment setup
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/environments/base.py:23
Method
primitive_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:184
Function
print_notification
Callback function for push notifications from server. This is called automatically when the server sends notifications/tasks/status. Deduplic
examples/tasks/client.py:51
Method
private_prompt
(secret: str)
tests/server/middleware/test_middleware.py:415
Method
private_resource
()
tests/server/middleware/test_middleware.py:353
Method
private_template
(x: str)
tests/server/middleware/test_middleware.py:385
Method
private_tool
(secret: str)
tests/server/middleware/test_middleware.py:323
Function
process
Process data (v1 - uppercase only).
examples/versioning/version_filters.py:24
Method
process
(value: int)
tests/server/tasks/test_task_mount.py:463
Function
process_data
(value: int, config: str = Depends(fetch_config))
tests/server/test_dependencies.py:201
Method
process_data
Process some data.
tests/server/test_input_validation.py:213
Method
process_data
( name: str, age: int, scores: list[float], metadata: dict[str
tests/prompts/test_prompt.py:240
Method
process_image
(image: bytes)
tests/server/providers/local_provider_tools/test_parameters.py:101
Method
process_list
(items: list[int])
tests/deprecated/test_tool_serializer.py:30
Method
process_optional
Process an optional value.
tests/server/test_input_validation.py:296
Method
production_tool
()
tests/utilities/test_inspect.py:434
Method
production_tool
()
tests/server/mount/test_filtering.py:47
Method
progress
Send a progress notification.
fastmcp_slim/fastmcp/client/client.py:826
Function
progress_handler
( progress: float, total: float | None, message: str | None )
tests/client/test_progress.py:39
Method
progress_handler
( progress: float, total: float | None, message: str | None )
tests/server/providers/proxy/test_proxy_client.py:272
Function
progress_tool
(context: Context)
tests/client/test_progress.py:20
Function
progress_tool
(context: Context)
tests/server/middleware/test_middleware_nested.py:143
Function
progress_tool
(context: Context)
tests/server/middleware/test_middleware.py:142
Method
progress_tool
(context: Context)
tests/server/middleware/test_middleware_nested.py:196
Method
progress_tool
(ctx: Context)
tests/server/tasks/test_context_background_task.py:210
Function
project_overview
Show project details organized in tabs.
examples/apps/patterns_server.py:430
Method
prompt
( self: LocalProvider, name_or_fn: F, *, name: str | None = None, vers
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/prompts.py:74
Method
prompt_1
()
tests/server/providers/test_local_provider_prompts.py:424
Method
prompt_2
()
tests/server/providers/test_local_provider_prompts.py:428
Method
prompt_all
(self)
tests/contrib/test_mcp_mixin.py:184
Method
prompt_all_p
(self)
tests/contrib/test_mcp_mixin.py:212
Method
prompt_cust
(self)
tests/contrib/test_mcp_mixin.py:245
Method
prompt_fn
(input: str)
tests/test_json_schema_generation.py:162
Method
prompt_fn
(name: str, ctx: Context)
tests/server/providers/test_local_provider_prompts.py:20
Method
prompt_one
()
tests/server/providers/test_fastmcp_provider.py:239
Function
prompt_return_server
Server with prompts that return various message structures.
tests/server/tasks/test_task_return_types.py:140
Function
prompt_server
Create a test server with background-enabled prompts.
tests/client/tasks/test_client_prompt_tasks.py:15
Function
prompt_server
Create a FastMCP server with task-enabled prompts.
tests/server/tasks/test_task_prompts.py:15
Method
prompt_two
()
tests/server/providers/test_fastmcp_provider.py:243
Method
prompt_with_annotated
( required: Annotated[str, Field(description="Required parameter")], optional: Annotat
tests/prompts/test_prompt.py:742
Method
prompt_with_ctx
(topic: str, ctx: Context)
tests/server/test_dependencies_advanced.py:280
Method
prompt_with_defaults
( required: str = Field(description="Required parameter"), optional: str = Field(
tests/prompts/test_prompt.py:724
Method
prompt_with_multiple_defaults
( name: str = Field(description="Name"), greeting: str = Field(default="Hello", descri
tests/prompts/test_prompt.py:758
Function
prompt_with_server_dependency
Background prompt that uses CurrentFastMCP dependency.
tests/server/tasks/test_task_dependencies.py:59
Method
prompt_with_typed_defaults
( count: int = Field(description="Count"), multiplier: int = Field(default=2, descript
tests/prompts/test_prompt.py:785
Method
properties_with_additional
Schema with properties AND additionalProperties=True -> BaseModel
tests/utilities/json_schema_type/test_advanced.py:623
Method
properties_without_additional
Schema with properties but no additionalProperties -> dataclass
tests/utilities/json_schema_type/test_advanced.py:637
Function
protected
()
tests/experimental/transforms/test_code_mode.py:542
Method
protected
()
tests/server/transforms/test_catalog.py:237
Method
protected_resource
()
tests/server/transforms/test_resources_as_tools.py:275
Method
protected_tool
()
tests/server/auth/test_authorization.py:282
Method
protected_tool
()
tests/server/auth/test_authorization.py:555
Method
protected_tool
(x: int)
tests/server/auth/test_authorization.py:685
Method
protected_tool
()
tests/server/auth/oauth_proxy/test_e2e.py:41
Method
provider_tool
()
tests/server/providers/test_local_provider.py:788
Method
proxy
Create an OAuth proxy for testing.
tests/server/auth/oauth_proxy/test_tokens.py:1016
Method
proxy
(self, mock_verifier)
tests/server/auth/oauth_proxy/test_tokens.py:1274
Function
proxy_client_factory
()
fastmcp_slim/fastmcp/server/providers/proxy.py:864
Function
proxy_mcp
Proxy all MCP requests to the user's server (avoids browser CORS).
fastmcp_slim/fastmcp/cli/apps_dev.py:1512
← previous
next →
3,801–3,900 of 10,312, ranked by callers