chore: register Asana tool in tool/credential registries
This commit is contained in:
@@ -56,6 +56,7 @@ To add a new credential:
|
||||
"""
|
||||
|
||||
from .apify import APIFY_CREDENTIALS
|
||||
from .asana import ASANA_CREDENTIALS
|
||||
from .apollo import APOLLO_CREDENTIALS
|
||||
from .attio import ATTIO_CREDENTIALS
|
||||
from .base import CredentialError, CredentialSpec
|
||||
@@ -115,6 +116,7 @@ CREDENTIAL_SPECS = {
|
||||
**EMAIL_CREDENTIALS,
|
||||
**GCP_VISION_CREDENTIALS,
|
||||
**APIFY_CREDENTIALS,
|
||||
**ASANA_CREDENTIALS,
|
||||
**APOLLO_CREDENTIALS,
|
||||
**ATTIO_CREDENTIALS,
|
||||
**DISCORD_CREDENTIALS,
|
||||
@@ -186,6 +188,7 @@ __all__ = [
|
||||
"GOOGLE_CALENDAR_CREDENTIALS",
|
||||
"SLACK_CREDENTIALS",
|
||||
"APIFY_CREDENTIALS",
|
||||
"ASANA_CREDENTIALS",
|
||||
"APOLLO_CREDENTIALS",
|
||||
"ATTIO_CREDENTIALS",
|
||||
"SERPAPI_CREDENTIALS",
|
||||
|
||||
@@ -23,6 +23,7 @@ if TYPE_CHECKING:
|
||||
# Import register_tools from each tool module
|
||||
from .account_info_tool import register_tools as register_account_info
|
||||
from .apify_tool import register_tools as register_apify
|
||||
from .asana_tool import register_tools as register_asana
|
||||
from .apollo_tool import register_tools as register_apollo
|
||||
from .arxiv_tool import register_tools as register_arxiv
|
||||
from .attio_tool import register_tools as register_attio
|
||||
@@ -215,6 +216,9 @@ def register_all_tools(
|
||||
# Google Search Console (Analytics, Sitemaps, URL Inspection)
|
||||
register_google_search_console(mcp, credentials=credentials)
|
||||
|
||||
# Asana task & project management
|
||||
register_asana(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