mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 22:18:09 +01:00
* initial mcp * food ordering with mcp * prompt eng * splitting out goals and updating docs * a diff so I can get tests from codex * a diff so I can get tests from codex * oops, missing files * tests, file formatting * readme and setup updates * setup.md link fixes * readme change * readme change * readme change * stripe food setup script * single agent mode default * prompt engineering for better multi agent performance * performance should be greatly improved * Update goals/finance.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update activities/tool_activities.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * co-pilot PR suggested this change, and now fixed it * stronger wording around json format response * formatting * moved docs to dir * moved image assets under docs * cleanup env example, stripe guidance * cleanup --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
28 lines
705 B
Python
28 lines
705 B
Python
import os
|
|
|
|
from models.tool_definitions import MCPServerDefinition
|
|
|
|
|
|
def get_stripe_mcp_server_definition(included_tools: list[str]) -> MCPServerDefinition:
|
|
"""
|
|
Returns a Stripe MCP server definition with customizable included tools.
|
|
|
|
Args:
|
|
included_tools: List of tool names to include from the Stripe MCP server
|
|
|
|
Returns:
|
|
MCPServerDefinition configured for Stripe
|
|
"""
|
|
return MCPServerDefinition(
|
|
name="stripe-mcp",
|
|
command="npx",
|
|
args=[
|
|
"-y",
|
|
"@stripe/mcp",
|
|
"--tools=all",
|
|
f"--api-key={os.getenv('STRIPE_API_KEY')}",
|
|
],
|
|
env=None,
|
|
included_tools=included_tools,
|
|
)
|