Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
15,976 in github.com/PrefectHQ/fastmcp
⨍
Functions
15,976
◇
Types & classes
2,233
↳
Endpoints
189
↓ 2 callers
Method
_discover_body
(**envelope: Any)
tests/client/client/test_mode_negotiation.py:175
↓ 2 callers
Function
_discriminator_target_name
Resolve a ``discriminator.mapping`` value to a local schema name. Mapping values hold "schema names or references", so a bare ``"Cat"`` means
fastmcp_slim/fastmcp/utilities/openapi/schemas.py:416
↓ 2 callers
Function
_dispatch_decorator
Shared dispatch logic for @app.tool() and @app.ui() calling patterns.
fastmcp_slim/fastmcp/apps/app.py:124
↓ 2 callers
Function
_download_skill
( client: Client, skill_name: str, target_dir: str | Path, *, overwrite: bool )
fastmcp_slim/fastmcp/utilities/skills.py:208
↓ 2 callers
Function
_drive_flow_tracking_step_up
Delegate to the inherited auth flow, flagging step-up challenges. On a 403 ``insufficient_scope`` the inherited flow unions the challenged scope
fastmcp_slim/fastmcp/client/auth/client_credentials.py:136
↓ 2 callers
Function
_drive_to_terminal
Poll `tasks/get` until the task reaches a terminal state. `working` sleeps and polls again; `input_required` answers the outstanding requests
fastmcp_tasks/fastmcp_tasks/client.py:248
↓ 2 callers
Function
_dump_task_fields
Dump without the `resultType` discriminator the draft schema omits. `resultType` is required by the protocol's result union but forbidden by the
tests/tasks/server/test_wire_models.py:56
↓ 2 callers
Method
_ec_assertion
Sign an ES256 assertion, returning it with the matching public JWK.
tests/server/auth/test_cimd_validators.py:359
↓ 2 callers
Function
_effective_prefab_tools
Use provider and session transforms before deriving resource identity.
fastmcp_slim/fastmcp/server/providers/prefab_synthesis.py:226
↓ 2 callers
Method
_encode_list_cookie
Encode values to base64 and sign with HMAC. Returns: signed cookie value (payload.signature)
fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py:209
↓ 2 callers
Function
_entry_files
On-disk entry files, excluding per-collection index files.
tests/server/auth/test_oauth_proxy_storage.py:221
↓ 2 callers
Function
_enum_values
(schema: Any)
fastmcp_slim/fastmcp/server/transforms/search/base.py:217
↓ 2 callers
Function
_evaluate_check
Evaluate a single auth check, masking unexpected failures as denial. An ``AuthorizationError`` is the check's deliberate denial and propagates.
fastmcp_slim/fastmcp/utilities/authorization.py:230
↓ 2 callers
Function
_expected
(tool: str, text: str)
tests/server/transforms/test_input_required.py:89
↓ 2 callers
Method
_extension_runtime
Track a serving root independently of resource lifespan ownership. Composite providers forward this scope to their children so live c
fastmcp_slim/fastmcp/server/providers/base.py:108
↓ 2 callers
Function
_extract_client_extension_settings
Pull `_meta[clientCapabilities][extensions][identifier]` from a lifted meta block.
fastmcp_slim/fastmcp/server/extensions.py:288
↓ 2 callers
Method
_extract_schema_dependencies
Extract all schema names referenced by a schema (including transitive dependencies). Args: schema: The schema to analyze
fastmcp_slim/fastmcp/utilities/openapi/parser.py:592
↓ 2 callers
Method
_extract_scopes
(self, claims: dict[str, Any])
fastmcp_slim/fastmcp/server/auth/providers/auth0.py:202
↓ 2 callers
Function
_fastmcp_surface
(mcp: FastMCP)
tests/docs/test_upgrade_guide_equivalence.py:108
↓ 2 callers
Method
_fetched
(self, uri: str)
fastmcp_slim/fastmcp/skills/_proxy.py:81
↓ 2 callers
Function
_file_resource
( provider: SkillManifestProvider, path: str, manifest: SkillManifest, file_path: str, fil
fastmcp_slim/fastmcp/skills/provider.py:508
↓ 2 callers
Function
_filter_rows
( rows: list[dict], region: str = "All", product: str = "All", )
examples/apps/explorer/explorer_server.py:287
↓ 2 callers
Function
_fit_id
(name: str)
fastmcp_slim/fastmcp/experimental/transforms/jev_search.py:83
↓ 2 callers
Method
_fit_question
(name: str)
fastmcp_slim/fastmcp/experimental/transforms/jev_search.py:257
↓ 2 callers
Function
_format_host_for_url
Format a host for inclusion in a URL, bracketing IPv6 addresses. A bare IPv6 address like ``::1`` must be wrapped in brackets when placed bef
fastmcp_slim/fastmcp/server/mixins/transport.py:38
↓ 2 callers
Function
_gated_server
(**kwargs: Any)
tests/server/test_completions.py:362
↓ 2 callers
Method
_generate
Generate a CLI for the server "weather" and return its CLIENT_SPEC.
tests/cli/test_generate_cli_remote.py:110
↓ 2 callers
Function
_get_candidate_from_response
Extract the first candidate from a response.
fastmcp_slim/fastmcp/client/sampling/handlers/google_genai.py:372
↓ 2 callers
Method
_get_connected_client
(self, server_name: str)
fastmcp_slim/fastmcp/client/group.py:221
↓ 2 callers
Method
_get_data
Get raw image data as base64-encoded string.
fastmcp_slim/fastmcp/utilities/types.py:293
↓ 2 callers
Function
_get_duration_ms
(start_time: float, /)
fastmcp_slim/fastmcp/server/middleware/logging.py:255
↓ 2 callers
Method
_get_entry
( self, uri: str, context: ServerRequestContext[Any, Any] )
fastmcp_slim/fastmcp/skills/extension.py:185
↓ 2 callers
Method
_get_execute_tool
(self)
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:704
↓ 2 callers
Method
_get_model
(self, model_preferences: ModelPreferences | None)
fastmcp_slim/fastmcp/client/sampling/handlers/google_genai.py:174
↓ 2 callers
Method
_get_prompt
(self, name: str, version: Any = None)
fastmcp_slim/fastmcp/apps/app.py:449
↓ 2 callers
Method
_get_resource
( self, uri: str, version: VersionSpec | None = None )
tests/skills/test_extension.py:86
↓ 2 callers
Method
_get_resource_template
(self, uri: str, version: Any = None)
fastmcp_slim/fastmcp/apps/app.py:443
↓ 2 callers
Method
_get_skill_entry
( self, uri: str, context: ServerRequestContext[Any, Any] )
tests/skills/test_read_skill.py:368
↓ 2 callers
Function
_get_skill_manifest
(client: Client, skill_name: str)
fastmcp_slim/fastmcp/utilities/skills.py:133
↓ 2 callers
Method
_get_tool
(self, name: str, version: Any = None)
fastmcp_slim/fastmcp/apps/app.py:431
↓ 2 callers
Method
_get_tool_by_hash
Look up an app-visible tool by its identity hash, before transforms. Matches on ``meta["fastmcp"]["tool_hash"]`` and requires ``"app"`` in
fastmcp_slim/fastmcp/server/providers/base.py:323
↓ 2 callers
Function
_get_user
( api_origin: str, credential: ResolvedCredential, )
fastmcp_slim/fastmcp/cli/deploy/command.py:187
↓ 2 callers
Function
_guard_server
()
tests/server/middleware/test_message_visibility.py:337
↓ 2 callers
Method
_handle
(self, request: httpx2.Request)
tests/utilities/httpx2_mock.py:160
↓ 2 callers
Function
_handle_prompt
Handle a prompt get within an open client session.
fastmcp_slim/fastmcp/cli/client.py:726
↓ 2 callers
Function
_has_literal_query
Whether the template writes `?` as literal text, outside a `{?...}` block.
fastmcp_slim/fastmcp/resources/template.py:108
↓ 2 callers
Function
_has_openapi_specific_fields
Whether the schema itself carries a keyword that needs converting.
fastmcp_slim/fastmcp/utilities/openapi/json_schema_converter.py:179
↓ 2 callers
Function
_has_read_only_properties
Quick check if schema has any readOnly properties.
fastmcp_slim/fastmcp/utilities/openapi/json_schema_converter.py:239
↓ 2 callers
Function
_has_ref
Check if a schema contains any $ref.
fastmcp_slim/fastmcp/server/middleware/dereference.py:67
↓ 2 callers
Function
_has_write_only_properties
Quick check if schema has any writeOnly properties.
fastmcp_slim/fastmcp/utilities/openapi/json_schema_converter.py:249
↓ 2 callers
Function
_host_origin_guard_middleware
Build the Host/Origin guard for an HTTP transport app. Returns None when `host_origin_protection` is False. `True` validates every request; `
fastmcp_slim/fastmcp/server/http.py:346
↓ 2 callers
Function
_http_request_with_headers
Build a minimal Starlette HTTP request carrying the given headers.
tests/server/http/test_http_dependencies.py:16
↓ 2 callers
Function
_import_key_for_algorithm
(key: str | bytes | JWKKeyData, algorithm: str)
fastmcp_slim/fastmcp/server/auth/providers/jwt.py:50
↓ 2 callers
Function
_initialize
Create a session with the given token and return its session id.
tests/server/http/test_session_owner_enforcement.py:59
↓ 2 callers
Method
_initialize
(self, files: Mapping[str, str | bytes])
fastmcp_slim/fastmcp/skills/skill.py:234
↓ 2 callers
Function
_inject_log_panel
Inject the MCP message log panel before </body>.
fastmcp_slim/fastmcp/cli/apps_dev.py:813
↓ 2 callers
Method
_injected_tools
Tools added by `ToolInjectionMiddleware`, one per name. Each name maps to the tool `_get_injected_tool()` resolves for it: the one fr
fastmcp_slim/fastmcp/server/server.py:766
↓ 2 callers
Function
_inlined_call_tool_result
Parse a completed task's inlined result dict into a `CallToolResult`.
fastmcp_tasks/fastmcp_tasks/client.py:303
↓ 2 callers
Method
_input_response_params
The active request's multi-round-trip fields (SEP-2322), if any. Reads the raw params of the active wire request through the SDK's pe
fastmcp_slim/fastmcp/server/context.py:369
↓ 2 callers
Method
_install_extension
Wire a registration, removing methods belonging to its predecessor.
fastmcp_slim/fastmcp/server/mixins/extensions.py:79
↓ 2 callers
Function
_invalid_folder
One line per invalid folder: what's wrong, then how to fix it.
fastmcp_slim/fastmcp/skills/provider.py:377
↓ 2 callers
Function
_is_authored_skill
Check real inheritance, excluding the public wire-model compatibility alias.
fastmcp_slim/fastmcp/skills/skill.py:144
↓ 2 callers
Function
_is_input_required_type
True when *tp* is the `InputRequiredResult` type (SEP-2322). Resolves a `TypeAliasType` and peels an `Annotated` wrapper first, so an aliased
fastmcp_slim/fastmcp/tools/function_parsing.py:95
↓ 2 callers
Method
_is_served
Advertise a skill only when this caller can read every file as listed.
fastmcp_slim/fastmcp/skills/provider.py:164
↓ 2 callers
Method
_is_served
(self, entry: MCPSkill)
fastmcp_slim/fastmcp/skills/_proxy.py:139
↓ 2 callers
Function
_is_simple_type
Check if a schema represents a simple (non-complex) type.
fastmcp_slim/fastmcp/cli/generate.py:39
↓ 2 callers
Function
_is_unsafe_redirect_uri
(uri: str)
fastmcp_slim/fastmcp/server/auth/redirect_validation.py:342
↓ 2 callers
Function
_json_values_equal
Compare JSON values without treating booleans as numbers.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:744
↓ 2 callers
Function
_key_asking
The surfaced key whose parked request asks *message*.
tests/tasks/server/test_guard_reentrant.py:66
↓ 2 callers
Function
_key_type_for_algorithm
(algorithm: str)
fastmcp_slim/fastmcp/server/auth/providers/jwt.py:38
↓ 2 callers
Method
_limits_tool
(self, name: str)
fastmcp_slim/fastmcp/server/middleware/response_limiting.py:72
↓ 2 callers
Method
_list_entries
( self, context: ServerRequestContext[Any, Any] )
fastmcp_slim/fastmcp/skills/extension.py:161
↓ 2 callers
Method
_list_prompts
Return all available prompts. Override to provide prompts dynamically. Returns ALL versions of all prompts. The server handles dedupl
fastmcp_slim/fastmcp/server/providers/base.py:555
↓ 2 callers
Method
_list_resource_templates
Return all available resource templates. Override to provide resource templates dynamically. Returns ALL versions. The server handles
fastmcp_slim/fastmcp/server/providers/base.py:524
↓ 2 callers
Method
_list_resources
Return all available resources. Override to provide resources dynamically. Returns ALL versions of all resources. The server handles
fastmcp_slim/fastmcp/server/providers/base.py:493
↓ 2 callers
Method
_list_resources
List all resources from the remote server.
fastmcp_slim/fastmcp/server/providers/proxy.py:1132
↓ 2 callers
Function
_list_skills
(client: Client)
fastmcp_slim/fastmcp/utilities/skills.py:91
↓ 2 callers
Method
_listed
(self)
fastmcp_slim/fastmcp/skills/_proxy.py:72
↓ 2 callers
Function
_listing
(kind: str, name: str)
tests/server/providers/proxy/test_cache_refresh_races.py:12
↓ 2 callers
Function
_local_http_client
Client for the local MCP server, which is never reached through a proxy.
fastmcp_slim/fastmcp/cli/apps_dev.py:1103
↓ 2 callers
Function
_make_app
()
tests/server/http/test_session_owner_enforcement.py:44
↓ 2 callers
Method
_make_call_tool
Create the call_tool proxy that executes discovered tools.
fastmcp_slim/fastmcp/server/transforms/search/base.py:360
↓ 2 callers
Method
_make_client_key
Create a stable key for consent tracking. The key covers what the consent page showed: the client, the redirect URI and the requested
fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py:103
↓ 2 callers
Method
_make_get_prompt_tool
Create the get_prompt tool.
fastmcp_slim/fastmcp/server/transforms/prompts_as_tools.py:129
↓ 2 callers
Method
_make_list_prompts_tool
Create the list_prompts tool.
fastmcp_slim/fastmcp/server/transforms/prompts_as_tools.py:94
↓ 2 callers
Method
_make_list_resources_tool
Create the list_resources tool.
fastmcp_slim/fastmcp/server/transforms/resources_as_tools.py:97
↓ 2 callers
Method
_make_read_resource_tool
Create the read_resource tool.
fastmcp_slim/fastmcp/server/transforms/resources_as_tools.py:140
↓ 2 callers
Method
_make_reader_tool
(self)
tests/server/transforms/test_catalog.py:53
↓ 2 callers
Function
_make_restoring_handler
Wrap a proxy handler to restore request_ctx before delegating.
fastmcp_slim/fastmcp/server/providers/proxy.py:1850
↓ 2 callers
Method
_make_search_tool
Create the search tool. Subclasses define the parameter schema.
fastmcp_slim/fastmcp/server/transforms/search/base.py:356
↓ 2 callers
Method
_make_server
(self)
tests/tools/tool/test_results.py:499
↓ 2 callers
Function
_make_summary
(entry: dict[str, Any])
fastmcp_slim/fastmcp/apps/file_upload.py:96
↓ 2 callers
Method
_make_synthetic_tool
(self)
tests/server/transforms/test_catalog.py:81
↓ 2 callers
Method
_make_task_context
( self, mcp: FastMCP, session_id: str )
tests/tasks/server/test_context_background_task.py:187
↓ 2 callers
Method
_make_task_context
( self, mcp: FastMCP, extensions: dict[str, dict[str, Any]] | None )
tests/tasks/server/test_context_background_task.py:246
↓ 2 callers
Method
_make_tool
(self, row: aiosqlite.Row)
examples/providers/sqlite/server.py:97
↓ 2 callers
Function
_manifest_resource
(path: str, manifest: SkillManifest)
fastmcp_slim/fastmcp/skills/provider.py:530
↓ 2 callers
Method
_map
(self, entry: MCPSkill)
fastmcp_slim/fastmcp/skills/_composition.py:111
↓ 2 callers
Function
_mark_verify_factory
Tag a factory generated from ``verify`` so it can be told apart from a caller-supplied factory.
fastmcp_slim/fastmcp/client/transports/base.py:34
↓ 2 callers
Method
_matches
(self, name: str)
fastmcp_remote/fastmcp_remote/cli.py:60
← previous
next →
1,401–1,500 of 15,976, ranked by callers