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
↓ 2 callers
Method
get
(self, url)
tests/server/auth/providers/test_auth0_mcp.py:271
↓ 2 callers
Method
get_calls
Get all recorded calls for a specific method or hook. Args: method: The method to filter by (e.g. "tools/list")
tests/server/middleware/test_middleware_nested.py:50
↓ 2 callers
Method
get_challenge_scopes
Translate effective validation scopes for the authorization server.
fastmcp_slim/fastmcp/server/auth/auth.py:641
↓ 2 callers
Method
get_challenge_scopes
Select challenge scopes through an unambiguous auth source. Without a `required_scopes` override, the server or sole verifier selects
fastmcp_slim/fastmcp/server/auth/auth.py:954
↓ 2 callers
Method
get_challenge_scopes
Prefix any effective validation scopes for Azure authorization.
fastmcp_slim/fastmcp/server/auth/providers/azure.py:815
↓ 2 callers
Method
get_client_id
(ctx)
tests/server/middleware/test_rate_limiting.py:253
↓ 2 callers
Function
get_db_pool
()
examples/memory.py:77
↓ 2 callers
Function
get_http_status_code
Return the response status code from a recognized HTTP status error.
fastmcp_slim/fastmcp/utilities/exceptions.py:26
↓ 2 callers
Method
get_middleware
Get HTTP application-level middleware for this auth provider. Returns: List of Starlette Middleware instances to apply to the HTT
fastmcp_slim/fastmcp/server/auth/auth.py:479
↓ 2 callers
Method
get_notifications
Get all recorded notifications, optionally filtered by method.
tests/client/test_notifications.py:36
↓ 2 callers
Method
get_prompt
Retrieve a rendered prompt message list from the server. Args: name (str): The name of the prompt to retrieve. argume
fastmcp_slim/fastmcp/client/mixins/prompts.py:186
↓ 2 callers
Function
get_property
(tool: Tool, name: str)
tests/tools/tool_transform/test_tool_transform.py:28
↓ 2 callers
Function
get_protocol_span_attributes
Get the protocol attributes for the current request. Mirrors the `mcp.protocol.version` and `jsonrpc.request.id` attributes the SDK's own `Op
fastmcp_slim/fastmcp/server/telemetry.py:91
↓ 2 callers
Method
get_resource
Get resource by namespaced URI.
fastmcp_slim/fastmcp/server/transforms/namespace.py:128
↓ 2 callers
Method
get_routes
( self, mcp_path: str | None = None, )
fastmcp_slim/fastmcp/server/auth/providers/descope.py:325
↓ 2 callers
Function
get_session_span_attributes
Get session attributes for the current request.
fastmcp_slim/fastmcp/server/telemetry.py:77
↓ 2 callers
Method
get_skill_mcp
Send a `skills/get` request and return its protocol result. Args: uri: URI of the skill's `SKILL.md` resource. cache_
fastmcp_slim/fastmcp/client/mixins/skills.py:167
↓ 2 callers
Function
get_task_server
Get the registered server for a background task, if still alive.
fastmcp_tasks/fastmcp_tasks/context.py:476
↓ 2 callers
Function
get_task_session
Get a registered session by ID if still alive. Returns None in distributed workers where the session lives in another process — callers must
fastmcp_tasks/fastmcp_tasks/context.py:446
↓ 2 callers
Method
get_token_verifier
Creates a Cognito-specific token verifier with claim filtering. Args: algorithm: Optional token verifier algorithm au
fastmcp_slim/fastmcp/server/auth/providers/aws.py:245
↓ 2 callers
Method
get_tool
Get tool by namespaced name.
fastmcp_slim/fastmcp/server/transforms/namespace.py:105
↓ 2 callers
Method
get_tool
(name: str, version=None)
tests/server/providers/test_local_provider.py:743
↓ 2 callers
Function
github
(path: str, *, paginate: bool = False)
scripts/public_triage.py:30
↓ 2 callers
Function
goose_command
Install an MCP server in Goose. Uses uvx to run the server. Environment variables are not included in the deeplink; use `fastmcp install mcp-
fastmcp_slim/fastmcp/cli/install/goose.py:135
↓ 2 callers
Method
graphql
(self, query: str, variables: dict[str, Any])
scripts/rank_issues.py:176
↓ 2 callers
Method
handle
Wrap SDK handle() and transform auth error responses. The SEP-990 jwt-bearer (ID-JAG) grant is dispatched here rather than by the SDK
fastmcp_slim/fastmcp/server/auth/auth.py:92
↓ 2 callers
Function
hashed_lookup_target
The tool a running `get_tool_by_hash()` on `provider` found, if any.
fastmcp_slim/fastmcp/server/providers/base.py:798
↓ 2 callers
Function
hashed_resource_uri
Per-tool Prefab renderer resource URI.
fastmcp_slim/fastmcp/server/providers/addressing.py:93
↓ 2 callers
Function
held
(item: dict)
scripts/public_triage.py:108
↓ 2 callers
Method
home
(self)
examples/smart_home/src/smart_home/fire_tv/client.py:27
↓ 2 callers
Function
horizontal
(graph, left, right, y, label)
status-site/app.js:83
↓ 2 callers
Function
infer_transport_type_from_url
Infer the appropriate transport type from the given URL.
fastmcp_slim/fastmcp/mcp_config.py:56
↓ 2 callers
Function
install_mcp_json
Generate MCP configuration JSON for manual installation. Args: file: Path to the server file server_object: Optional server objec
fastmcp_slim/fastmcp/cli/install/mcp_json.py:21
↓ 2 callers
Function
interactions
(graph, entries, nearest, show, choose)
status-site/app.js:110
↓ 2 callers
Function
is_already_in_uv_subprocess
Check if we're already running in a FastMCP uv subprocess.
fastmcp_slim/fastmcp/utilities/cli.py:28
↓ 2 callers
Function
is_app_tool_with_identity
Whether a tool carries this identity hash and is callable by apps.
fastmcp_slim/fastmcp/server/providers/addressing.py:65
↓ 2 callers
Function
is_cancelled
Whether the task was logically cancelled (see ``mark_cancelled``).
fastmcp_tasks/fastmcp_tasks/input_store.py:462
↓ 2 callers
Function
is_closed_duplicate
(issue: dict)
scripts/auto_close_duplicates.py:288
↓ 2 callers
Function
is_prefab_app
Return whether a value is a Prefab app.
fastmcp_slim/fastmcp/utilities/prefab.py:51
↓ 2 callers
Function
is_prefab_component
Return whether a value is a Prefab component.
fastmcp_slim/fastmcp/utilities/prefab.py:60
↓ 2 callers
Function
is_prefab_type
Return whether a type is a Prefab app or component type.
fastmcp_slim/fastmcp/utilities/prefab.py:42
↓ 2 callers
Function
jev_questions
(project: str)
scripts/rank_issues.py:481
↓ 2 callers
Function
judge_state
(issue: Issue, config: Config)
scripts/rank_issues.py:472
↓ 2 callers
Method
launch_app
(self, app: str)
examples/smart_home/src/smart_home/fire_tv/client.py:29
↓ 2 callers
Method
lifespan
User-overridable lifespan for custom setup and teardown. Override this method to perform provider-specific initialization like openin
fastmcp_slim/fastmcp/server/providers/base.py:661
↓ 2 callers
Method
lifespan
Combine lifespans of all providers.
fastmcp_slim/fastmcp/server/providers/aggregate.py:426
↓ 2 callers
Method
list_organizations
(self)
fastmcp_slim/fastmcp/cli/deploy/horizon_client.py:297
↓ 2 callers
Method
list_prompts_mcp
Send a prompts/list request and return the complete MCP protocol result. Args: cursor: Optional pagination cursor from a previous
fastmcp_slim/fastmcp/client/mixins/prompts.py:28
↓ 2 callers
Method
list_resource_templates
Add namespace path segment to template URIs.
fastmcp_slim/fastmcp/server/transforms/namespace.py:148
↓ 2 callers
Method
list_resource_templates_mcp
Send a resources/listResourceTemplates request and return the complete MCP protocol result. Args: cursor: Optional pagination cur
fastmcp_slim/fastmcp/client/mixins/resources.py:120
↓ 2 callers
Method
list_resources
Add namespace path segment to resource URIs.
fastmcp_slim/fastmcp/server/transforms/namespace.py:121
↓ 2 callers
Method
list_resources_mcp
Send a resources/list request and return the complete MCP protocol result. Args: cursor: Optional pagination cursor from a previo
fastmcp_slim/fastmcp/client/mixins/resources.py:29
↓ 2 callers
Method
list_schema
Generate schema for list types, detecting enum items for multi-select.
fastmcp_slim/fastmcp/server/elicitation.py:81
↓ 2 callers
Method
list_tools
Retrieve all tools available on the server. This method automatically fetches all pages if the server paginates results, returning th
fastmcp_slim/fastmcp/client/mixins/tools.py:91
↓ 2 callers
Method
list_tools
Prefix tool names with namespace.
fastmcp_slim/fastmcp/server/transforms/namespace.py:99
↓ 2 callers
Function
log_server_banner
Creates and logs a formatted banner with server information and logo.
fastmcp_slim/fastmcp/utilities/cli.py:208
↓ 2 callers
Function
maintainer_reply
(issue: Issue)
scripts/rank_issues.py:806
↓ 2 callers
Function
make_proxy
(jwt_verifier)
tests/server/auth/oauth_proxy/test_nonpositive_expires_in.py:18
↓ 2 callers
Method
make_server
()
tests/server/auth/test_authorization.py:1781
↓ 2 callers
Function
make_spec
(q_parameter: dict[str, Any])
tests/server/providers/openapi/test_query_key_collisions.py:16
↓ 2 callers
Method
make_tool_server
(self)
tests/server/auth/test_authorization.py:1554
↓ 2 callers
Function
marked_review
(*, head="a" * 40, baseline="b" * 40, number=1, **overrides)
tests/test_public_triage.py:294
↓ 2 callers
Method
methods
(self)
tests/server/test_provider_extensions.py:61
↓ 2 callers
Function
missing_capability_error_data
Build the `data.requiredCapabilities` payload for a -32021 error. A `required`-mode tool called without the client opting the tasks extension
fastmcp_tasks/fastmcp_tasks/models.py:193
↓ 2 callers
Method
missing_scopes
(self, ctx: AuthContext)
fastmcp_slim/fastmcp/utilities/authorization.py:101
↓ 2 callers
Function
newest_number
()
scripts/backlog_status.py:37
↓ 2 callers
Function
normalizePathname
(pathname)
docs/fastmcp-analytics.js:46
↓ 2 callers
Function
note_actors
Keep GitHub actor types, including plain-handle aliases for app bots.
scripts/release_contributor_credit.py:129
↓ 2 callers
Method
on_call_tool
Time tool execution.
fastmcp_slim/fastmcp/server/middleware/timing.py:111
↓ 2 callers
Method
on_list
(self, ctx: Context)
tests/apps/test_file_upload_retention.py:186
↓ 2 callers
Method
on_request
Time request execution and log the results.
fastmcp_slim/fastmcp/server/middleware/timing.py:39
↓ 2 callers
Method
on_store
(self, files: list[dict[str, Any]], ctx: Context)
tests/apps/test_file_upload_retention.py:182
↓ 2 callers
Function
one
(batch: list[str])
scripts/rank_issues.py:434
↓ 2 callers
Function
optional_scope_challenge_proxy
()
tests/server/auth/test_multi_auth.py:58
↓ 2 callers
Function
parse_frontmatter
(content: bytes)
fastmcp_slim/fastmcp/skills/_snapshot.py:58
↓ 2 callers
Function
parse_time
(value: str)
scripts/backlog_status.py:60
↓ 2 callers
Function
prefab_app_from_component
Wrap a Prefab component in a Prefab app.
fastmcp_slim/fastmcp/utilities/prefab.py:69
↓ 2 callers
Function
prefab_available
Return whether Prefab UI is installed without importing it.
fastmcp_slim/fastmcp/utilities/prefab.py:12
↓ 2 callers
Method
prepare_source
Prepare the source for loading. Delegates to the source's prepare() method.
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/mcp_server_config.py:404
↓ 2 callers
Method
prompt
( self, name_or_fn: F, *, name: str | None = None, version: str | int
fastmcp_slim/fastmcp/server/server.py:2256
↓ 2 callers
Function
ranking
()
status-site/operations.js:188
↓ 2 callers
Method
read
Read the resource content.
fastmcp_slim/fastmcp/resources/template.py:672
↓ 2 callers
Method
read
(self)
fastmcp_slim/fastmcp/skills/provider.py:192
↓ 2 callers
Function
read_state
Read and validate a versioned JSON state file.
fastmcp_slim/fastmcp/cli/deploy/state.py:146
↓ 2 callers
Function
reentrant_task_fn
Wrap a task tool's callable to capture a guard leg's ask (end-and-reenter). Signature-preserving, so Docket injects the wrapped callable's parame
fastmcp_tasks/fastmcp_tasks/input_loop.py:125
↓ 2 callers
Method
reference
Refer to a class's identity rather than its possibly shared display name.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:263
↓ 2 callers
Method
register
(fn: CompletionHandler)
fastmcp_slim/fastmcp/server/server.py:2453
↓ 2 callers
Method
register_client
(self, client_info: OAuthClientInformationFull)
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:73
↓ 2 callers
Function
register_task_server
Register the server for a background task. Called at task-submission time so that background workers can resolve the correct (child) server f
fastmcp_tasks/fastmcp_tasks/context.py:465
↓ 2 callers
Function
release_prs
(notes: str)
scripts/release_contributor_credit.py:107
↓ 2 callers
Method
remove_label
Remove a label from an issue.
scripts/auto_close_duplicates.py:179
↓ 2 callers
Method
remove_prompt
Remove prompt(s) from this provider's storage. Args: name: The prompt name. version: If None, removes ALL versions. I
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:304
↓ 2 callers
Method
remove_resource
Remove resource(s) from this provider's storage. Args: uri: The resource URI. version: If None, removes ALL versions.
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:246
↓ 2 callers
Method
remove_tool
Remove tool(s) from this provider's storage. Args: name: The tool name. version: If None, removes ALL versions. If sp
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:218
↓ 2 callers
Method
renderer_uri
Return the renderer URI the server lists to an authorized caller.
tests/server/auth/test_authorization.py:1791
↓ 2 callers
Function
replace_type
Given a (possibly generic, nested, or otherwise complex) type, replaces all instances of keys in type_map with their corresponding values.
fastmcp_slim/fastmcp/utilities/types.py:498
↓ 2 callers
Method
replay_events_after
( self, last_event_id: EventId, send_callback: EventCallback, )
fastmcp_slim/fastmcp/server/session_scoped_event_store.py:41
↓ 2 callers
Method
reply_error
(self, request_id: Any, code: int, message: str)
tests/client/minimal_stdio_server.py:99
↓ 2 callers
Function
require_complete
(items: list[dict], newest: int)
scripts/backlog_status.py:53
↓ 2 callers
Function
require_discriminator_property
Keep an OpenAPI discriminator's tag mandatory after the keyword is dropped. Returns a copy of *schema* with ``discriminator.propertyName`` added
fastmcp_slim/fastmcp/utilities/json_schema.py:288
← previous
next →
1,701–1,800 of 15,974, ranked by callers