MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Method_run
Server entry point for tool execution. The server calls this method instead of ``run()`` directly so that subclasses can customize di
fastmcp_slim/fastmcp/tools/base.py:433
Method_run_monty
( self, pydantic_monty: Any, *, code: str, inputs:
tests/experimental/transforms/test_code_mode.py:1010
Method_run_monty
( self, pydantic_monty: Any, *, code: str, inputs:
tests/experimental/transforms/test_monty_callback_lifecycle.py:104
Function_run_server
(mcp_server: FastMCP, transport: Literal["sse"], port: int)
fastmcp_slim/fastmcp/utilities/tests.py:68
Function_sampling_cb
( context: ClientRequestContext, params: types.CreateMessageRequestParams )
tests/server/test_protocol_eras.py:235
Function_sampling_handler
( context, params: SamplingParams, )
fastmcp_slim/fastmcp/client/sampling/__init__.py:47
Method_search
Search the given tools and return matches.
fastmcp_slim/fastmcp/server/transforms/search/base.py:411
Method_send
()
fastmcp_slim/fastmcp/client/mixins/prompts.py:63
Method_send
()
fastmcp_slim/fastmcp/client/mixins/resources.py:63
Method_send
()
fastmcp_slim/fastmcp/client/mixins/tools.py:70
Method_send_auth_error
Send an authentication error response with enhanced error messages. Overrides the SDK's _send_auth_error to provide more detailed err
fastmcp_slim/fastmcp/server/auth/middleware.py:135
Function_serialize_with_task_production
Serialize a server result, letting a tagged task result through. A modern `tools/call` result carrying `resultType: "task"` is returned as th
fastmcp_tasks/fastmcp_tasks/wire_production.py:54
Method_session
(self)
fastmcp_tasks/fastmcp_tasks/client.py:426
Function_set
(value: str)
tests/telemetry/test_interop.py:37
Method_set_auth
(self, auth: httpx2.Auth | Literal["oauth"] | str | None)
fastmcp_slim/fastmcp/client/transports/base.py:137
Function_settings_home_root
Session-scoped (i.e. per xdist-worker) base directory for isolated settings.home directories. Created once via ``tmp_path_factory`` so ``isol
tests/conftest.py:104
Method_state_store
Create the session-state adapter only when state is first used.
fastmcp_slim/fastmcp/server/server.py:530
Function_sync_fn
(x: int)
tests/utilities/test_async_utils.py:24
Function_terminal_elicitation_handler
Prompt the user on the terminal for elicitation responses. Prints the server's message and prompts for each field in the schema. The user can
fastmcp_slim/fastmcp/cli/client.py:169
Method_tracking_read_text
(self: Path, *args: Any, **kwargs: Any)
tests/cli/test_discovery.py:184
Function_trigger_docket
()
tests/server/test_server_docket.py:41
Method_trigger_docket
()
tests/server/mount/test_advanced.py:615
Method_unwrap_provider
Unwrap _WrappedProvider layers to find the inner provider.
fastmcp_slim/fastmcp/server/mixins/transport.py:200
Method_validate_algorithm
(cls, v: str | None)
fastmcp_slim/fastmcp/server/auth/identity_assertion.py:154
Method_validate_algorithms
(cls, v: dict[str, str] | None)
fastmcp_slim/fastmcp/server/auth/identity_assertion.py:171
Method_validate_issuer
(self, issuer: Any)
fastmcp_slim/fastmcp/server/auth/providers/descope.py:108
Method_validate_tool_name
Validate tool name according to MCP specification (SEP-986).
fastmcp_slim/fastmcp/tools/base.py:263
Method_validate_trusted_issuers
(cls, v: list[str])
fastmcp_slim/fastmcp/server/auth/identity_assertion.py:144
Functiona
Tool A.
tests/experimental/transforms/test_code_mode_discovery.py:484
Methoda
()
tests/client/client/test_client.py:1075
Functionaccept
( message: str, response_type: Any, params: Any, context: Any )
tests/downstream/smoke_pydantic_ai.py:69
Functionaccept
(message: str, response_type: Any, params: Any, context: Any)
tests/downstream/smoke_langchain_mcp.py:83
Methodaclose
(self)
tests/client/auth/test_oauth_client.py:459
Functionact
( step: str, session: str = Depends(get_session), log: str = Depends(audit), )
tests/server/test_call_arguments.py:134
Methodaction_cycle_kind
(self)
scripts/rank_issues_tui.py:438
Methodaction_more
(self)
scripts/rank_issues_tui.py:451
Methodaction_open_author
(self)
scripts/rank_issues_tui.py:433
Methodaction_refresh
(self)
scripts/rank_issues_tui.py:447
Methodaction_toggle_unanswered
(self)
scripts/rank_issues_tui.py:443
Methodactivate
(ctx: Context)
tests/server/test_session_visibility.py:409
Functionactivate_admin
Activate admin tools for this session.
examples/namespace_activation/server.py:55
Functionactivate_finance
Activate finance tools for this session.
examples/namespace_activation/server.py:48
Methodactivate_finance
(ctx: Context)
tests/server/test_session_visibility.py:73
Methodactivate_finance
(ctx: Context)
tests/server/test_session_visibility.py:535
Methodactivate_multiple
(ctx: Context)
tests/server/test_session_visibility.py:294
Methodactivate_premium
(ctx: Context)
tests/server/test_session_visibility.py:592
Functionactivate_scene
Recall a saved scene within a room, including its native per-light effects. active recalls the saved look; dynamic_palette requests palette cycli
examples/smart_home/src/smart_home/lights/server.py:161
Methodactivate_tools_only
(ctx: Context)
tests/server/test_session_visibility.py:497
Methodactivated_session
(session_id: str)
tests/server/test_session_visibility.py:601
Functionadapter_from_config
()
tests/downstream/smoke_langchain_mcp.py:328
Methodadb_close
(self)
examples/smart_home/tests/test_fire_tv.py:39
Functionadb_connect
(log_errors: bool = True)
examples/smart_home/tests/test_fire_tv.py:169
Methodadb_shell
(self, command: str)
examples/smart_home/tests/test_fire_tv.py:35
Functionadd
(a: int, b: int)
tests/test_mcp_config.py:194
Functionadd
Add two numbers together.
tests/conftest.py:253
Functionadd
( old_x: Annotated[int, Field(description="old_x description")], old_y: int = 10 )
tests/tools/tool_transform/test_schemas.py:24
Functionadd
( old_x: Annotated[int, Field(description="old_x description")], old_y: int = 10 )
tests/tools/tool_transform/test_args.py:27
Functionadd
( old_x: Annotated[int, Field(description="old_x description")], old_y: int = 10 )
tests/tools/tool_transform/test_tool_transform.py:29
Functionadd
( old_x: Annotated[int, Field(description="old_x description")], old_y: int = 10 )
tests/tools/tool_transform/test_metadata.py:19
Functionadd
Add two numbers together.
tests/client/test_sse.py:27
Functionadd
Add two numbers together.
tests/client/test_streamable_http.py:39
Functionadd
(a: int, b: int)
tests/client/client/test_response_cache.py:35
Functionadd
(a: int, b: int)
tests/client/client/test_kv_response_cache.py:58
Functionadd
Add two numbers together.
tests/client/auth/test_oauth_client.py:41
Functionadd
Add two numbers.
tests/cli/test_client_commands.py:408
Functionadd
Add two numbers.
tests/cli/test_generate_cli.py:558
Functionadd
Add two integers.
tests/downstream/server.py:64
Functionadd
(a: int, b: int)
tests/server/test_fastapi_testclient_compat.py:19
Functionadd
Structured-output tool (returns a scalar wrapped as {"result": ...}).
tests/server/test_protocol_eras.py:54
Functionadd
(a: int, b: int)
tests/server/middleware/test_message_visibility.py:63
Functionadd
(a: int, b: int)
tests/server/middleware/test_middleware_nested.py:129
Functionadd
(a: int, b: int)
tests/server/middleware/test_middleware.py:127
Functionadd
Add two numbers together.
tests/server/providers/proxy/test_proxy_server.py:67
Functionadd
(a: int, b: int)
tests/server/auth/test_jwt_provider_bearer.py:46
Functionadd
(a: int, b: int)
tests/server/auth/test_jwt_provider.py:177
Functionadd
(a: int, b: int)
tests/server/auth/providers/test_descope.py:575
Functionadd
(a: int, b: int)
tests/server/auth/providers/test_supabase.py:172
Functionadd
(a: int, b: int)
tests/server/auth/providers/test_propelauth.py:264
Functionadd
(a: int, b: int)
tests/server/auth/providers/test_scalekit.py:199
Functionadd
(a: int, b: int)
tests/server/auth/providers/test_workos.py:216
Functionadd
Add two numbers together.
tests/server/transforms/test_search.py:40
Functionadd
(a: int, b: int)
tests/experimental/transforms/test_code_mode_serialization.py:377
Functionadd
(x: int, y: int)
tests/experimental/transforms/test_code_mode_discovery.py:95
Functionadd
(x: int, y: int)
tests/experimental/transforms/test_code_mode.py:262
Functionadd
Add two numbers
examples/desktop.py:30
Functionadd
Add two numbers together
examples/testing_demo/server.py:16
Functionadd
Add two numbers together.
examples/fastmcp_config/server.py:16
Functionadd
Add two numbers together.
examples/search/server_regex.py:28
Functionadd
Add two numbers together.
examples/search/server_bm25.py:24
Functionadd
Add two numbers.
examples/filesystem-provider/components/tools/calculator.py:11
Functionadd
Add two numbers together.
examples/code_mode/server.py:22
Methodadd
(a: int, b: int)
tests/test_upgrade_from_v3.py:74
Methodadd
(x: int, y: int = 10)
tests/tools/tool_transform/test_args.py:410
Methodadd
(old_x: int, old_y: int = 10)
tests/tools/tool_transform/test_tool_transform.py:755
Methodadd
Add two numbers.
tests/tools/tool/test_tool.py:404
Methodadd
(a: int, b: int)
tests/tools/tool/test_tool.py:572
Methodadd
(a: int, b: int)
tests/client/client/test_input_required_driver.py:180
Methodadd
(a: int, b: int)
tests/client/telemetry/test_client_list_tracing.py:50
Methodadd
(a: int, b: int)
tests/client/telemetry/test_client_tracing.py:42
Methodadd
(a: int, b: int)
tests/client/telemetry/test_client_tracing.py:300
← previousnext →3,101–3,200 of 13,374, ranked by callers