Skip to content

ServiceNow MCP#44291

Draft
itssapir wants to merge 1 commit into
masterfrom
ServiceNowMCP
Draft

ServiceNow MCP#44291
itssapir wants to merge 1 commit into
masterfrom
ServiceNowMCP

Conversation

@itssapir
Copy link
Copy Markdown
Contributor

Status

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

Related Issues

fixes: CRTX-225695

Description

New MCP integration for ServiceNow

Must have

  • Tests
  • Documentation

@content-bot
Copy link
Copy Markdown
Contributor

🤖 AI-Powered Code Review Available

You can leverage AI-powered code review to assist with this PR!

Available Commands:

  • @marketplace-ai-reviewer start review - Initiate a full AI code review
  • @marketplace-ai-reviewer re-review - Incremental review for new commits

@itssapir itssapir added ready-for-pipeline-running Whether the pr is ready for running the whole pipeline, including testing on SAAS machines ready-for-ai-review The PR is ready for reviewing the PR with the AI Reviewer. labels May 13, 2026
@marketplace-ai-reviewer marketplace-ai-reviewer removed the ready-for-ai-review The PR is ready for reviewing the PR with the AI Reviewer. label May 13, 2026
@github-actions
Copy link
Copy Markdown

Coverage

Coverage Report
FileStmtsMissCoverMissing
Packs/ServiceNowMCP/Integrations/ServiceNowMCP
   ServiceNowMCP.py130100% 
TOTAL130100% 

Tests Skipped Failures Errors Time
10 0 💤 0 ❌ 0 🔥 3.279s ⏱️

@marketplace-ai-reviewer
Copy link
Copy Markdown
Contributor

🤖 Analysis started. Please wait for results...

@itssapir itssapir changed the title Initial implementation ServiceNow MCP May 13, 2026
@marketplace-ai-reviewer
Copy link
Copy Markdown
Contributor

🤖 AI Review Disclaimer

This review was generated by an AI-powered tool and may contain inaccuracies. Please be advised, and we extend our sincere apologies for any inconvenience this may cause.

Copy link
Copy Markdown
Contributor

@marketplace-ai-reviewer marketplace-ai-reviewer left a comment

Choose a reason for hiding this comment

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

Thanks for contributing the ServiceNow MCP integration! I've reviewed the PR and noted a few structural and documentation adjustments to make before we can merge. Most importantly, please ensure the YAML file has the name and display keys at the very top, update pack_metadata.json with the missing required fields, and run demisto-sdk generate-docs to populate the missing command examples in the README. Let us know if you have any questions!

Additionally, please address the following file-level notes:

  • Packs/ServiceNowMCP/Integrations/ServiceNowMCP/ServiceNowMCP_description.md: Consider adding a Troubleshooting section to help users resolve common setup issues.

@itssapir please review and approve the results generated by the AI Reviewer by responding 👍 on this comment.

else:
raise NotImplementedError(f"Command {command} is not implemented")

except BaseException as eg:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Use Exception instead of BaseException.


except BaseException as eg:
root_msg = extract_root_error_message(eg)
return_error(f"Failed to execute {command} command.\nError:\n{root_msg}")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Add traceback logging for comprehensive error tracking.

@@ -0,0 +1,71 @@
category: IT Services
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

CRITICAL: The first key defined at the root level of the .yml file must always be name or display.

Please move name and display from lines 41-42 to the top of the file.

description: Retrieves a list of available tools in the ServiceNow MCP server.
name: list-tools
hidden: true
outputs: []
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can context outputs be defined for this command?

description: Calls a specific tool on the ServiceNow MCP server with optional input parameters.
name: call-tool
hidden: true
outputs: []
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can context outputs be defined for this command?


#### Input

| **Argument Name** | **Description** | **Required** |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The input table is empty. It should be replaced with the standard text indicating no input arguments. Additionally, this command (and others in this file) is missing the standard #### Command example and #### Human Readable Output sections.

Please apply the suggestion below to fix the empty table (and remove the table separator on line 32), and then run the demisto-sdk generate-docs command to automatically generate the missing sections with proper formatting, examples, and context output.

Suggested change
| **Argument Name** | **Description** | **Required** |
There are no input arguments for this command.

To regenerate the documentation, run:

demisto-sdk generate-docs --insecure -e Packs/ServiceNowMCP/Integrations/ServiceNowMCP/command_examples.txt -i Packs/ServiceNowMCP/Integrations/ServiceNowMCP/ServiceNowMCP.yml

For more details, refer to the Command Examples - Integration Documentation guidelines.

@@ -0,0 +1,23 @@
{
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The mandatory created field is missing.

],
"tags": [],
"useCases": [],
"keywords": [],
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The vendor name should be included in the keywords list.

"tags": [],
"useCases": [],
"keywords": [],
"marketplaces": [
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The marketplaces array is missing marketplacev2.

@@ -0,0 +1 @@
https://myinstance.service-now.com
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The .secrets-ignore file should contain domain names, not full URLs. Please remove the https:// prefix.

Suggested change
https://myinstance.service-now.com
myinstance.service-now.com

@content-bot
Copy link
Copy Markdown
Contributor

🔍 AI Triage Report Available

An automated triage report has been generated for this pipeline.

Status: partial
Report ID: 9dd6492165f20977

📋 Triage Report
💡 Resolutions are available in the full report.

⚠️ AI-generated triage. Validate before acting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-pipeline-running Whether the pr is ready for running the whole pipeline, including testing on SAAS machines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants