arcade-mcp/libs/arcade-mcp-server/arcade_mcp_server/auth/__init__.py
jottakka 7a06bdfa7e
PagerDuty typed OAuth object (#718)
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> Adds a typed `PagerDuty` OAuth2 provider and wires it through TDK/MCP
exports, with tests and coordinated version/dependency bumps.
> 
> - **Auth (core)**:
> - Add typed OAuth2 provider `PagerDuty` (`provider_id="pagerduty"`) in
`arcade_core/auth.py`.
> - **TDK & MCP Server**:
> - Re-export `PagerDuty` in `arcade_tdk/auth/__init__.py` and
`arcade_mcp_server/auth/__init__.py`.
> - **Tests**:
> - Extend `test_tool_decorator.py` and `test_create_tool_definition.py`
to cover `PagerDuty` success/failure and tool requirement generation.
> - **Versioning/Deps**:
> - Bump versions: `arcade-core`→`4.1.0`, `arcade-tdk`→`3.4.0`,
`arcade-mcp-server`→`1.14.0`, root `arcade-mcp`→`1.7.1`.
>   - Update dependency ranges to require the bumped versions.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
2b60261b1962586ea58831ccb6ea66e57053ac86. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

---------

Co-authored-by: Francisco Liberal <francisco@arcade.dev>
2025-12-15 17:42:11 -03:00

49 lines
654 B
Python

from arcade_core.auth import (
Asana,
Atlassian,
ClickUp,
Discord,
Dropbox,
Figma,
GitHub,
Google,
Hubspot,
Linear,
LinkedIn,
Microsoft,
Notion,
OAuth2,
PagerDuty,
Reddit,
Slack,
Spotify,
ToolAuthorization,
Twitch,
X,
Zoom,
)
__all__ = [
"Asana",
"Atlassian",
"ClickUp",
"Discord",
"Dropbox",
"Figma",
"GitHub",
"Google",
"Hubspot",
"Linear",
"LinkedIn",
"Microsoft",
"Notion",
"PagerDuty",
"OAuth2",
"Reddit",
"Slack",
"Spotify",
"ToolAuthorization",
"Twitch",
"X",
"Zoom",
]