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
Function
check_excluded_headers
Check that problematic headers are excluded from get_http_headers().
tests/server/http/test_http_dependencies.py:143
Function
check_gemini_cli_available
Check if Gemini CLI is available.
fastmcp_slim/fastmcp/cli/install/gemini_cli.py:64
Function
check_headers
( headers: dict[str, str] = CurrentHeaders(), request: Request = CurrentRequest(), )
tests/server/http/test_http_dependencies.py:195
Function
check_if_auth_required
Check if the MCP endpoint requires authentication by making a test request. Returns: True if auth appears to be required, False othe
fastmcp_slim/fastmcp/client/auth/oauth.py:53
Function
check_meta
A tool that returns the meta from the request context.
tests/client/client/test_client.py:89
Method
check_origin_request_id
(ctx: Context, docket=CurrentDocket())
tests/server/tasks/test_context_background_task.py:259
Function
check_permission
( action: str, admin: str = Depends(get_admin_status) )
tests/server/test_dependencies.py:587
Function
check_request_header
()
tests/server/http/test_http_dependencies.py:177
Method
check_result
(context: Context)
tests/client/test_sampling_result_types.py:246
Method
check_rules
(ctx: Context)
tests/server/test_session_visibility.py:146
Method
check_token
(ctx: Context)
tests/server/tasks/test_context_background_task.py:422
Function
check_worker
( worker: Worker = CurrentWorker(), docket: Docket = CurrentDocket(), )
tests/server/test_server_docket.py:63
Method
child_config
()
tests/server/telemetry/test_provider_tracing.py:55
Method
child_config
()
tests/server/telemetry/test_delegate_method.py:41
Function
child_item_resource
A child resource template that can execute as a task.
tests/server/tasks/test_task_mount.py:76
Method
child_lifespan
(_mcp: FastMCP)
tests/server/mount/test_advanced.py:484
Function
child_prompt
A child prompt that can execute as a task.
tests/server/tasks/test_task_mount.py:66
Method
child_prompt
()
tests/server/telemetry/test_provider_tracing.py:81
Method
child_prompt
()
tests/server/telemetry/test_delegate_method.py:66
Function
child_resource
A child resource that can be read as a task.
tests/server/tasks/test_task_mount.py:71
Function
child_server
Create a child server with task-enabled components.
tests/server/tasks/test_task_mount.py:45
Method
child_tool
()
tests/server/telemetry/test_provider_tracing.py:20
Method
child_tool
()
tests/server/telemetry/test_delegate_method.py:19
Method
child_with_modes
Create a child server with tools in all three TaskConfig modes.
tests/server/tasks/test_task_mount.py:600
Method
choose
Present the user with a set of options to choose from. Call this tool when you need the user to make a decision between discr
fastmcp_slim/fastmcp/apps/choice.py:84
Method
cimd_doc_with_inline_jwks
Create CIMD document with inline JWKS.
tests/server/auth/test_cimd_validators.py:88
Method
cimd_doc_with_jwks_uri
Create CIMD document with jwks_uri.
tests/server/auth/test_cimd_validators.py:78
Function
claude_code_command
Install an MCP server in Claude Code. Args: server_spec: Python file to install, optionally with :object suffix
fastmcp_slim/fastmcp/cli/install/claude_code.py:155
Function
claude_desktop_command
Install an MCP server in Claude Desktop. Args: server_spec: Python file to install, optionally with :object suffix
fastmcp_slim/fastmcp/cli/install/claude_desktop.py:139
Function
clean_schema_for_display
Clean up a schema dictionary for display by removing internal/complex fields.
fastmcp_slim/fastmcp/utilities/openapi/schemas.py:14
Function
clear_progress_messages
()
tests/client/test_progress.py:9
Method
clear_rules
(ctx: Context)
tests/server/test_session_visibility.py:247
Function
client
Client fixture for testing. Uses async context manager and yields client synchronously. No @pytest.mark.asyncio needed - asyncio_mode =
examples/testing_demo/tests/test_server.py:14
Method
client
(self)
tests/tools/tool/test_results.py:15
Method
client
Create a test client for the FastMCP server.
tests/contrib/test_component_manager.py:46
Method
client_id
Get the client ID if available.
fastmcp_slim/fastmcp/server/context.py:615
Method
client_supports_extension
Check if the connected client supports a given MCP extension. Inspects the ``extensions`` extra field on ``ClientCapabilities`` sent
fastmcp_slim/fastmcp/server/low_level.py:56
Method
client_test_tool
(x: int)
tests/server/tasks/test_task_meta_parameter.py:193
Function
client_unauthorized
(streamable_http_server: str)
tests/client/auth/test_oauth_client.py:57
Function
client_with_headless_oauth
Client with headless OAuth that bypasses browser interaction.
tests/client/auth/test_oauth_client.py:62
Function
client_with_headless_oauth
Client with headless OAuth that bypasses browser interaction.
tests/server/auth/providers/test_descope.py:215
Function
client_with_headless_oauth
Client with headless OAuth that bypasses browser interaction.
tests/server/auth/providers/test_supabase.py:185
Function
client_with_headless_oauth
Client with headless OAuth that bypasses browser interaction.
tests/server/auth/providers/test_scalekit.py:146
Function
client_with_headless_oauth
Client with headless OAuth that bypasses browser interaction.
tests/server/auth/providers/test_workos.py:224
Method
client_with_path
(self, mcp_with_path)
tests/contrib/test_component_manager.py:428
Method
close
Close the transport.
fastmcp_slim/fastmcp/client/transports/base.py:73
Method
close
(self)
fastmcp_slim/fastmcp/client/transports/http.py:215
Method
close
(self)
fastmcp_slim/fastmcp/client/transports/stdio.py:161
Method
close
(self)
tests/client/client/test_client.py:465
Method
close_sse_stream
Close the current response stream to trigger client reconnection. When using StreamableHTTP transport with an EventStore configured, this
fastmcp_slim/fastmcp/server/context.py:799
Function
closure_tool
(value: str | None)
tests/tools/test_tool_future_annotations.py:179
Function
code_review
Generate a code review prompt. Args: code: The code to review. language: Programming language (default: python).
examples/filesystem-provider/components/prompts/assistant.py:7
Method
coerce_task_arguments
Validate and coerce task arguments before any task state is created. Called by ``submit_to_docket`` up front, so invalid inputs raise before
fastmcp_slim/fastmcp/utilities/components.py:235
Method
collect_input
Collect structured input from the user. Args: prompt: Tell the user what you need and why. title: Optiona
fastmcp_slim/fastmcp/apps/form.py:170
Function
collection_server
Server with tools returning various collection types.
tests/server/tasks/test_task_return_types.py:303
Method
collision_route
Create a route with parameter name collisions.
tests/utilities/openapi/test_schemas.py:39
Method
collision_route
Create a route with parameter name collisions.
tests/utilities/openapi/test_director.py:108
Function
collision_spec
OpenAPI spec with parameter name collisions.
tests/utilities/openapi/conftest.py:91
Method
collision_spec
OpenAPI spec with parameter name collisions.
tests/server/providers/openapi/test_parameter_collisions.py:27
Method
collision_spec
OpenAPI spec with parameter collisions.
tests/server/providers/openapi/test_end_to_end_compatibility.py:58
Function
combined_lifespan
(app: FastAPI)
tests/server/test_fastapi_testclient_compat.py:23
Function
complex_arguments_fn
( an_int: int, must_be_none: None, must_be_none_dumb_annotation: Annotated[None, "blah"], list
tests/utilities/test_typeadapter.py:53
Function
complex_operation
A complex operation with structured data.
tests/server/middleware/test_logging.py:414
Method
complex_operation
A complex operation with structured data.
tests/server/middleware/test_logging.py:452
Method
complex_route
Create a complex route with multiple parameter types.
tests/utilities/openapi/test_schemas.py:71
Method
complex_route
Create a complex HTTPRoute with multiple parameter types.
tests/utilities/openapi/test_director.py:45
Function
complex_spec
Complex OpenAPI spec with multiple parameter types.
tests/utilities/openapi/conftest.py:170
Method
complex_tool
( used_param: UsedType, unused_param: UnusedType | None = None )
tests/tools/tool_transform/test_schemas.py:408
Method
complex_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:205
Function
complex_types
Tool with complex type annotations.
tests/tools/test_tool_future_annotations.py:23
Method
comprehensive_openapi_spec
Comprehensive OpenAPI spec covering all major features.
tests/server/providers/openapi/test_comprehensive.py:31
Method
comprehensive_spec
Comprehensive OpenAPI spec for performance testing.
tests/server/providers/openapi/test_performance_comparison.py:29
Method
compute
Compute something.
tests/utilities/test_inspect_icons.py:501
Method
compute
(x: int)
tests/server/providers/test_fastmcp_provider.py:312
Method
compute
(x: int)
tests/server/tasks/test_task_mount.py:758
Method
compute
(n: int)
tests/server/tasks/test_task_mount.py:992
Method
concurrent_prompt
()
tests/prompts/test_prompt.py:837
Method
concurrent_resource
()
tests/resources/test_function_resources.py:340
Method
concurrent_tool
Tool that proves concurrency via barrier synchronization.
tests/tools/tool/test_callable.py:57
Method
config
()
tests/server/versioning/test_mounting.py:125
Method
config
()
tests/server/versioning/test_calls.py:215
Method
config_resource
(config: str = Shared(get_config))
tests/server/test_dependencies.py:1160
Method
config_resource
Get configuration.
tests/deprecated/test_tool_injection_middleware.py:156
Method
config_unversioned
()
tests/server/versioning/test_calls.py:30
Function
config_v1
()
examples/versioning/versioned_components.py:41
Method
config_v1
()
tests/server/versioning/test_mounting.py:259
Method
config_v1
()
tests/server/versioning/test_versioning.py:326
Method
config_v1
()
tests/server/versioning/test_calls.py:24
Method
config_v1
()
tests/server/versioning/test_calls.py:123
Method
config_v1
()
tests/server/versioning/test_filtering.py:232
Function
config_v2
()
examples/versioning/versioned_components.py:46
Method
config_v2
()
tests/server/versioning/test_mounting.py:263
Method
config_v2
()
tests/server/versioning/test_versioning.py:330
Method
config_v2
()
tests/server/versioning/test_calls.py:127
Method
config_v2
()
tests/server/versioning/test_filtering.py:236
Function
confirm_purchase
(context: Context)
tests/client/test_elicitation.py:126
Function
conformance_server
Start the conformance test server in a background thread.
tests/conformance/test_conformance.py:37
Method
connect_session
( self, **session_kwargs: Unpack[SessionKwargs] )
fastmcp_slim/fastmcp/client/transports/memory.py:40
Method
connect_session
Establishes a connection and yields an active ClientSession. The ClientSession is *not* expected to be initialized in this context m
fastmcp_slim/fastmcp/client/transports/base.py:47
Method
connect_session
( self, **session_kwargs: Unpack[SessionKwargs] )
fastmcp_slim/fastmcp/client/transports/http.py:150
← previous
next →
2,401–2,500 of 10,524, ranked by callers