chore: register HuggingFace tool in tool/credential registries
This commit is contained in:
@@ -82,6 +82,7 @@ from .health_check import (
|
||||
check_credential_health,
|
||||
validate_integration_wiring,
|
||||
)
|
||||
from .huggingface import HUGGINGFACE_CREDENTIALS
|
||||
from .hubspot import HUBSPOT_CREDENTIALS
|
||||
from .intercom import INTERCOM_CREDENTIALS
|
||||
from .linear import LINEAR_CREDENTIALS
|
||||
@@ -128,6 +129,7 @@ CREDENTIAL_SPECS = {
|
||||
**GOOGLE_DOCS_CREDENTIALS,
|
||||
**GOOGLE_MAPS_CREDENTIALS,
|
||||
**GOOGLE_SEARCH_CONSOLE_CREDENTIALS,
|
||||
**HUGGINGFACE_CREDENTIALS,
|
||||
**HUBSPOT_CREDENTIALS,
|
||||
**INTERCOM_CREDENTIALS,
|
||||
**LINEAR_CREDENTIALS,
|
||||
@@ -189,6 +191,7 @@ __all__ = [
|
||||
"GOOGLE_DOCS_CREDENTIALS",
|
||||
"GOOGLE_MAPS_CREDENTIALS",
|
||||
"GOOGLE_SEARCH_CONSOLE_CREDENTIALS",
|
||||
"HUGGINGFACE_CREDENTIALS",
|
||||
"HUBSPOT_CREDENTIALS",
|
||||
"INTERCOM_CREDENTIALS",
|
||||
"LINEAR_CREDENTIALS",
|
||||
|
||||
@@ -66,6 +66,7 @@ from .google_docs_tool import register_tools as register_google_docs
|
||||
from .google_maps_tool import register_tools as register_google_maps
|
||||
from .google_search_console_tool import register_tools as register_google_search_console
|
||||
from .http_headers_scanner import register_tools as register_http_headers_scanner
|
||||
from .huggingface_tool import register_tools as register_huggingface
|
||||
from .hubspot_tool import register_tools as register_hubspot
|
||||
from .linear_tool import register_tools as register_linear
|
||||
from .intercom_tool import register_tools as register_intercom
|
||||
@@ -233,6 +234,9 @@ def register_all_tools(
|
||||
# Plaid banking & financial data
|
||||
register_plaid(mcp, credentials=credentials)
|
||||
|
||||
# HuggingFace Hub (models, datasets, spaces)
|
||||
register_huggingface(mcp, credentials=credentials)
|
||||
|
||||
# Return the list of all registered tool names
|
||||
return list(mcp._tool_manager._tools.keys())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user