MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

↓ 1 callersFunction_start_user_server
Start the user's MCP server as a subprocess on mcp_port.
fastmcp_slim/fastmcp/cli/apps_dev.py:1629
↓ 1 callersFunction_stdio_transport_connect_task
A standalone connection task for a stdio transport. It is not a part of the StdioTransport class to ensure that the connection task does not hold
fastmcp_slim/fastmcp/client/transports/stdio.py:344
↓ 1 callersMethod_stop_session
Stop the session. A last exit passes the session it held, and the stop is skipped if another context now uses it; a forced stop takes whatever
fastmcp_slim/fastmcp/client/client.py:1205
↓ 1 callersMethod_store_cache_entry
Store a document in the bounded process-local cache.
fastmcp_slim/fastmcp/server/auth/cimd.py:235
↓ 1 callersFunction_stream_and_cleanup
(resp: httpx2.Response)
fastmcp_slim/fastmcp/cli/apps_dev.py:1504
↓ 1 callersFunction_strip_discriminator
Recursively remove OpenAPI ``discriminator`` keys from a schema. Pydantic emits ``discriminator.mapping`` with values like ``#/$defs/ClassNam
fastmcp_slim/fastmcp/utilities/json_schema.py:238
↓ 1 callersFunction_strip_titles
Recursively drop every "title" key, the one difference that's genuinely cosmetic. A hand-written SDK schema has no title anywhere; FastMCP derive
tests/docs/test_upgrade_guide_equivalence.py:49
↓ 1 callersFunction_structural_kind
Type identity, excluding validation constraints and property metadata.
fastmcp_slim/fastmcp/tools/tool_transform.py:65
↓ 1 callersMethod_submit_consent
Handle consent approval/denial, set cookies, and redirect appropriately.
fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py:602
↓ 1 callersFunction_summarize
(samples: list[Sample])
scripts/benchmark_http_startup.py:133
↓ 1 callersFunction_summary
The first paragraph of a tool's description, or its name when it has none.
fastmcp_slim/fastmcp/experimental/transforms/jev_search.py:60
↓ 1 callersFunction_sync_outcome
( server: FastMCP, name: str, arguments: dict[str, Any] )
tests/tasks/server/test_task_async_generator_tools.py:36
↓ 1 callersFunction_sync_result_to_wire
Serialize a synchronous ToolResult into the inlined task wire shape.
tests/tasks/server/test_task_return_types.py:33
↓ 1 callersFunction_sync_wrapper
(fn: Callable[..., Any])
tests/tools/test_generator_thread_dispatch.py:19
↓ 1 callersFunction_task_outcome
( server: FastMCP, name: str, arguments: dict[str, Any] )
tests/tasks/server/test_task_async_generator_tools.py:46
↓ 1 callersFunction_task_server
()
tests/tasks/server/test_task_async_generator_tools.py:117
↓ 1 callersFunction_terminate_process
Terminate a subprocess and all its children. Sends SIGTERM to the process group first for graceful shutdown, then falls back to SIGKILL if th
fastmcp_slim/fastmcp/cli/run.py:380
↓ 1 callersFunction_test_provider
Run json_schema_to_type on every schema for one provider.
tests/utilities/json_schema_type/test_real_world_schemas.py:262
↓ 1 callersFunction_text_within_limit
Check the total length of every key and scalar value in *schema*. Inlining shares scalar objects rather than copying them, so a repeated long
fastmcp_slim/fastmcp/utilities/json_schema.py:188
↓ 1 callersFunction_toast_result
()
examples/apps/media_picker/media_picker_server.py:261
↓ 1 callersFunction_tool_result_content_to_anthropic
Preserve text and image blocks inside Anthropic tool results.
fastmcp_slim/fastmcp/client/sampling/handlers/anthropic.py:84
↓ 1 callersFunction_tool_result_content_to_openai_text
Convert text-only OpenAI tool output and reject images explicitly.
fastmcp_slim/fastmcp/client/sampling/handlers/openai.py:106
↓ 1 callersFunction_tool_skill_section
Generate a SKILL.md section for a single tool.
fastmcp_slim/fastmcp/cli/generate.py:717
↓ 1 callersFunction_tool_table
( tools: list[dict], *, ranked: bool = False, show_params: bool = False )
examples/search/client_regex.py:47
↓ 1 callersFunction_tool_table
( tools: list[dict], *, ranked: bool = False, show_params: bool = False )
examples/search/client_bm25.py:47
↓ 1 callersFunction_tool_table
( tools: list[dict], *, ranked: bool = False, show_params: bool = False )
examples/code_mode/client.py:50
↓ 1 callersFunction_tool_title
(tool: dict[str, Any])
fastmcp_slim/fastmcp/cli/apps_dev.py:959
↓ 1 callersFunction_tools_to_json
Serialize a list of tools to JSON-safe dicts.
fastmcp_slim/fastmcp/cli/client.py:620
↓ 1 callersFunction_trace_meta
()
fastmcp_slim/fastmcp/client/mixins/skills.py:43
↓ 1 callersMethod_translate_scopes_from_idp
Strip ``{identifier_uri}/`` from custom API scopes Azure echoes back. Inverse of :meth:`_prefix_scopes_for_azure`. Azure echoes the prefixed
fastmcp_slim/fastmcp/server/auth/providers/azure.py:474
↓ 1 callersFunction_ttl_ms
The task TTL in milliseconds, from Docket's execution TTL (server-set).
fastmcp_tasks/fastmcp_tasks/handlers.py:112
↓ 1 callersMethod_unflatten_arguments
Maps flat arguments back to their OpenAPI locations using the parameter map. The parameter map is the only source of argument locati
fastmcp_slim/fastmcp/utilities/openapi/director.py:481
↓ 1 callersFunction_union_enum_values
Enum values of a union, only when every non-null branch is enumerated. A union such as `Literal["a"] | int` has no closed set of valid values, so
fastmcp_slim/fastmcp/server/transforms/search/base.py:226
↓ 1 callersFunction_union_type
(branches: list[Any])
fastmcp_slim/fastmcp/server/transforms/search/base.py:83
↓ 1 callersFunction_unread
Allow the response body to be read on the client side.
tests/utilities/httpx2_mock.py:79
↓ 1 callersMethod_unscope_stream_id
(self, stream_id: StreamId)
fastmcp_slim/fastmcp/server/session_scoped_event_store.py:29
↓ 1 callersMethod_unwind_partial_entry
Disconnect the members a failed or cancelled entry already connected.
fastmcp_slim/fastmcp/client/group.py:168
↓ 1 callersFunction_unwrap
Return the innermost provider and its transforms, innermost first.
fastmcp_slim/fastmcp/skills/_composition.py:27
↓ 1 callersFunction_unwrap_nullable
Reduce an optional schema (``X | None``) to the schema for ``X``.
fastmcp_slim/fastmcp/cli/client.py:338
↓ 1 callersFunction_unwrap_result
Extract the logical return value from a ToolResult.
tests/experimental/transforms/test_code_mode_discovery.py:17
↓ 1 callersFunction_unwrap_tool_result
Convert a ToolResult for use in the sandbox. - Output schema present → structured_content dict (matches the schema) - Otherwise → concatenate
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:116
↓ 1 callersFunction_update_all_lists
Actions to update all three status lists from a tool result.
examples/apps/approvals/approvals_server.py:208
↓ 1 callersFunction_url_match
Full URL match with query-parameter order insensitivity. A ``re.Pattern`` matches against the string form of the received URL, mirroring ``py
tests/utilities/httpx2_mock.py:40
↓ 1 callersMethod_use_identity
Adopt the identity a ``ProxyMetadataMiddleware`` was explicitly given. Cached components carry the identity they were built with, so a change
fastmcp_slim/fastmcp/server/providers/proxy.py:1018
↓ 1 callersMethod_uses_alternate_verification
Patch returned token scopes from the upstream token response. Hugging Face OAuth access tokens are opaque. The userinfo endpoint vali
fastmcp_slim/fastmcp/server/auth/providers/huggingface.py:282
↓ 1 callersMethod_uses_alternate_verification
Whether this provider verifies a different token than the access token. When True, ``load_access_token`` patches the validated result with
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:2120
↓ 1 callersFunction_uses_default_multipart_encoding
Explicit defaults serialize like omitted encoding; overrides stay unchanged.
fastmcp_slim/fastmcp/utilities/openapi/director.py:37
↓ 1 callersMethod_valid_host
(self, headers: Headers)
fastmcp_slim/fastmcp/cli/apps_dev_security.py:58
↓ 1 callersFunction_validate
()
fastmcp_slim/fastmcp/cli/cimd.py:170
↓ 1 callersFunction_validate_form_content
Check accepted form content against the server's requested schema. Validates the JSON value that goes on the wire, as JSON Schema defines it,
fastmcp_slim/fastmcp/client/elicitation.py:38
↓ 1 callersMethod_validate_issuer
Check a token's `iss` claim against the configured issuer(s). Subclasses override this to implement provider-specific rules, such as
fastmcp_slim/fastmcp/server/auth/providers/jwt.py:509
↓ 1 callersFunction_validate_json
(value: Any, ancestors: set[int])
fastmcp_slim/fastmcp/skills/_snapshot.py:40
↓ 1 callersMethod_validate_task_extension_registered
Fail loudly if a task-enabled tool has no tasks extension registered. `task=True` on a tool is only an intent declaration; the engine that ru
fastmcp_slim/fastmcp/server/mixins/lifespan.py:120
↓ 1 callersFunction_validate_transformed_arguments
Reject a transformed-tool submission its own advertised schema forbids. A transformed tool is registered with Docket as a base ``Tool``, so the
fastmcp_tasks/fastmcp_tasks/components.py:201
↓ 1 callersFunction_validation_error_summary
Keep counts and built-in codes, never input-derived validation details.
fastmcp_slim/fastmcp/server/server.py:143
↓ 1 callersFunction_verified_links
( links: list[MediaLink], )
examples/apps/media_picker/media_picker_server.py:243
↓ 1 callersFunction_verify_youtube
( client: httpx2.AsyncClient, link: MediaLink, video_id: str )
examples/apps/media_picker/media_picker_server.py:105
↓ 1 callersFunction_version_key
(version: str)
scripts/rank_issues.py:719
↓ 1 callersFunction_wait_for_port
Poll until a TCP connection to `host:port` is accepted, or raise on timeout.
fastmcp_slim/fastmcp/utilities/tests.py:179
↓ 1 callersFunction_wait_for_server
Poll until the server is accepting connections.
fastmcp_slim/fastmcp/cli/apps_dev.py:1666
↓ 1 callersFunction_wait_for_server_started
Wait for startup or surface lifespan / transport failures immediately.
fastmcp_slim/fastmcp/utilities/tests.py:154
↓ 1 callersFunction_walk_prefab_tools
Enumerate all prefab tools across the server's providers (sync walk of _components).
fastmcp_slim/fastmcp/server/providers/prefab_synthesis.py:179
↓ 1 callersFunction_walk_provider
(provider: Provider)
fastmcp_slim/fastmcp/server/providers/prefab_synthesis.py:189
↓ 1 callersFunction_windows_command_processor
Return the absolute path of cmd.exe.
fastmcp_slim/fastmcp/cli/install/shared.py:133
↓ 1 callersFunction_within_inline_limits
Check the node count and depth of *root* once fully expanded. Containers that appear in several places are measured once and the result reuse
fastmcp_slim/fastmcp/utilities/json_schema.py:131
↓ 1 callersFunction_wrapped_result
Mirror how FastMCP reports a scalar return value on the wire.
tests/client/minimal_stdio_server.py:77
↓ 1 callersFunction_wrapped_result_schema
Narrow a wrapped output schema to `properties.result` and keep its defs. The server leaves `$defs` and draft-07 `definitions` on the root schema,
fastmcp_slim/fastmcp/client/mixins/tools.py:371
↓ 1 callersMethodadb_close
(self)
examples/smart_home/src/smart_home/fire_tv/client.py:37
↓ 1 callersMethodadb_connect
(self, log_errors: bool = True)
examples/smart_home/src/smart_home/fire_tv/client.py:35
↓ 1 callersMethodadb_shell
(self, command: str)
examples/smart_home/src/smart_home/fire_tv/client.py:33
↓ 1 callersMethodadb_shell
(self, command: str)
examples/smart_home/tests/test_fire_tv.py:35
↓ 1 callersFunctionadd
Add two numbers together.
tests/conftest.py:253
↓ 1 callersMethodadd
Add two numbers.
tests/utilities/test_inspect_icons.py:406
↓ 1 callersMethodadd
(a: int, b: int)
tests/server/test_cache_hints.py:152
↓ 1 callersMethodadd
(a: int, b: int)
tests/server/middleware/test_middleware_nested.py:181
↓ 1 callersMethodadd
(a: int, b: int)
tests/server/mount/test_advanced.py:263
↓ 1 callersFunctionaddBanner
()
docs/v2-banner.js:5
↓ 1 callersFunctionaddBanner
()
docs/v3-banner.js:5
↓ 1 callersMethodadd_completion_handler
Register the server's argument-completion handler. A server has a single completion handler that answers every `completion/complete`
fastmcp_slim/fastmcp/server/server.py:2383
↓ 1 callersFunctionadd_memory
(content: str, deps: Deps)
examples/memory.py:171
↓ 1 callersMethodadd_template
Add a resource template to this provider's storage.
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/resources.py:105
↓ 1 callersFunctionanalyze_data
Filter and analyze sales data. Returns rows, summary, and chart data.
examples/apps/explorer/explorer_server.py:337
↓ 1 callersFunctionannotate_payload_identities
Record the identity-addressed form of each reference, at serialization. References start out as ``__<hash>_<local_name>``, so the map begins as a
fastmcp_slim/fastmcp/server/providers/prefab_payload.py:91
↓ 1 callersFunctionappend
(items: list[dict[str, Any]])
fastmcp_slim/fastmcp/utilities/openapi/schemas.py:297
↓ 1 callersFunctionas_principal
(token: SDKAccessToken | None)
tests/server/test_sessions.py:44
↓ 1 callersFunctionas_proxy_backend
Apply proxy connection settings to a copy we own. The caller handed us their Client; configuring it in place would change how
fastmcp_slim/fastmcp/server/providers/proxy.py:1501
↓ 1 callersMethodasend
(self, value)
tests/client/auth/test_oauth_client.py:475
↓ 1 callersMethodasync_auth_flow
( self, request: httpx2.Request )
fastmcp_slim/fastmcp/client/auth/client_credentials.py:273
↓ 1 callersFunctionasync_body
()
tests/tools/tool_transform/test_generator_execution.py:62
↓ 1 callersFunctionattach_metadata
(fn: F, tool_name: str | None)
fastmcp_slim/fastmcp/tools/function_tool.py:650
↓ 1 callersFunctionattach_metadata
(fn: F)
fastmcp_slim/fastmcp/resources/function_resource.py:252
↓ 1 callersFunctionattach_metadata
(fn: F, prompt_name: str | None)
fastmcp_slim/fastmcp/prompts/function_prompt.py:435
↓ 1 callersFunctionattention
(title, detail, state, url)
status-site/operations.js:31
↓ 1 callersMethodauthenticate_request
Authenticate a client from an HTTP request. Extends SDK authentication to support private_key_jwt for CIMD clients. Delegates to SDK
fastmcp_slim/fastmcp/server/auth/auth.py:261
↓ 1 callersFunctionauthor_note
(r: Ranked)
scripts/rank_issues.py:899
↓ 1 callersFunctionauthor_trust
(issue: Issue, facts: AuthorFacts | None, now: datetime)
scripts/rank_issues.py:771
↓ 1 callersFunctionauthorize
()
tests/cli/deploy/test_credentials.py:117
↓ 1 callersFunctionautomations
()
status-site/operations.js:149
↓ 1 callersFunctionbacklog
(at)
tests/test_status_refresh.cjs:73
↓ 1 callersFunctionbadge
(doc: dict)
scripts/maintenance_status.py:558
← previousnext →2,401–2,500 of 15,974, ranked by callers