8000 Salesforce by dvlpjrs · Pull Request #149 · gumloop/guMCP · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Salesforce #149

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

Merged
merged 37 commits into from
May 16, 2025
Merged

Salesforce #149

merged 37 commits into from
May 16, 2025

Conversation

dvlpjrs
Copy link
Collaborator
@dvlpjrs dvlpjrs commented May 16, 2025

Greptile Summary

This PR revises multiple server implementations and test configurations in guMCP. It enhances Salesforce, Gmail, HubSpot, and Slack by updating parameters, output schemas, and required scopes.

  • gCalendar: Adds new event parameters and returns JSON responses consistently.
  • Gmail: Defines detailed outputSchema examples and adjusts identifier naming (e.g. email_thread_id).
  • HubSpot: Updates config and tool scopes to closely align with API requirements.
  • Salesforce: Refines OAuth flow, scope assignments, and corrects outdated docstrings.
  • Slack: Improves channel/user resolution and streamlines test configurations.

@dvlpjrs dvlpjrs merged commit 609353e into staging May 16, 2025
1 check passed
Copy link
Contributor
@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

12 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile

Comment on lines +35 to +47
async def get_salesforce_token(user_id, api_key=None):
"""
This function is used to get the Salesforce access token for a specific user.

Args:
user_id (str): The user identifier.
api_key (Optional[str]): Optional API key.

Returns:
str: The access token to authenticate with the Snowflake API.
"""
token = await get_credentials(user_id, SERVICE_NAME, api_key)
return token
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

8000

logic: Docstring in get_salesforce_token still references 'Snowflake API'. Update to 'Salesforce API'.

Suggested change
async def get_salesforce_token(user_id, api_key=None):
"""
This function is used to get the Salesforce access token for a specific user.
Args:
user_id (str): The user identifier.
api_key (Optional[str]): Optional API key.
Returns:
str: The access token to authenticate with the Snowflake API.
"""
token = await get_credentials(user_id, SERVICE_NAME, api_key)
return token
async def get_salesforce_token(user_id, api_key=None):
"""
This function is used to get the Salesforce access token for a specific user.
Args:
user_id (str): The user identifier.
api_key (Optional[str]): Optional API key.
Returns:
str: The access token to authenticate with the Salesforce API.
"""
token = await get_credentials(user_id, SERVICE_NAME, api_key)
return token

rbehal added a commit that referenced this pull request May 17, 2025
…t 1 (#152)

* Jyoti gmlp 3121 resource and scope (#142)

* attio scopes

* calendly scope

* new resources, output schema, scopes

* updated resources, added outputschema

* discourse outputschema, resource update

* docusign scope, output format update, outputschema

* oauth fix, outputschema, requredscopes

* excel

* outptuschema, requiredscopes, test clean up, resource update

* fircrawl outputschema

* temp

* gmail

* temp

* Jyoti gmlp 3121 resource and scope (#143)

* attio scopes

* calendly scope

* new resources, output schema, scopes

* updated resources, added outputschema

* discourse outputschema, resource update

* docusign scope, output format update, outputschema

* oauth fix, outputschema, requredscopes

* excel

* outptuschema, requiredscopes, test clean up, resource update

* fircrawl outputschema

* temp

* gmail

* temp

* gcal

* Jyoti gmlp 3121 resource and scope (#144)

* attio scopes

* calendly scope

* new resources, output schema, scopes

* updated resources, added outputschema

* discourse outputschema, resource update

* docusign scope, output format update, outputschema

* oauth fix, outputschema, requredscopes

* excel

* outptuschema, requiredscopes, test clean up, resource update

* fircrawl outputschema

* temp

* gmail

* temp

* gcal

* gdocs

* Jyoti gmlp 3121 resource and scope (#146)

* attio scopes

* calendly scope

* new resources, output schema, scopes

* updated resources, added outputschema

* discourse outputschema, resource update

* docusign scope, output format update, outputschema

* oauth fix, outputschema, requredscopes

* excel

* outptuschema, requiredscopes, test clean up, resource update

* fircrawl outputschema

* temp

* gmail

* temp

* gcal

* gdocs

* gdocs

* gdocs

* gdrive

* gmeet

* Salesforce (#149)

* attio scopes

* calendly scope

* new resources, output schema, scopes

* updated resources, added outputschema

* discourse outputschema, resource update

* docusign scope, output format update, outputschema

* oauth fix, outputschema, requredscopes

* excel

* outptuschema, requiredscopes, test clean up, resource update

* fircrawl outputschema

* temp

* gmail

* temp

* gcal

* gdocs

* gdocs

* gdocs

* gdrive

* gmeet

* hubspot

* gmail outputschema, updated test

* slack

* slack

* gcalendar

* gcal

* salesforce

* salesforce

* salesforce

* salesforce outh

* salesforce

* Jyoti gmlp 3121 resource and scope (#151)

* attio scopes

* calendly scope

* new resources, output schema, scopes

* updated resources, added outputschema

* discourse outputschema, resource update

* docusign scope, output format update, outputschema

* oauth fix, outputschema, requredscopes

* excel

* outptuschema, requiredscopes, test clean up, resource update

* fircrawl outputschema

* temp

* gmail

* temp

* gcal

* gdocs

* gdocs

* gdocs

* gdrive

* gmeet

* hubspot

* gmail outputschema, updated test

* slack

* slack

* gcalendar

* gcal

* salesforce

* salesforce

* salesforce

* salesforce outh

* salesforce

* shopify update

* github

* gmaps output schema, better tools and test

* gsheet test, tool response, output schema, scopes

* tool response, output schema

* hunter_io tool output, outputschema, test

* intercom oauth, tool response, output schema, requiredscopes

* jira outputschema, reqrueidscopes, resources

* linear requiredscope, outputschema, tool output format

* lemlist

* klaviyo outputschema, tool response, requiedscopes

* Update tests/servers/gdocs/tests.py

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Uncomment tests

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: rbehal <rahulbehal01@hotmail.com>
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.

1 participant
0