Skip to main content
Glama

stripe

Official
by stripe
tool.py661 B
""" This tool allows agents to interact with the Stripe API. """ from __future__ import annotations from typing import Any, Optional, Type from pydantic import BaseModel from crewai_tools import BaseTool from ..api import StripeAPI class StripeTool(BaseTool): """Tool for interacting with the Stripe API.""" stripe_api: StripeAPI method: str name: str = "" description: str = "" args_schema: Optional[Type[BaseModel]] = None def _run( self, *args: Any, **kwargs: Any, ) -> str: """Use the Stripe API to run an operation.""" return self.stripe_api.run(self.method, *args, **kwargs)

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/stripe/agent-toolkit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server