Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
15,974 in github.com/PrefectHQ/fastmcp
⨍
Functions
15,974
◇
Types & classes
2,233
↳
Endpoints
189
Method
child_tool
()
tests/server/telemetry/test_delegate_method.py:19
Function
child_with_kwargs
(n: int | None, **kwargs: Any)
tests/tools/tool_transform/test_schema_compatibility.py:28
Function
chime
A silent WAV.
tests/downstream/server.py:94
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
choose_mode
Choose an execution mode. if bSudoMode: Elevated privileges else: Normal privileges
tests/utilities/test_docstring_parsing.py:675
Method
cimd_doc_with_inline_jwks
Create CIMD document with inline JWKS.
tests/server/auth/test_cimd_validators.py:87
Method
cimd_doc_with_jwks_uri
Create CIMD document with jwks_uri.
tests/server/auth/test_cimd_validators.py:77
Function
claimed_tool
()
tests/client/test_client_extensions.py:124
Method
claims
(self)
tests/client/test_client_extensions.py:85
Method
claims
(self)
tests/client/test_client_extensions.py:315
Method
claims
(self)
fastmcp_tasks/fastmcp_tasks/client.py:342
Function
clamped_logger
()
tests/utilities/test_logging.py:125
Method
class_tool
(cls)
tests/contrib/test_mcp_mixin.py:388
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:19
Function
clear
()
tests/cli/deploy/test_configuration.py:75
Method
clear
(self)
fastmcp_slim/fastmcp/utilities/json_schema_type.py:213
Method
clear_cart
(session_id: SessionId)
tests/server/test_session_provider.py:414
Function
clear_oidc_discovery_cache
Prevent process-local discovery cache state from leaking between tests.
tests/server/auth/conftest.py:9
Function
clear_progress_messages
()
tests/client/test_progress.py:9
Method
clear_rules
(ctx: Context)
tests/server/test_session_visibility.py:257
Function
client
( api_origin: str, *, api_key: SecretStr | str | None = None, )
tests/cli/deploy/test_command.py:90
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:17
Function
client_factory
()
tests/server/providers/proxy/test_server_metadata.py:593
Method
client_id
Get the client ID if available.
fastmcp_slim/fastmcp/server/context.py:706
Function
client_unauthorized
(streamable_http_server: str)
tests/client/auth/test_oauth_client.py:80
Function
client_with_headless_oauth
Client with headless OAuth that bypasses browser interaction.
tests/client/auth/test_oauth_client.py:85
Function
client_with_headless_oauth
Client with headless OAuth that bypasses browser interaction.
tests/server/auth/providers/test_descope.py:583
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:207
Function
client_with_headless_oauth
Client with headless OAuth that bypasses browser interaction.
tests/server/auth/providers/test_workos.py:228
Method
client_with_path
(self, mcp_with_path)
tests/contrib/test_component_manager.py:488
Method
clients
The group's clients, keyed by server name. Read-only: membership is fixed at construction, since discovered routes hold the client th
fastmcp_slim/fastmcp/client/group.py:78
Function
clock
(monkeypatch: pytest.MonkeyPatch)
tests/apps/test_file_upload_retention.py:19
Function
clock
(monkeypatch: pytest.MonkeyPatch)
tests/server/auth/test_jwks_refresh.py:23
Method
clone
(self)
fastmcp_slim/fastmcp/skills/extension.py:62
Method
clone
(self)
tests/server/test_provider_extensions.py:540
Method
close
(self)
fastmcp_slim/fastmcp/client/transports/config.py:404
Method
close
Close the transport.
fastmcp_slim/fastmcp/client/transports/base.py:209
Method
close
(self)
fastmcp_slim/fastmcp/client/transports/http.py:248
Method
close
(self)
fastmcp_slim/fastmcp/client/transports/stdio.py:325
Method
close
(self)
tests/test_mcp_config.py:1343
Method
close
(self)
tests/client/client/test_client.py:452
Method
close
(self)
tests/client/client/test_client.py:478
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
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/tasks/server/test_task_return_types.py:189
Method
collision_route
Create a route with parameter name collisions.
tests/utilities/openapi/test_schemas.py:109
Method
collision_route
Create a route with parameter name collisions.
tests/utilities/openapi/test_director.py:107
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:60
Function
combine
(x: Annotated[_B, Resolve(_ask_b)])
tests/client/client/test_input_required_driver.py:64
Function
combined_lifespan
(app: FastAPI)
tests/server/test_fastapi_testclient_compat.py:23
Method
compatibility
(self)
fastmcp_slim/fastmcp/skills/models.py:103
Function
complete
(ref, argument, context)
tests/server/test_completions.py:45
Function
complete
Suggests values for `test_prompt_with_arguments` arguments.
tests/conformance/server.py:731
Method
completion
(self, handler: CompletionHandler)
fastmcp_slim/fastmcp/server/server.py:2404
Function
completion_server
A server that completes a prompt argument and a template parameter.
tests/server/test_completions.py:32
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:412
Method
complex_operation
A complex operation with structured data.
tests/server/middleware/test_logging.py:450
Method
complex_route
Create a complex route with multiple parameter types.
tests/utilities/openapi/test_schemas.py:141
Method
complex_route
Create a complex HTTPRoute with multiple parameter types.
tests/utilities/openapi/test_director.py:44
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:493
Method
complex_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:204
Function
complex_types
Tool with complex type annotations.
tests/tools/test_tool_future_annotations.py:23
Function
compose
(owner: str, repo: str)
tests/server/test_completions.py:124
Method
compose_node
(self, parent: Any, index: Any)
fastmcp_slim/fastmcp/skills/_snapshot.py:20
Method
comprehensive_openapi_spec
Comprehensive OpenAPI spec covering all major features.
tests/server/providers/openapi/test_comprehensive.py:34
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:522
Method
compute
(x: int)
tests/tasks/server/test_task_mount.py:497
Method
compute
(x: int)
tests/server/providers/test_fastmcp_provider.py:312
Function
concat
(a: str, b: str)
tests/server/middleware/test_error_handling.py:835
Method
concrete
()
tests/resources/test_resource_template.py:1631
Method
concrete
()
tests/resources/test_resource_template.py:1683
Method
concrete
(ctx: Context)
tests/server/telemetry/test_provider_tracing.py:155
Method
concurrent_prompt
()
tests/prompts/test_prompt.py:1042
Method
concurrent_resource
()
tests/resources/test_function_resources.py:340
Method
concurrent_template
(id: str)
tests/resources/test_resource_template.py:254
Method
concurrent_tool
Tool that proves concurrency via barrier synchronization.
tests/tools/tool/test_callable.py:57
Function
config
()
tests/server/test_protocol_eras.py:59
Function
config
()
tests/server/auth/oauth_proxy/test_identity_assertion.py:124
Method
config
()
tests/test_upgrade_from_v3.py:78
Method
config
()
tests/server/test_cache_hints.py:106
Method
config
()
tests/server/test_cache_hints.py:212
Method
config
()
tests/server/mount/test_resources.py:85
Method
config
()
tests/server/versioning/test_mounting.py:125
Method
config
()
tests/server/versioning/test_calls.py:215
Method
config_dir
(self, tmp_path: Path)
tests/cli/test_install.py:178
Method
config_reader
(self, request)
tests/resources/test_resource_template_query_params.py:380
Method
config_resource
(config: str = Shared(get_config))
tests/server/test_dependencies.py:1158
Method
config_unversioned
()
tests/server/versioning/test_calls.py:30
Function
config_v1
()
tests/server/middleware/test_versioned_caching.py:41
Function
config_v1
()
examples/versioning/versioned_components.py:41
← previous
next →
4,201–4,300 of 15,974, ranked by callers