Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
10,524 in github.com/PrefectHQ/fastmcp
⨍
Functions
10,524
◇
Types & classes
1,545
↳
Endpoints
103
Method
connect_session
( self, **session_kwargs: Unpack[SessionKwargs] )
fastmcp_slim/fastmcp/client/transports/stdio.py:71
Method
connect_session
( self, **session_kwargs: Any )
tests/client/client/test_client.py:455
Function
contact_form
Show a form to create a new contact, with a live contact list below.
examples/apps/patterns_server.py:312
Method
contact_form
()
tests/test_fastmcp_app.py:865
Method
contact_form
()
tests/server/providers/test_prefab_roundtrip.py:34
Method
contact_form
()
tests/server/providers/test_prefab_synthesis.py:143
Function
contact_manager
Open the contact manager. The model calls this to launch the app.
examples/apps/contacts/contacts_server.py:103
Function
context
()
tests/server/test_context.py:17
Function
context_sync_access
(ctx: Context)
tests/server/tasks/test_concurrent_dependencies.py:201
Function
controlled_tool
Tool with controlled execution.
tests/client/tasks/test_client_task_protocol.py:21
Function
convert_schema_definitions
Convert a dictionary of OpenAPI schema definitions to JSON Schema. Args: schema_definitions: Dictionary of schema definitions
fastmcp_slim/fastmcp/utilities/openapi/json_schema_converter.py:328
Method
cookie_route
(self)
tests/utilities/openapi/test_director.py:1409
Function
coordinated_tool
Tool with coordination points.
tests/server/tasks/test_task_tools.py:150
Method
count_provider_tools
(server)
tests/server/providers/openapi/test_performance_comparison.py:256
Function
count_to_ten
(progress: Progress = Progress())
tests/server/tasks/test_progress_dependency.py:52
Method
count_tools
Return the number of real tools in the catalog.
tests/server/transforms/test_catalog.py:84
Method
counting_list
()
tests/server/providers/proxy/test_proxy_server.py:1043
Function
counting_prompt
()
tests/client/tasks/test_task_result_caching.py:45
Function
counting_resource
()
tests/client/tasks/test_task_result_caching.py:72
Function
counting_tool
()
tests/client/tasks/test_task_result_caching.py:18
Method
crazy
(self, a: CrazyModel)
tests/server/middleware/test_caching.py:132
Function
crazy_model
()
tests/server/middleware/test_caching.py:94
Function
create_button_group
Create a group of buttons. Args: buttons: List of (text, value, css_class) tuples Returns: HTML for button group
fastmcp_slim/fastmcp/utilities/ui.py:591
Method
create_invoice
(amount: int)
tests/test_fastmcp_app.py:797
Function
create_item
Create a new item.
tests/server/test_tool_annotations.py:171
Function
create_item
Create a new item.
tests/deprecated/test_exclude_args.py:46
Method
create_project
()
tests/server/test_session_visibility.py:670
Method
create_resource
Create a resource from the template with the given parameters.
fastmcp_slim/fastmcp/resources/template.py:438
Method
create_resource
Create a FastMCPProviderResource for the given URI. The `uri` is the external/transformed URI (e.g., with namespace prefix). We use `
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:368
Method
create_resource
Create a resource from the template by calling the remote server.
fastmcp_slim/fastmcp/server/providers/proxy.py:387
Method
create_resource
Create a resource with the given parameters.
fastmcp_slim/fastmcp/server/providers/openapi/components.py:395
Method
create_resource
Create a resource for the given URI and parameters. Note: This is not typically used since _read() handles file reading directly. Pro
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:115
Function
create_thread
Create a thread of posts with automatic linking. The first post becomes the root of the thread, and each subsequent post replies to the previ
examples/atproto_mcp/src/atproto_mcp/server.py:129
Function
create_thread
Create a thread of posts with automatic linking. Args: posts: List of posts to create as a thread. First post is the root.
examples/atproto_mcp/src/atproto_mcp/_atproto/_posts.py:329
Function
create_user
(name: str, email: str)
tests/deprecated/test_import_server.py:401
Function
create_user
Create a user - admin only
examples/tags_example.py:26
Method
create_user
Create a new user.
tests/tools/tool/test_tool.py:191
Method
create_user
Create a user from a profile.
tests/server/test_input_validation.py:121
Method
create_user
(profile: UserProfile)
tests/server/test_input_validation.py:359
Function
creative_prompt
Generate a creative writing prompt.
tests/client/tasks/test_client_prompt_tasks.py:25
Method
ctx_tool
A sync tool with context that uses barrier to prove concurrency.
tests/tools/tool/test_callable.py:88
Method
current
Current progress value.
fastmcp_slim/fastmcp/server/dependencies.py:1117
Method
current
(self)
fastmcp_slim/fastmcp/server/dependencies.py:1169
Method
current
Current progress value.
fastmcp_slim/fastmcp/server/dependencies.py:1241
Function
custom
(final_x: int, **kwargs)
tests/tools/tool_transform/test_args.py:49
Method
custom_analysis
(text: str)
tests/utilities/test_inspect.py:166
Method
custom_auth_check
(ctx: AuthContext)
tests/server/auth/test_authorization.py:170
Method
custom_decorator
(func)
tests/resources/test_resource_template.py:728
Method
custom_decorator
(func)
tests/server/providers/local_provider_tools/test_context.py:142
Method
custom_error_tool
()
tests/client/client/test_error_handling.py:69
Function
custom_fn
(x: str = "function_default", **kwargs)
tests/tools/tool_transform/test_args.py:136
Function
custom_fn
(new_x: int, **kwargs)
tests/tools/tool_transform/test_tool_transform.py:186
Method
custom_fn
(x: int)
tests/tools/tool_transform/test_schemas.py:114
Method
custom_level_prompt
()
tests/client/client/test_error_handling.py:369
Method
custom_level_resource
()
tests/client/client/test_error_handling.py:324
Method
custom_level_sampling_tool
(x: int)
tests/client/client/test_error_handling.py:412
Method
custom_level_tool
()
tests/client/client/test_error_handling.py:279
Function
custom_lifespan
(server: FastMCP)
tests/server/test_server_docket.py:203
Function
custom_prompt
(topic: str, tone: str = Depends(get_tone))
tests/server/test_dependencies.py:298
Method
custom_route
Decorator to register a custom HTTP route on the FastMCP server. Allows adding arbitrary HTTP endpoints outside the standard MCP pro
fastmcp_slim/fastmcp/server/mixins/transport.py:132
Method
custom_route
(request: Request)
tests/server/http/test_custom_routes.py:17
Method
custom_serializer
(_: Any)
tests/server/middleware/test_logging.py:372
Method
custom_serializer
(data)
tests/deprecated/test_tool_serializer.py:27
Method
custom_serializer
(data)
tests/deprecated/test_tool_serializer.py:74
Method
custom_serializer_that_fails
(data)
tests/deprecated/test_tool_serializer.py:57
Function
custom_tool_server
Create a server with custom tool subclasses.
tests/server/tasks/test_custom_subclass_tasks.py:55
Method
custom_ttl_tool
()
tests/server/tasks/test_task_meta_parameter.py:229
Method
dashboard
()
tests/test_fastmcp_app.py:179
Method
dashboard
()
tests/test_fastmcp_app.py:696
Method
dashboard
()
tests/test_fastmcp_app.py:821
Method
dashboard
()
tests/test_apps.py:514
Method
data
()
tests/test_apps.py:324
Method
data
()
tests/server/versioning/test_filtering.py:395
Function
data_explorer
Open the data explorer. Browse, filter, and visualize sales data.
examples/apps/explorer/explorer_server.py:361
Function
data_file
A parameterized data resource.
tests/client/tasks/test_client_resource_tasks.py:25
Method
data_prompt
(value: int)
tests/prompts/test_prompt.py:287
Method
data_resource
Get data.
tests/deprecated/test_tool_injection_middleware.py:161
Function
data_template
(item_id: str)
tests/deprecated/test_import_server.py:656
Method
data_uri_tool
Tool with data URI icon.
tests/utilities/test_inspect_icons.py:249
Method
dataclass_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:235
Method
datetime_format
(self)
tests/utilities/json_schema_type/test_formats.py:22
Method
datetime_tool
()
tests/server/providers/local_provider_tools/test_local_provider_tools.py:104
Method
db_lifespan
(app: Any)
tests/server/test_server_lifespan.py:380
Method
deactivate
(ctx: Context)
tests/server/test_session_visibility.py:429
Function
deactivate_all
Deactivate all namespaces, returning to defaults.
examples/namespace_activation/server.py:62
Method
deactivate_internal
(ctx: Context)
tests/server/test_session_visibility.py:87
Method
decorate_and_register
( fn: AnyFunction, prompt_name: str | None )
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/prompts.py:169
Method
decorate_and_register
( fn: AnyFunction, tool_name: str | None )
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/tools.py:310
Method
decorated_template
(ctx: Context, item_id: int)
tests/resources/test_resource_template.py:736
Method
decorated_tool
(ctx: Context, query: str)
tests/server/providers/local_provider_tools/test_context.py:153
Function
decorator
(func: Callable[..., Any])
fastmcp_slim/fastmcp/contrib/mcp_mixin/mcp_mixin.py:85
Function
decorator
(fn: F)
fastmcp_slim/fastmcp/resources/function_resource.py:342
Function
decorator
(fn: F)
fastmcp_slim/fastmcp/apps/app.py:133
Function
decorator
(fn)
examples/custom_tool_serializer_decorator.py:22
Method
decorator
( func: Callable[ [AnyUrl], Awaitable[mcp.types.ReadResourceResult
fastmcp_slim/fastmcp/server/low_level.py:294
Method
decorator
( fn: Callable[[Request], Awaitable[Response]], )
fastmcp_slim/fastmcp/server/mixins/transport.py:166
Method
decorator
(fn: AnyFunction)
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/resources.py:171
Method
deep_tool
()
tests/server/mount/test_advanced.py:364
Method
deep_tool
()
tests/server/tasks/test_task_mount.py:515
Method
deep_whoami
(server: CurrentFastMCP = CurrentFastMCP())
tests/server/tasks/test_task_mount.py:402
← previous
next →
2,501–2,600 of 10,524, ranked by callers