MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions17,519 in github.com/PrefectHQ/fastmcp

Functionsse_server
Start a test server with SSE transport.
tests/client/test_openapi.py:57
Functionsse_server
Start a test server with SSE transport.
tests/server/http/test_http_dependencies.py:70
Functionsse_server_custom_path
Start a test server with SSE on a custom path, in-process.
tests/client/test_sse.py:90
Methodstable
()
tests/server/middleware/test_caching.py:856
Methodstaged
(ctx: Context)
tests/server/test_mrtr_guards.py:962
Functionstale_listing
(client: Client)
tests/events/test_param_headers.py:242
Methodstale_res
()
tests/server/test_cache_hints.py:331
Methodstale_resource
()
tests/server/test_cache_hints.py:231
Functionstall_list_tools
()
tests/tasks/client/test_client_tool_tasks.py:123
Functionstamp
Structured output whose schema writes a count as a float.
tests/downstream/server.py:168
Methodstandalone
()
tests/resources/test_standalone_decorator.py:126
Methodstandalone
()
tests/server/transforms/test_catalog.py:170
Methodstandalone_app
()
tests/test_apps.py:343
Methodstandalone_function
A standalone function to be registered.
tests/server/providers/test_local_provider_prompts.py:261
Methodstandalone_function
A standalone function to be registered.
tests/server/providers/local_provider_tools/test_decorator.py:267
Methodstandalone_tool
()
tests/server/test_server.py:98
Methodstart
( self, page_size: int | None, namespace: str | None, via: str, data )
tests/pbt/test_components_machine.py:156
Functionstash
(value: str, ctx: Context)
tests/tasks/server/test_task_dependencies.py:347
Functionstateful_get
get the value associated with the server session
tests/server/providers/proxy/test_stateful_proxy_client.py:49
Functionstateful_proxy_server
(fastmcp_server: FastMCP)
tests/server/providers/proxy/test_stateful_proxy_client.py:61
Functionstateful_put
put a value associated with the server session
tests/server/providers/proxy/test_stateful_proxy_client.py:40
Functionstateless_server
(stateful_proxy_server: FastMCP)
tests/server/providers/proxy/test_stateful_proxy_client.py:74
Methodstatic_add
Add two numbers (static tool).
tests/server/test_providers.py:91
Functionstatic_binary_resource
Returns a binary PNG image.
tests/conformance/server.py:795
Methodstatic_subtract
Subtract two numbers (static tool).
tests/server/test_providers.py:96
Functionstatic_text_resource
Returns static text content.
tests/conformance/server.py:785
Methodstatic_tool
()
tests/contrib/test_mcp_mixin.py:383
Methodstatic_tool
(name: str, ctx: Context)
tests/server/test_dependencies_advanced.py:202
Methodstats
()
tests/tools/tool/test_nonfinite_serialization.py:59
Methodstats
()
tests/tools/tool/test_nonfinite_serialization.py:94
Methodstats
()
tests/tools/tool/test_nonfinite_serialization.py:184
Functionstatus
( topic: str, role: str = Depends(get_role), summary: str = Depends(describe), )
tests/server/test_call_arguments.py:178
Functionstatus
()
tests/server/providers/test_prefab_without_dependency.py:35
Methodstatus
()
tests/server/providers/proxy/test_proxy_server.py:1460
Functionstatus_module
()
tests/test_maintenance_status.py:8
Functionstatus_resource
Status resource - always succeeds.
examples/diagnostics/server.py:84
Functionstdio_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
Methodstdio_script
(self)
tests/client/test_stdio.py:222
Methodstdio_script
(self)
tests/client/test_stdio.py:274
Methodstdio_script
(self)
tests/client/test_stdio.py:657
Methodstdio_script_with_stderr
(self, tmp_path)
tests/client/test_stdio.py:916
Methodstop_on_owning_loop
()
fastmcp_slim/fastmcp/client/transports/stdio.py:265
Functionstorage
Create a fresh in-memory storage for each test.
tests/server/auth/test_oauth_consent_flow.py:68
Functionstore
(name: str)
tests/apps/test_file_upload_retention.py:205
Functionstore
( data: str, bucket: str = Depends(get_bucket, region="eu-west-1") )
tests/server/test_call_arguments.py:94
Functionstore
(value: str, session: UserSession)
tests/server/auth/test_auth_source_identities.py:215
Functionstore_and_read
Store a value and return session info.
tests/server/middleware/test_initialization_middleware.py:400
Methodstore_and_read
Store a value and return all state info.
tests/server/test_context.py:210
Methodstore_files
Store uploaded files. Receives file objects with name, size, type, data (base64).
fastmcp_slim/fastmcp/apps/file_upload.py:363
Functionstr_or_int
(value: str | int)
tests/cli/test_generate_cli_arguments.py:273
Methodstr_resource
()
tests/resources/test_resources.py:478
Functionstream
()
tests/events/test_push_lifecycle.py:86
Functionstream
()
tests/tasks/server/test_task_async_generator_tools.py:62
Methodstream_response
(self, *args: Any, **kwargs: Any)
tests/downstream/smoke_openai_agents.py:84
Functionstreamable_http_server
Start a test server and return its URL.
tests/client/test_streamable_http.py:88
Functionstreamable_http_server
Start OAuth-enabled server.
tests/client/auth/test_oauth_client.py:71
Functionstreamable_http_server
Start a test server and return its URL.
tests/integration_tests/test_timeout_fix.py:27
Functionstreamable_http_server_with_streamable_http_alias
Test that the "streamable-http" transport alias works.
tests/client/test_streamable_http.py:105
Functionstrict_read_text
(self: Path, *args: Any, **kwargs: Any)
tests/test_mcp_config.py:486
Functionstrict_read_text
(self: Path, *args, **kwargs)
tests/server/providers/test_skills_provider.py:1162
Functionstrict_typed_prompt
Expects list of integers but will receive invalid JSON.
tests/client/client/test_client.py:293
Functionstrict_write_text
(self: Path, data: str, *args: Any, **kwargs: Any)
tests/test_mcp_config.py:493
Methodstring_array
(self)
tests/utilities/json_schema_type/test_containers.py:26
Methodstring_const
(self)
tests/utilities/json_schema_type/test_advanced.py:831
Methodstring_only_prompt
(message: str, name: str)
tests/prompts/test_prompt.py:538
Functionstring_tool
()
tests/utilities/json_schema_type/test_caching.py:154
Methodstring_tool
(x: int)
tests/tools/tool_transform/test_schemas.py:56
Methodstring_tool
()
tests/server/providers/local_provider_tools/test_local_provider_tools.py:56
Functionstructured_output
()
tests/downstream/smoke_pydantic_ai.py:114
Functionstructured_output
()
tests/downstream/smoke_openai_agents.py:114
Functionstructured_output
()
tests/downstream/smoke_langchain_mcp.py:155
Functionstructured_output
()
tests/downstream/smoke_agent_framework.py:95
Functionstructured_output
()
tests/downstream/smoke_langchain_mcp_adapters.py:116
Functionstructured_output
()
tests/downstream/smoke_agno.py:115
Functionstructured_type_server
Server with tools returning structured types.
tests/tasks/server/test_task_return_types.py:297
Functionstyled_prompt
( query: str, ctx: Context, style: str = Depends(get_style) )
tests/server/test_dependencies.py:317
Methodsub_prompt
()
tests/server/mount/test_mount.py:177
Methodsub_resource
()
tests/server/mount/test_mount.py:137
Methodsub_template
(user_id: str)
tests/server/mount/test_mount.py:157
Functionsub_tool
()
tests/server/test_tool_transformation.py:114
Methodsub_tool
()
tests/server/mount/test_proxy.py:119
Methodsub_tool
()
tests/server/mount/test_mount.py:81
Functionsubmit
(payload: _Payload)
tests/server/middleware/test_error_handling.py:839
Functionsubmit_answer
Grade an answer and return the updated quiz state. Returns a dict with: - is_correct: whether the selected answer matched the correct index
examples/apps/quiz/quiz_server.py:79
Methodsubmit_form
Validate and process form submission.
fastmcp_slim/fastmcp/apps/form.py:151
Functionsubstitute
(match: re.Match[str])
fastmcp_slim/fastmcp/resources/template.py:344
Functionsubtract
(a: int, b: int)
tests/test_mcp_config.py:1695
Functionsubtract
(a: int, b: int)
tests/experimental/transforms/test_code_mode_serialization.py:381
Functionsubtract
Subtract numbers.
tests/experimental/transforms/test_code_mode_discovery.py:486
Methodsubtract
(a: int, b: int)
tests/tasks/server/test_task_mount.py:357
Methodsubtract
Subtract two numbers.
tests/server/middleware/test_tool_injection.py:57
Methodsum_numbers
Sum a list of numbers.
tests/server/test_input_validation.py:526
Methodsum_numbers
Calculate the sum of a list of numbers.
tests/prompts/test_prompt.py:270
Functionsum_tool
A tool that returns structured output.
tests/contrib/test_bulk_tool_caller.py:70
Functionsummarize
(topic: str)
tests/server/test_protocol_eras.py:67
Functionsummarize
(ctx: Context)
tests/server/middleware/test_caching_guards.py:68
Functionsummarize
(topic: str)
tests/server/middleware/test_error_handling.py:773
Functionsummarize
(text: str)
examples/versioning/versioned_components.py:55
Methodsummarize
(text: str)
tests/server/test_context.py:535
Methodsummarize
(ctx: Context)
tests/server/test_mrtr_guards_components.py:74
← previousnext →8,001–8,100 of 17,519, ranked by callers