MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,224 in github.com/PrefectHQ/fastmcp

Methoddeclared_status
()
tests/server/providers/proxy/test_proxy_server.py:1289
Methoddecline_handler
(message, response_type, params, ctx)
tests/server/test_mrtr_guards.py:374
Methoddecorate_and_register
( fn: AnyFunction, prompt_name: str | None )
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/prompts.py:164
Methoddecorate_and_register
( fn: AnyFunction, tool_name: str | None )
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/tools.py:280
Methoddecorated_template
(ctx: Context, item_id: int)
tests/resources/test_resource_template.py:791
Methoddecorated_tool
(ctx: Context, query: str)
tests/server/providers/local_provider_tools/test_context.py:153
Functiondecorator
(func: Callable[..., Any])
fastmcp_slim/fastmcp/contrib/mcp_mixin/mcp_mixin.py:74
Functiondecorator
(fn: F)
fastmcp_slim/fastmcp/resources/function_resource.py:271
Functiondecorator
(fn)
examples/custom_tool_serializer_decorator.py:23
Methoddecorator
( fn: Callable[[Request], Awaitable[Response]], )
fastmcp_slim/fastmcp/server/mixins/transport.py:164
Methoddecorator
(fn: AnyFunction)
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/resources.py:172
Methoddeep_tool
()
tests/tasks/server/test_task_mount.py:347
Methoddeep_tool
()
tests/server/mount/test_advanced.py:366
Functiondeepobject_spec
OpenAPI spec with deepObject parameter style.
tests/utilities/openapi/conftest.py:131
Methoddeepobject_spec
OpenAPI spec with deepObject style parameters.
tests/server/providers/openapi/test_deepobject_style.py:27
Functiondefault_headers
()
tests/server/http/test_http_dependencies.py:183
Functiondefault_lifespan
Default lifespan context manager that does nothing. Args: server: The server instance this lifespan is managing Returns: An
fastmcp_slim/fastmcp/server/server.py:347
Functiondefault_proxy_log_handler
Forward log notification from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:1756
Functiondefault_proxy_message_handler
Forward list-changed notifications from remote server to proxy's connected clients. Logging and progress have dedicated handlers; the tool, resou
fastmcp_slim/fastmcp/server/providers/proxy.py:1786
Functiondefault_proxy_progress_handler
Forward progress notification from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:1769
Functiondefault_proxy_roots_handler
Forward list roots request from remote server to proxy's connected clients. A handshake-era backend can still issue `roots/list`, and the proxy i
fastmcp_slim/fastmcp/server/providers/proxy.py:1679
Functiondefault_proxy_sampling_handler
Forward sampling request from remote server to proxy's connected clients. Relays through the SDK session for the same reason as `default_prox
fastmcp_slim/fastmcp/server/providers/proxy.py:1697
Functiondefault_tool
()
tests/tasks/server/test_server_tasks_parameter.py:79
Methoddefinition_ref_schema
Inline references to shared enums; enum definitions are never emitted.
fastmcp_slim/fastmcp/server/elicitation.py:59
Methoddefinitions_schema
Record shared enum definitions so references to them can be inlined.
fastmcp_slim/fastmcp/server/elicitation.py:50
Functiondelete_file
(path: str)
tests/server/test_file_server.py:69
Functiondelete_item
Remove an item by ID and return the remaining inventory.
examples/apps/inventory/inventory_server.py:195
Functiondelete_record
Delete a record from the database by its ID.
tests/server/transforms/test_search.py:55
Methoddelete_record
Delete a record.
tests/experimental/transforms/test_jev_search.py:365
Functiondelete_records
(marker: str)
tests/cli/test_fastmcp_remote.py:274
Functiondemo
A demo app that exercises various MCP message types.
examples/apps/inspector_demo.py:31
Functiondeny
(path: Path)
tests/skills/test_directory_provider.py:199
Methoddeny_blocked_prompt
(ctx: AuthContext)
tests/server/auth/test_authorization.py:704
Methoddeny_blocked_resource
(ctx: AuthContext)
tests/server/auth/test_authorization.py:662
Methoddeny_blocked_resource_template
(ctx: AuthContext)
tests/server/auth/test_authorization.py:682
Methoddeny_blocked_tool
(ctx: AuthContext)
tests/server/auth/test_authorization.py:642
Methoddeny_tenant
(ctx: AuthContext)
tests/server/auth/test_authorization.py:1270
Functiondependency
(value: int = Depends(resource))
tests/tools/tool_transform/test_generator_execution.py:32
Functiondependency
()
tests/server/test_generator_dependency_lifetime.py:79
Functiondependency_server
A FastMCP server with dependency-using background tools.
tests/tasks/server/test_task_dependencies.py:34
Functiondescribe
Describe a pet from a discriminated union.
tests/cli/test_client_commands.py:813
Functiondescribe
(color: _Color, when: datetime.datetime)
tests/tasks/server/test_task_tools.py:218
Functiondescribe
(role: str = CallArgument())
tests/server/test_call_arguments.py:174
Functiondescribe
(topic: str, config: Config)
tests/server/test_annotated_dependencies.py:54
Functiondescribed_query
(query: str = Field(description="the query"))
tests/tasks/server/test_task_tools.py:179
Methoddescription
(self)
fastmcp_slim/fastmcp/skills/models.py:95
Methoddescription
(self)
fastmcp_slim/fastmcp/skills/skill.py:380
Functiondesktop
List the files in the user's desktop
examples/desktop.py:16
Methoddevelopment_tool
()
tests/utilities/test_inspect.py:440
Methoddict_lifespan
(app: Any)
tests/server/test_server_lifespan.py:533
Methoddict_only_schema
Schema with no properties but additionalProperties=True -> dict[str, Any]
tests/utilities/json_schema_type/test_advanced.py:1269
Functiondict_tool
()
tests/client/client/test_client.py:918
Methoddict_tool
(x: int)
tests/tools/tool_transform/test_schemas.py:49
Methoddict_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:287
Methoddirector
Create a RequestDirector instance.
tests/utilities/openapi/test_director.py:151
Methoddirector
(self, basic_openapi_30_spec)
tests/utilities/openapi/test_director.py:430
Methoddirector
(self, basic_openapi_30_spec)
tests/utilities/openapi/test_director.py:641
Methoddirector
(self, basic_openapi_30_spec)
tests/utilities/openapi/test_director.py:1150
Methoddirector
(self)
tests/utilities/openapi/test_director.py:1255
Methoddirector
(self)
tests/utilities/openapi/test_director.py:1500
Functiondisable_components
Disable components matching criteria for this session only. Session rules override global transforms. Rules accumulate - each call adds a new
fastmcp_slim/fastmcp/server/transforms/visibility.py:474
Methoddisable_delete
Helper tool to disable delete_record for this session.
tests/server/transforms/test_search.py:208
Methoddisable_system
(ctx: Context)
tests/server/test_session_visibility.py:756
Functiondisabled_by_name
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:130
Functiondisabled_by_tag
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:136
Functiondisabled_in_a_mounted_server
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:148
Methoddisabled_manager
Create a disabled CIMDClientManager for testing.
tests/server/auth/test_cimd_validators.py:478
Functiondisabled_on_the_provider
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:142
Methoddisabled_prompt
()
tests/server/providers/test_local_provider.py:547
Methoddisabled_resource
()
tests/server/providers/test_local_provider.py:436
Methoddisabled_template
(id: str)
tests/server/providers/test_local_provider.py:474
Methoddisabled_tool
()
tests/server/providers/test_local_provider.py:345
Functiondiscover_command
Discover MCP servers configured in editor and project configs. Scans Claude Desktop, Claude Code, Cursor, Gemini CLI, Goose, and project-leve
fastmcp_slim/fastmcp/cli/client.py:1080
Functiondiscovery_document
()
tests/server/auth/test_oidc_discovery_cache.py:18
Methoddispatch
( key: str, req: mcp_types.InputRequest )
fastmcp_slim/fastmcp/client/client.py:1407
Methoddispatch
(self, request: Request, call_next: Callable)
tests/server/http/test_http_middleware.py:28
Methoddispatch
(self, request: Request, call_next: Callable)
tests/server/http/test_http_middleware.py:42
Methoddispatch
(self, request: Request, call_next: Callable)
tests/server/http/test_http_middleware.py:234
Methoddisplay
()
tests/test_fastmcp_app.py:566
Functiondivide
Divide a by b.
tests/downstream/server.py:74
Methoddivide
Divide two numbers.
tests/tools/tool/test_title.py:91
Functiondivide_fn
Divide two numbers.
tests/server/middleware/test_tool_injection.py:32
Functiondo_elicit
(ctx: Context)
tests/server/test_protocol_eras.py:216
Functiondo_log
(ctx: Context)
tests/server/test_protocol_eras.py:222
Methoddo_something
(self, x: int)
tests/utilities/test_typeadapter.py:41
Methoddo_something_annotated
( self, x: Annotated[int, Field(description="A description")] )
tests/utilities/test_typeadapter.py:44
Methoddo_something_return_none
(self)
tests/utilities/test_typeadapter.py:49
Methoddo_thing
()
tests/server/test_input_validation.py:759
Functiondoc
(name: str)
tests/downstream/server.py:177
Methoddoc
(name: str)
tests/resources/test_resource_template.py:1768
Methoddocket
The Docket instance owned by this server, if the tasks extension is active. Returns the Docket that the tasks extension initialized as the ro
fastmcp_slim/fastmcp/server/mixins/lifespan.py:43
Functiondocket_available
(request: pytest.FixtureRequest, monkeypatch: pytest.MonkeyPatch)
tests/server/test_shared_context.py:15
Methoddocket_settings
The resolved Docket settings (backend URL, worker options).
fastmcp_tasks/fastmcp_tasks/extension.py:139
Functiondocument
()
tests/cli/test_content_json.py:139
Functiondocument
(name: str)
tests/server/mount/test_resources.py:305
Functiondocument_template
(name: str)
tests/server/mount/test_resources.py:477
Methoddocumented_prompt
( text: Annotated[str, Field(description="Text")], )
tests/prompts/test_prompt.py:424
Functiondouble
(value: int)
tests/integration_tests/test_task_credentials.py:104
Functiondouble
(value: int)
tests/downstream/smoke_redis_credentials.py:158
Functiondouble
(n: int)
tests/tasks/client/test_task_tracing.py:22
← previousnext →4,601–4,700 of 16,224, ranked by callers