Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,224 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,224
◇
Types & classes
2,249
↳
Endpoints
189
↓ 1 callers
Function
_example_id
(example: CodeExample)
tests/docs/test_upgrade_guide_examples.py:54
↓ 1 callers
Function
_examples
()
tests/docs/test_upgrade_guide_examples.py:41
↓ 1 callers
Function
_exclusive_bound
Value for a strict bound, or None when the schema states no strict bound. ``exclusiveMinimum``/``exclusiveMaximum`` take a number since draft-06.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:644
↓ 1 callers
Method
_execute
Validate arguments and execute the tool body. Argument validation runs first and raises a bare ``pydantic.ValidationError`` on bad in
fastmcp_slim/fastmcp/tools/function_tool.py:513
↓ 1 callers
Method
_exempt
True if `name` is exempted under either its extracted or its URI-template spelling (hyphens normalize to underscores on extraction, so
fastmcp_slim/fastmcp/resources/security.py:119
↓ 1 callers
Method
_exit_context
Exit a context entered by another task, preserving its session hold.
fastmcp_slim/fastmcp/client/client.py:1018
↓ 1 callers
Function
_experimental_replacement
( roots: str | Path | Sequence[str | Path], reload: bool = False, main_file_name: str = "SKILL.md"
fastmcp_slim/fastmcp/server/providers/skills/directory_provider.py:208
↓ 1 callers
Function
_explicit_parameter_titles
Return the titles set with `Field(title=...)` on fn's parameters. The parameter schema cannot tell these apart from the titles Pydantic gener
fastmcp_slim/fastmcp/prompts/function_prompt.py:470
↓ 1 callers
Method
_extension_runtime
( self, available: frozenset[str], *, root: FastMCP | None )
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:423
↓ 1 callers
Method
_extension_runtime
Carry each root's restrictions through the live provider tree.
fastmcp_slim/fastmcp/server/providers/aggregate.py:115
↓ 1 callers
Function
_extension_tool_call_scope
Claim pending delegation for this dispatch, isolating independent calls.
fastmcp_slim/fastmcp/server/extensions.py:90
↓ 1 callers
Method
_extensions_lifespan
Enter each registered extension's lifespan, exit them on shutdown. Extension lifespans are entered once per runtime tree, at the root. A
fastmcp_slim/fastmcp/server/mixins/lifespan.py:87
↓ 1 callers
Function
_external_stacklevel
Stack level of the first caller outside the fastmcp package. Public entry points reach `infer_transport` through different wrapper depths (`C
fastmcp_slim/fastmcp/client/transports/inference.py:33
↓ 1 callers
Method
_extract_bodiless_success_responses
Extract the success responses, besides the primary one, that declare no body. Such a response (e.g. a 204 next to a 201) means the operation
fastmcp_slim/fastmcp/utilities/openapi/parser.py:456
↓ 1 callers
Method
_extract_input_schema_dependencies
Extract only the schema definitions needed for input (parameters and request body). Args: parameters: Route parameters
fastmcp_slim/fastmcp/utilities/openapi/parser.py:658
↓ 1 callers
Method
_extract_output_schema_dependencies
Extract only the schema definitions needed for outputs (responses). Args: responses: Route responses all_sch
fastmcp_slim/fastmcp/utilities/openapi/parser.py:699
↓ 1 callers
Method
_extract_parameters
Extract and resolve parameters from operation and path item.
fastmcp_slim/fastmcp/utilities/openapi/parser.py:248
↓ 1 callers
Method
_extract_public_key_from_jwks
Extract public key from inline JWKS. Args: token: JWT token to extract kid from jwks: JWKS document containing keys
fastmcp_slim/fastmcp/server/auth/cimd.py:674
↓ 1 callers
Method
_extract_request_body
Extract and resolve request body information.
fastmcp_slim/fastmcp/utilities/openapi/parser.py:353
↓ 1 callers
Method
_extract_responses
Extract and resolve response information. Only includes the primary success response for MCP tools, plus any other success response t
fastmcp_slim/fastmcp/utilities/openapi/parser.py:481
↓ 1 callers
Function
_extract_schemas
Pull all schema definitions out of an OpenAPI spec.
tests/utilities/json_schema_type/test_real_world_schemas.py:217
↓ 1 callers
Function
_extract_scopes
(data: Mapping[str, Any])
fastmcp_slim/fastmcp/server/auth/providers/huggingface.py:31
↓ 1 callers
Method
_extract_scopes
Extract scopes from introspection response. RFC 7662 allows scopes to be returned as either: - A space-separated string in t
fastmcp_slim/fastmcp/server/auth/providers/introspection.py:168
↓ 1 callers
Function
_failed
(item: pytest.Item)
tests/pbt/conftest.py:107
↓ 1 callers
Function
_fetch_app_bridge_bundle
Async wrapper around _fetch_app_bridge_bundle_sync.
fastmcp_slim/fastmcp/cli/apps_dev.py:1289
↓ 1 callers
Method
_fetch_discovery
Perform the actual discovery fetch; caller holds the issuer lock.
fastmcp_slim/fastmcp/server/auth/identity_assertion.py:278
↓ 1 callers
Method
_fetch_jwks
Fetch JWKS data, using SSRF-safe or standard fetch based on config.
fastmcp_slim/fastmcp/server/auth/providers/jwt.py:486
↓ 1 callers
Method
_fetch_whoami
( self, client: httpx2.AsyncClient, token: str )
fastmcp_slim/fastmcp/server/auth/providers/huggingface.py:160
↓ 1 callers
Function
_filter_properties_by_access
Remove readOnly and/or writeOnly properties from an object schema. Must run before the annotations are discarded. The excluded names are coll
fastmcp_slim/fastmcp/utilities/openapi/json_schema_converter.py:430
↓ 1 callers
Function
_find_mdx_examples
Find Python code examples in .mdx files. pytest-examples only supports ``.md``; we call its internal ``_extract_code_chunks`` directly so ``.
tests/docs/test_doc_examples.py:33
↓ 1 callers
Function
_find_package_root
Find the root of the package containing this file. Walks up the directory tree until we find a directory without __init__.py, but never above
fastmcp_slim/fastmcp/server/providers/filesystem_discovery.py:74
↓ 1 callers
Method
_find_server_object
Find the server object in the module. Args: module: The imported Python module file_path: Path to the file (for error
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/sources/filesystem.py:109
↓ 1 callers
Method
_find_tool
Find a tool by name from a pre-fetched list.
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:697
↓ 1 callers
Function
_fingerprint
Identity of everything the model is shown about a tool.
fastmcp_slim/fastmcp/experimental/transforms/jev_search.py:73
↓ 1 callers
Function
_flatten_discriminator_subtypes
Flatten the subtypes named by an OpenAPI ``discriminator.mapping``. A parent schema carrying a discriminator describes its children only thro
fastmcp_slim/fastmcp/utilities/openapi/schemas.py:432
↓ 1 callers
Function
_form_body_schema_spec
Build a form-urlencoded spec around an arbitrary body schema.
tests/server/providers/openapi/test_object_request_bodies.py:249
↓ 1 callers
Function
_form_property_schemas
Collect a form body's property schemas, merging `allOf` members. Returns the declared properties plus the `additionalProperties` schema (if a
fastmcp_slim/fastmcp/utilities/openapi/director.py:158
↓ 1 callers
Function
_format_callback_host_for_url
(host: str)
fastmcp_slim/fastmcp/client/auth/oauth.py:45
↓ 1 callers
Function
_format_duration
(seconds: int)
fastmcp_slim/fastmcp/cli/deploy/output.py:75
↓ 1 callers
Function
_format_origin_host
(host: str)
fastmcp_slim/fastmcp/server/http.py:188
↓ 1 callers
Function
_format_params
Format inputSchema properties as a compact signature.
examples/search/client_regex.py:34
↓ 1 callers
Function
_format_params
Format inputSchema properties as a compact signature.
examples/search/client_bm25.py:34
↓ 1 callers
Function
_format_params
Format inputSchema properties as a compact signature.
examples/code_mode/client.py:37
↓ 1 callers
Function
_format_prompt_result
Format PromptResult for tool output. Returns JSON with the messages array. Preserves embedded resources as structured JSON objects.
fastmcp_slim/fastmcp/server/transforms/prompts_as_tools.py:154
↓ 1 callers
Function
_format_result
Format ResourceResult for tool output. Single text content is returned as-is. Single binary content is base64-encoded. Multiple contents are
fastmcp_slim/fastmcp/server/transforms/resources_as_tools.py:163
↓ 1 callers
Function
_format_schema_for_help
Format a JSON schema for display in help text.
fastmcp_slim/fastmcp/cli/generate.py:114
↓ 1 callers
Function
_format_uptime
()
examples/apps/system_monitor/system_monitor_server.py:93
↓ 1 callers
Function
_forward_ctx
Fold middleware edits to the *message* back into the SDK context. The outer pass hands middleware a *copy* of the raw params (see ``_raw_mess
fastmcp_slim/fastmcp/server/low_level.py:75
↓ 1 callers
Method
_function_has_kwargs
Check if function accepts **kwargs. This determines whether a custom function can accept arbitrary keyword arguments, which affects h
fastmcp_slim/fastmcp/tools/tool_transform.py:1162
↓ 1 callers
Function
_gate_transaction_reads
Hold every transaction read open until the gate releases. Parks concurrent consent renders in the window where each has read the transaction
tests/server/auth/test_oauth_consent_flow.py:201
↓ 1 callers
Method
_generate_default_name
Generate a default name from the route.
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:212
↓ 1 callers
Method
_generate_manifest
Generate JSON manifest for the skill.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:79
↓ 1 callers
Method
_generate_pkce_pair
Generate PKCE code verifier and challenge pair. Returns: Tuple of (code_verifier, code_challenge) using S256 method
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:927
↓ 1 callers
Function
_geocode
Geocode an address using OpenStreetMap Nominatim (free, no key).
examples/apps/map/map_server.py:33
↓ 1 callers
Function
_get
(d: dict[str, Any], snake: str, camel: str)
fastmcp_slim/fastmcp/server/providers/prefab_synthesis.py:104
↓ 1 callers
Method
_get_backend
(self, uri: str)
fastmcp_slim/fastmcp/skills/_proxy.py:125
↓ 1 callers
Method
_get_callback
( self, request: httpx2.Request )
tests/utilities/httpx2_mock.py:141
↓ 1 callers
Method
_get_client
Gets a client instance by calling the sync or async factory.
fastmcp_slim/fastmcp/server/providers/proxy.py:548
↓ 1 callers
Method
_get_client
Gets a client instance by calling the sync or async factory.
fastmcp_slim/fastmcp/server/providers/proxy.py:666
↓ 1 callers
Method
_get_client
Gets a client instance by calling the sync or async factory.
fastmcp_slim/fastmcp/server/providers/proxy.py:819
↓ 1 callers
Method
_get_client
(self)
fastmcp_slim/fastmcp/server/providers/proxy.py:1653
↓ 1 callers
Method
_get_client_identifier
Get client identifier for rate limiting.
fastmcp_slim/fastmcp/server/middleware/rate_limiting.py:335
↓ 1 callers
Function
_get_client_log_level
Return the minimum log level the client set with logging/setLevel, if any. v2 constructs sessions per-request, so the stable identity is the
fastmcp_slim/fastmcp/server/context.py:1362
↓ 1 callers
Method
_get_component_identity
Get the identity (type, name/uri) for a component. Returns: A tuple of (component_type, logical_name) where logical_name is
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:113
↓ 1 callers
Method
_get_expanded_path
Expand environment variables and user home in path.
fastmcp_slim/fastmcp/utilities/types.py:269
↓ 1 callers
Function
_get_fastmcp_app_name
Read the FastMCPApp name from a tool's metadata, if present.
fastmcp_slim/fastmcp/tools/base.py:692
↓ 1 callers
Function
_get_forwardable_http_headers
Return ambient headers safe to copy onto a new MCP connection. MCP transport and routing headers describe one HTTP hop and must be regenerate
fastmcp_slim/fastmcp/client/dependencies.py:22
↓ 1 callers
Function
_get_free_port
()
tests/conformance/test_conformance.py:34
↓ 1 callers
Function
_get_from_type_handler
Get the appropriate type handler for the schema.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:1044
↓ 1 callers
Method
_get_injected_tool
The injected tool with this name from the outermost middleware that has one.
fastmcp_slim/fastmcp/server/server.py:822
↓ 1 callers
Function
_get_json_serializer
Build a serializer that follows the real JSON serialization contract. `ser_json_inf_nan="constants"` keeps non-finite floats as NaN/Infinity JSON
fastmcp_slim/fastmcp/tools/base.py:82
↓ 1 callers
Method
_get_jwks_key
(self, kid: str | None)
tests/server/auth/test_jwks_refresh.py:235
↓ 1 callers
Method
_get_mime_type
Get MIME type from format or guess from file extension.
fastmcp_slim/fastmcp/utilities/types.py:273
↓ 1 callers
Method
_get_mime_type
Get MIME type from format or guess from file extension.
fastmcp_slim/fastmcp/utilities/types.py:346
↓ 1 callers
Method
_get_mime_type
Get MIME type from format or guess from file extension.
fastmcp_slim/fastmcp/utilities/types.py:414
↓ 1 callers
Function
_get_package_path
Return a package directory without importing the package.
fastmcp_slim/fastmcp/utilities/logging.py:16
↓ 1 callers
Method
_get_primary_success_response
Get the primary success response for an MCP tool. We only need one success response.
fastmcp_slim/fastmcp/utilities/openapi/parser.py:433
↓ 1 callers
Method
_get_prompt
Get a specific prompt by name. Default implementation filters _list_prompts() and picks the highest version matching the spec.
fastmcp_slim/fastmcp/server/providers/base.py:563
↓ 1 callers
Method
_get_resource
Get a specific resource by URI. Default implementation filters _list_resources() and returns highest version matching the spec.
fastmcp_slim/fastmcp/server/providers/base.py:501
↓ 1 callers
Method
_get_resource
( self, uri: str, version: VersionSpec | None = None )
fastmcp_slim/fastmcp/server/providers/proxy.py:1157
↓ 1 callers
Method
_get_resource_template
Get a resource template that matches the given URI. Default implementation lists all templates, finds those whose pattern matches the
fastmcp_slim/fastmcp/server/providers/base.py:532
↓ 1 callers
Function
_get_result
Extract the value from a CallToolResult (structured or text).
examples/search/client_regex.py:24
↓ 1 callers
Function
_get_result
Extract the value from a CallToolResult (structured or text).
examples/search/client_bm25.py:24
↓ 1 callers
Function
_get_result
Extract the value from a CallToolResult (structured or text).
examples/code_mode/client.py:27
↓ 1 callers
Method
_get_sandbox
Lazily create the Pyodide sandbox.
fastmcp_slim/fastmcp/apps/generative.py:91
↓ 1 callers
Method
_get_skill_entry
( self, uri: str, context: ServerRequestContext[Any, Any] )
fastmcp_slim/fastmcp/skills/_source.py:21
↓ 1 callers
Method
_get_tool
Get a tool by name via aggregation from providers. Extends AggregateProvider._get_tool() with component-level auth checks. Args:
fastmcp_slim/fastmcp/server/server.py:1045
↓ 1 callers
Function
_get_tool_hash
Read the stored hash from tool meta, or compute from app name + tool name.
fastmcp_slim/fastmcp/server/providers/prefab_synthesis.py:45
↓ 1 callers
Function
_get_tool_resolver
Get the Prefab peer-reference resolver bound to an app name.
fastmcp_slim/fastmcp/tools/base.py:668
↓ 1 callers
Method
_get_verification_key
Get the verification key for the token.
fastmcp_slim/fastmcp/server/auth/providers/jwt.py:348
↓ 1 callers
Method
_get_verification_token
Get the token string to pass to the token verifier. Returns the upstream access token by default. Subclasses can override to verify a
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:2122
↓ 1 callers
Method
_get_verifier
(self, issuer: str)
fastmcp_slim/fastmcp/server/auth/identity_assertion.py:306
↓ 1 callers
Function
_google_function_response_image_part
Build a Gemini function-response image part when supported by the SDK.
fastmcp_slim/fastmcp/client/sampling/handlers/google_genai.py:62
↓ 1 callers
Function
_guard_result
(status_code: int)
tests/server/http/test_sse_host_origin_protection.py:38
↓ 1 callers
Method
_handle_async_request
(self, request: httpx2.Request)
tests/utilities/httpx2_mock.py:176
↓ 1 callers
Method
_handle_get
( self, context: ServerRequestContext[Any, Any], params: GetSkillParams, )
tests/skills/test_extension.py:109
↓ 1 callers
Method
_handle_request
(self, request: httpx2.Request)
tests/utilities/httpx2_mock.py:172
↓ 1 callers
Function
_handle_resource
Handle a resource read within an open client session.
fastmcp_slim/fastmcp/cli/client.py:688
↓ 1 callers
Function
_handle_tool_call
Handle a tool call within an open client session.
fastmcp_slim/fastmcp/cli/client.py:639
↓ 1 callers
Function
_has_dot_segments
Return True if a URI path contains `.` or `..` segments. Browsers collapse dot-segments when resolving a 302 Location per RFC 3986 §5.2.4. Al
fastmcp_slim/fastmcp/server/auth/redirect_validation.py:304
← previous
next →
2,101–2,200 of 16,224, ranked by callers