Skip to content

Migrate Jira and Salesforce examples from plugins to Python endpoints #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

bgaidioz
Copy link
Contributor

@bgaidioz bgaidioz commented Jul 3, 2025

Refactors both the Jira and Salesforce examples to use direct Python MCP endpoints instead of the plugin-based approach. This makes both integrations much simpler and more maintainable.

Key changes:

  • Replaced plugins with direct Python functions in jira_endpoints.py and salesforce_endpoints.py
  • Updated all tool definitions to call Python functions instead of SQL UDFs
  • Changed configuration to use secrets instead of plugin config
  • Added comprehensive tests for all endpoints
  • Removed SQL wrapper files that are no longer needed

Benefits:

  • No custom plugins required - just plain Python functions
  • Direct MCP tool calls without SQL wrapper layer
  • Simpler configuration and easier debugging
  • More flexible return types (JSON instead of SQL strings)
  • Demonstrates the Python endpoint pattern for future integrations

@bgaidioz bgaidioz force-pushed the salesforce-jira-python-tools branch from bc91b9e to c849cd5 Compare July 3, 2025 16:12
@bgaidioz bgaidioz marked this pull request as ready for review July 4, 2025 07:05
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@bgaidioz bgaidioz force-pushed the salesforce-jira-python-tools branch from 9ad476e to f38df92 Compare July 4, 2025 15:23
cursor[bot]

This comment was marked as outdated.

@bgaidioz bgaidioz force-pushed the salesforce-jira-python-tools branch from f38df92 to cbe1bf3 Compare July 21, 2025 14:55
cursor[bot]

This comment was marked as outdated.

@bgaidioz bgaidioz force-pushed the salesforce-jira-python-tools branch from cbe1bf3 to e927b15 Compare July 23, 2025 14:14
cursor[bot]

This comment was marked as outdated.

@bgaidioz bgaidioz force-pushed the salesforce-jira-python-tools branch from e927b15 to 14c8b00 Compare July 31, 2025 08:44
@bgaidioz bgaidioz changed the base branch from main to refactor July 31, 2025 09:53
Base automatically changed from refactor to main August 11, 2025 09:45
@bgaidioz bgaidioz force-pushed the salesforce-jira-python-tools branch from 14c8b00 to bbcafa4 Compare August 14, 2025 09:13
@bgaidioz bgaidioz force-pushed the salesforce-jira-python-tools branch from 644dfa5 to 2d95c04 Compare August 19, 2025 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants