AWS Builder Center
Replacing the AWS Service Management Connector with the AWS MCP Server

Replacing the AWS Service Management Connector with the AWS MCP Server

A step-by-step solution for connecting ServiceNow to the AWS MCP server for the retired AWS Service Management Connector.

Series: ServiceNow on AWS (9 articles)

  1. …
  2. 9
    Replacing the AWS Service Management Connector with the AWS MCP Server This article
The  AWS Service Management Connector  went into maintenance mode in March 2026 and will no longer be supported by March 2027. This omni-bus connector provided connectivity to several AWS services in a single connection and was primarily targeted toward ISVs who provided applications to manage and monitor AWS workloads. ServiceNow users were by far the largest users of this connector, and several have been asking for a replacement strategy. Depending on the service, there are other connectors available and these are detailed in  section 3 of this document . But for some AWS service, there is no ServiceNow or AWS connector available (although some may be found in the  ServiceNow Store ). This document details how to use a single connection to the AWS MCP Server to gain connectivity to several AWS services in a single connection. Of course, there are other integration options available in ServiceNow to connect to AWS services via their API – most notably using the ServiceNow Flow Designer to create a REST API integration. However, this approach requires a separate integration per service. The single connection to the AWS MCP Server can provide full API access to all AWS services, and this document explores that integration pattern. Additionally, a connection to the AWS MCP Server may prove useful for agents running on ServiceNow which require access to AWS services.


1. Announcement: AWS Service Management Connector End of Support

AWS has announced the retirement of the AWS Service Management Connector (SMC), the AWS-provided ServiceNow application that linked ServiceNow to AWS Service Catalog, AWS Config, AWS Systems Manager, AWS Security Hub, AWS Health and AWS Support.


1.1 Key dates

Date
Date
What happens
31 March 2026
SMC is no longer available to new customers. New installations cannot be started.
Until 31 March 2027
Existing customers can continue to use SMC, but should plan and run their migration during this window.
After 31 March 2027
SMC functionality, the SMC console and SMC resources are no longer accessible. Any ServiceNow workflow that depends on SMC stops working.


1.2 What is and is not affected

• Only the connector is retiring. The underlying AWS services (Config, Service Catalog, Security Hub, Support and Systems Manager) are not affected and continue to operate normally.
• ServiceNow records created through SMC (incidents, catalog items, CIs, change requests) remain in your instance, but they will stop synchronizing with AWS.
• AWS recommends migrating to an AWS Partner solution or to a direct integration built on AWS APIs. This guide describes a direct integration that uses the AWS MCP Server as a single connection point.
Action: Inventory every SMC-dependent catalog item, business rule, flow and scheduled job now. Use section 8 as your cutover checklist and target completion well before 31 March 2027.


2. AWS Services Covered by SMC

SMC bundled several separate integrations into one ServiceNow scoped application. Each integration used its own AWS API calls, IAM permissions and ServiceNow tables. The services in the table below are the scope of this guide.

AWS service
What SMC provided in ServiceNow
AWS Service Catalog
Published approved AWS products (CloudFormation templates) as ServiceNow catalog items; provisioned, updated and terminated products from requests.
AWS Config
Imported AWS resource inventory and relationships into the CMDB; surfaced Config rule compliance.
AWS Systems Manager – OpsCenter
Two-way sync between OpsItems and ServiceNow incidents.
AWS Systems Manager – Automation
Ran SSM Automation runbooks from ServiceNow requests and records.
AWS Systems Manager – Change Manager
Linked ServiceNow change requests to Change Manager templates and requests.
AWS Systems Manager – Incident Manager
Synchronized Incident Manager incidents with ServiceNow incidents.
AWS Security Hub
Created ServiceNow incidents or problems from Security Hub findings and synced status.
AWS Health
Created ServiceNow incidents from AWS Health events affecting your accounts.
AWS Support
Created and updated AWS Support cases from ServiceNow and synced correspondence.


3. Common ServiceNow Use Cases per Service with Alternative Connectors

The table below shows how ServiceNow teams typically used each SMC integration. Section 7 shows how to rebuild one of these use cases per service on the AWS MCP Server.

AWS service
Typical ServiceNow use case
ServiceNow records involved
ServiceNow / AWS Alternative Connectors
Service Catalog
Employees order an approved AWS environment (for example an S3 bucket or EC2 stack) from the Service Portal, with manager approval.
Catalog item, RITM, approval
None
Config
Keep the CMDB current with AWS resources; open tasks for non-compliant resources.
cmdb_ci_* tables, compliance task
ServiceNow AWS Service Graph Connector or MID Server
SSM OpsCenter
Operational issues raised in AWS appear as incidents for the service desk; resolving the incident closes the OpsItem.
Incident
ServiceNow AWS Service Graph Connector or MID Server
SSM Automation
Service desk runs a pre-approved fix (restart instance, patch, collect logs) from an incident or catalog item.
Incident, RITM, work notes
None
SSM Change Manager
Changes approved by CAB in ServiceNow are executed in AWS through a change template.
Change request, change task
None
SSM Incident Manager
Major AWS incidents become P1 ServiceNow incidents with timeline updates.
Incident, major incident
None
Security Hub
Critical or high findings create security incidents routed to the resource owner.
Incident / SecOps incident, vulnerability
ServiceNow AWS Security Hub Findings Integration for ITSM, ServiceNow SecOps/SIR
AWS Health
Scheduled maintenance and service events notify owners of affected CIs.
Incident, notification
None
AWS Support
Engineers open AWS Support cases from a ServiceNow incident and see AWS replies in work notes.
Incident, related case record
None


4. The AWS MCP Server as a Single Replacement Connection

4.1 What the AWS MCP Server is

The Model Context Protocol (MCP) is an open standard that lets AI agents discover and call tools over a common interface. The AWS MCP Server is an AWS-managed, remote MCP server. It exposes AWS APIs and AWS documentation as tools, so an agent can call any supported AWS service through one endpoint, governed by IAM.
Instead of one integration per AWS service (the SMC model), ServiceNow connects once, and its AI Agents call Service Catalog, Config, Systems Manager, Security Hub, Health and Support through that single connection.

4.2 SMC compared with the AWS MCP Server


Topic
SMC (retiring)
AWS MCP Server
Connection model
Separate integration per AWS service
One endpoint for all supported AWS APIs
New AWS services
Needed an SMC release
Available as the server adds API coverage
Installation
Scoped app plus per-service configuration
Register one MCP server in ServiceNow
Security
IAM user or role per integration
IAM role with optional read-only mode and IAM condition keys
Logic
Fixed sync rules
AI Agent instructions plus your own business rules and flows
Support status
Ends 31 March 2027
Actively supported AWS service


4.3 Architecture overview

The integration has four layers:
1. Trigger – a ServiceNow business rule, flow or scheduled job detects an event (for example, a new incident or an approved change).
2. Agent – a ServiceNow AI Agent (Now Assist AI Agents) receives the task and decides which MCP tool to call.
3. MCP client – ServiceNow’s MCP client sends the tool call over Streamable HTTP to the AWS MCP Server regional endpoint.
4. AWS – the AWS MCP Server checks IAM permissions, calls the AWS API (for example  ssm:StartAutomationExecution ) and returns the result, which the agent writes back to the ServiceNow record.

ServiceNow record event
-> Business rule / Flow Designer
-> AI Agent (Now Assist) --MCP over HTTPS--> AWS MCP Server (aws-mcp.<region>.api.aws/mcp)
-> IAM authorization
-> AWS service APIs (SSM, Config, Security Hub ...)
<- result written to work notes / fields

Design tip: Use the AI Agent for steps that benefit from reasoning (triage, summarizing, choosing a runbook). For high-volume, purely deterministic syncs, you can still call AWS APIs directly from IntegrationHub; MCP and direct calls can co-exist.


5. Step-by-Step: Set Up the AWS MCP Server

The AWS MCP Server is fully managed by AWS: there is nothing to install or host. "Setting it up" means choosing a Region endpoint, creating an IAM identity with the right permissions, and choosing how ServiceNow will authenticate.

5.1 Before you start

• An AWS account (ideally a dedicated integration or tooling account in AWS Organizations) and permission to create IAM roles and policies.
• The AWS accounts and Regions where your SMC-integrated resources live.
• A note of which SMC features you use today (section 2), so you grant only the permissions you need.

5.2 Step 1 – Choose a Region endpoint

Pick the endpoint closest to your ServiceNow instance’s data center. The endpoint only decides which MCP server you connect to; the agent can still operate on resources in other Regions.

Region
Endpoint URL
US East (N. Virginia)
 https://aws-mcp.us-east-1.api.aws/mcp 
US West (Oregon)
 https://aws-mcp.us-west-2.api.aws/mcp 
Europe (Ireland)
 https://aws-mcp.eu-west-1.api.aws/mcp 
Europe (Frankfurt)
 https://aws-mcp.eu-central-1.api.aws/mcp 
Europe (London)
 https://aws-mcp.eu-west-2.api.aws/mcp 
Asia Pacific (Tokyo / Singapore / Sydney)
 https://aws-mcp.<ap-region>.api.aws/mcp 


Check: The list of supported Regions grows over time. Confirm the current list in the AWS MCP Server documentation ("Setting up the AWS MCP Server") before you configure ServiceNow.


5.3 Step 2 – Choose an authentication method



Option A: OAuth
Option B: SigV4 via MCP Proxy for AWS
How it works
ServiceNow obtains an OAuth token from AWS Sign-in and sends it with each request.
A small proxy you host signs every request with IAM credentials (SigV4); ServiceNow calls the proxy.
Extra infrastructure
None
A container or VM to run the proxy (for example, ECS Fargate behind an internal load balancer)
Read-only mode
No
Yes – hide write tools entirely
Multiple accounts
One account per connection
Can assume roles across accounts
Best for
Getting started; pilot
Production with strict guardrails

Recommendation for novices: start with Option A (OAuth) in a non-production account to prove the integration, then decide whether production needs Option B.

5.4 Step 3 – Create the IAM role and permissions

1. Sign in to the AWS Management Console and open IAM > Roles > Create role.
2. Name it  ServiceNow-MCP-Integration . Add a description such as "Used by ServiceNow AI Agents via the AWS MCP Server".
3. For OAuth (Option A), attach the AWS managed policy  AWSMCPSignInOAuthAccessPolicy , which allows the OAuth sign-in flow.
4. Create and attach a customer managed policy that grants only the service actions your use cases need. A starting policy is shown below.
5. Save the role ARN – you will need it when you configure ServiceNow.
Starter least-privilege policy (covers the section 7 recipes; tighten resources and remove actions you do not use):
{
"Version": "2012-10-17",

"Statement": \[

\{ "Sid": "ReadOnlyContext", "Effect": "Allow", "Resource": "\*",

"Action": \[ "servicecatalog:Search\*", "servicecatalog:Describe\*", "servicecatalog:List\*",

"config:Describe\*", "config:Get\*", "config:List\*", "config:SelectResourceConfig",

"ssm:GetOpsItem", "ssm:DescribeOpsItems", "ssm:GetAutomationExecution",

"ssm:DescribeDocument", "ssm-incidents:GetIncidentRecord", "ssm-incidents:List\*",

"securityhub:GetFindings", "health:Describe\*", "support:Describe\*",

"cloudformation:DescribeStacks" ] },

\{ "Sid": "ApprovedWriteActions", "Effect": "Allow", "Resource": "\*",

"Action": \[ "servicecatalog:ProvisionProduct", "ssm:UpdateOpsItem",

"ssm:StartAutomationExecution", "ssm:StartChangeRequestExecution",

"ssm-incidents:UpdateIncidentRecord", "ssm-incidents:CreateTimelineEvent",

"securityhub:BatchUpdateFindings", "support:CreateCase",

"support:AddCommunicationToCase" ] }

]
}

Good practice: Create two roles: a read-only role for triage agents and a separate write role used only by agents whose actions are gated by a ServiceNow approval. Note that  health:Describe*  requires a Business, Enterprise On-Ramp or Enterprise Support plan, as does the AWS Support API.


5.5 Step 4 – (Option A) Prepare the OAuth client

1. Follow "OAuth 2.1 authentication for AWS MCP Server" in the AWS documentation to register ServiceNow as an OAuth client for automated (machine) access and note the authorization and token endpoints, client ID and secret.
2. Make sure your organization does not block the  signin:AuthorizeOAuth2Access  and  signin:CreateOAuth2Token  permissions through an SCP.
3. Record: endpoint URL, token URL, client ID, client secret, scopes. Store the secret only in ServiceNow’s credential store.

5.6 Step 4 – (Option B) Deploy the MCP Proxy for AWS

1. Run the open-source  mcp-proxy-for-aws  as a container (for example on ECS Fargate) in a private subnet.
2. Give the task the  ServiceNow-MCP-Integration  role, set  AWS_REGION , and point it at your chosen endpoint. Enable read-only mode if this proxy serves only triage agents.
3. Publish the proxy over HTTPS (Streamable HTTP) behind an Application Load Balancer that only accepts traffic from your ServiceNow instance’s IP ranges or a MID Server.
4. Protect the proxy URL with an API key or mutual TLS so only ServiceNow can call it.

5.7 Step 5 – Test the AWS side

Before involving ServiceNow, prove that the server works with a desktop MCP client (for example Kiro or Claude Code):
kiro-cli mcp add --name aws-mcp --url  https://aws-mcp.us-east-1.api.aws/mcp 

Ask the client: "List my Service Catalog products" and "Show non-compliant AWS Config rules". If both answer correctly, the IAM role and endpoint are good. Check CloudTrail for the matching API calls.

6. Step-by-Step: Connect ServiceNow to the AWS MCP Server

6.1 Prerequisites


Requirement
Detail
Release
Zurich Patch 4 or later (or Yokohama Patch 11 or later)
Licensing
Now Assist with AI Agents (Pro Plus / Enterprise Plus entitlement)
Plugins
Now Assist AI Agents; AI Agent Studio; MCP Client (AI Agent MCP support) – install from the ServiceNow Store / Application Manager
Roles
 admin  (setup) and  sn_aia.admin  for AI Agent Studio
Network
Outbound HTTPS from the instance to the AWS endpoint (or to your proxy / via MID Server)
Transport
Streamable HTTP; tool timeout of at least 120 seconds


Known issue: PRB1978225 – MCP client sessions can expire and cause HTTP 400 errors on long-running workflows. Check ServiceNow Support for the fix in your patch level and keep calls short.


6.2 Step 1 – Install and activate the plugins

1. Navigate to System Applications > All Available Applications > All.
2. Search for and install Now Assist AI Agents and the MCP Client capability (names vary slightly by release; search "MCP").
3. Open Now Assist Admin console and confirm AI Agents are turned on for your instance.

6.3 Step 2 – Store the credentials

1. Go to Connections & Credentials > Credentials > New.
2. Option A: choose OAuth 2.0 Credentials, then create an OAuth Entity Profile under System OAuth > Application Registry > New > Connect to a third-party OAuth Provider. Enter the client ID, client secret, authorization URL and token URL from step 5.5, and grant type Client Credentials.
3. Option B: choose API Key Credentials (or certificate for mTLS) for your proxy.
4. Name the credential  AWS MCP Server – Prod  and save.

6.4 Step 3 – Register the AWS MCP Server

1. Open AI Agent Studio > Settings > MCP Servers (in some releases: All > MCP Client > MCP Server Configurations) and click New.
2. Name:  AWS MCP Server . Server URL: your Region endpoint (Option A) or proxy URL (Option B).
3. Transport: Streamable HTTP. Authentication: select the credential from step 6.3.
4. Set the timeout to 120 seconds or more.
5. Click Test connection / Discover tools. ServiceNow lists the tools exposed by the server (for example the AWS API call tool and documentation search tools). If discovery fails, see 6.8.

6.5 Step 4 – Create the AI Agent

1. In AI Agent Studio > Create and manage > AI agents, click New.
2. Name:  AWS Operations Agent . Description: "Calls AWS services through the AWS MCP Server on behalf of ServiceNow workflows."
3. Under Tools, add the MCP tools discovered from the AWS MCP Server. Also add ServiceNow tools the agent needs, such as record update and work note tools.
4. Write the agent instructions (example below).
5. Set Supervision to require human approval for any tool that changes AWS resources until you trust the agent.
6. Save and Activate.
Example agent instructions:
You are the AWS Operations Agent for ServiceNow.
- Use only the AWS MCP Server tools to read or change AWS resources.
- Always operate in the AWS account and Region given in the task input.
- Never change AWS resources unless the task input contains approved=true.
- After every AWS call, write a short summary, the AWS request ID and the
result into the work notes of the ServiceNow record in the task input.
- If an AWS call fails, write the error message to work notes and stop.


6.6 Step 5 – Add the agent to an agentic workflow

1. In AI Agent Studio > Agentic workflows, create  AWS Integration Workflows  and add the AWS Operations Agent.
2. Define a trigger or allow the workflow to be started from Flow Designer using the Execute AI Agent / Agentic Workflow action.
3. Record the workflow sys_id; business rules in section 7 call it.

6.7 Step 6 – Test end-to-end

1. Use Test in AI Agent Studio with the prompt: "List AWS Service Catalog products in us-east-1."
2. Confirm the agent chose the AWS MCP tool, received a result, and that CloudTrail shows the call under the  ServiceNow-MCP-Integration  role.
3. Run a write test in a sandbox account (for example, add a note to a test OpsItem) and confirm the approval prompt appeared.

6.8 Troubleshooting


Symptom
Likely cause and fix
Tool discovery returns nothing
Wrong URL or transport; must be Streamable HTTP and end with /mcp
401 / 403 errors
OAuth token or IAM policy problem; check role policies, SCPs and token scopes
HTTP 400 after some minutes
Session expiry (PRB1978225); apply fix or reduce call duration
Timeouts
Increase timeout to 120s+; long AWS operations should be polled, not awaited
AccessDenied in work notes
The IAM role lacks the specific action; add it to the policy in 5.4


7. Implementation Recipes: One Use Case per Former SMC Service

Each recipe below follows the same pattern: a trigger in ServiceNow, a call to the AWS Operations Agent with a structured prompt, and a write-back to the record. All recipes use the reusable Script Include in 7.0.

7.0 Shared building block: Script Include AwsMcpAgent

Create it under System Definition > Script Includes > New (Name:  AwsMcpAgent , Accessible from: All application scopes). It starts the agentic workflow asynchronously so business rules never wait on AWS.

var AwsMcpAgent = Class.create(); AwsMcpAgent.prototype = {   initialize: function() {     this.workflowId = gs.getProperty('x_aws_mcp.workflow_sys_id');   },   // task: plain-language instruction; rec: GlideRecord to update; ctx: object   run: function(task, rec, ctx) {     var input = {       task: task,       record_table: rec.getTableName(),       record_sys_id: rec.getUniqueValue(),       context: ctx || {}     };     // Starts the agentic workflow (API name varies by release; Flow Designer     // 'Execute AI Agent' action can be used instead via sn_fd.FlowAPI)     sn_fd.FlowAPI.getRunner()       .subflow('x_aws_mcp.run_aws_operations_agent')       .inBackground()       .withInputs({ payload: JSON.stringify(input) })       .run();     rec.work_notes = 'Sent to AWS Operations Agent: ' + task;   },   type: 'AwsMcpAgent' };


The subflow  run_aws_operations_agent  contains one action, Execute AI Agent / Agentic Workflow, which passes  payload  to the AWS Operations Agent. Create system property  x_aws_mcp.workflow_sys_id  with the value recorded in 6.6.
Note: Script-level AI Agent APIs differ between Yokohama and Zurich. Starting the agent from a Flow Designer subflow, as above, is the most portable approach. Validate every script in a sub-production instance.


7.1 AWS Service Catalog – Provision an approved product from a catalog request

Use case: an employee orders "AWS Dev Environment" in the Service Portal; after approval, the product is provisioned and outputs are returned to the RITM.
• Trigger: Business rule on  sc_req_item , After Update, condition: Approval changes to Approved AND Item is AWS Dev Environment.
• AWS API used:  servicecatalog:ProvisionProduct , then  servicecatalog:DescribeRecord .

(function executeRule(current, previous) {   var task = 'Provision AWS Service Catalog product "' + current.variables.product_name +     '" version "' + current.variables.artifact_version + '" in account ' +     current.variables.aws_account + ' region ' + current.variables.aws_region +     ' with parameters ' + current.variables.parameters_json +     '. Name it RITM-' + current.number + '. approved=true. ' +     'Poll until complete, then write the outputs to work notes and set state Closed Complete.';   new AwsMcpAgent().run(task, current, { ritm: current.number.toString() }); })(current, previous);



7.2 AWS Config – Create compliance tasks for non-compliant resources

Use case: every night, find resources that break Config rules and open a task for the CI owner.
• Trigger: Scheduled Script Execution (daily 02:00).
• AWS API used:  config:DescribeComplianceByConfigRule ,  config:GetComplianceDetailsByConfigRule .

var job = new GlideRecord('sn_compliance_task'); // or a custom task table job.initialize(); job.short_description = 'AWS Config nightly compliance review'; job.insert(); new AwsMcpAgent().run(   'List all NON_COMPLIANT AWS Config rule evaluations in accounts ' +   gs.getProperty('x_aws_mcp.accounts') + '. For each resource, find the CMDB CI ' +   'whose object_id equals the resource ID, create a child task assigned to the ' +   'CI support group with the rule name and annotation. Do not change AWS.',   job);



7.3 Systems Manager OpsCenter – Close the OpsItem when the incident is resolved

Use case: incidents created from OpsItems stay in sync; resolving the incident resolves the OpsItem with the close notes.
• Trigger: Business rule on  incident , After Update, condition: State changes to Resolved AND  u_aws_opsitem_id  is not empty.
• AWS API used:  ssm:UpdateOpsItem .
• Inbound side: an EventBridge rule on new OpsItems can call a ServiceNow Scripted REST API to create the incident (or use the Incident Manager recipe pattern).

(function executeRule(current, previous) {   new AwsMcpAgent().run(     'Update AWS Systems Manager OpsItem ' + current.u_aws_opsitem_id +     ' in region ' + current.u_aws_region + ': set Status to Resolved and add an ' +     'operational data note "ServiceNow ' + current.number + ' resolved: ' +     current.close_notes + '". approved=true.',     current); })(current, previous);


7.4 Systems Manager Automation – Run a runbook from an incident

Use case: a service desk agent clicks Restart AWS Instance on an incident tied to an EC2 CI.
• Trigger: UI Action on  incident  (Form button, condition: CI class is  cmdb_ci_ec2_instance ).
• AWS API used:  ssm:StartAutomationExecution  with  AWS-RestartEC2Instance , then  ssm:GetAutomationExecution .

// UI Action script (server side) var ci = current.cmdb_ci.getRefRecord(); new AwsMcpAgent().run(   'Start SSM Automation document AWS-RestartEC2Instance with InstanceId=' +   ci.object_id + ' in region ' + ci.u_region + '. approved=true. ' +   'Poll the execution until it finishes and report the final status.',   current); current.update(); action.setRedirectURL(current);



7.5 Systems Manager Change Manager – Execute an approved change

Use case: when a normal change is approved by CAB and the planned start time arrives, run the linked Change Manager template.
• Trigger: Flow Designer flow on  change_request  (State changes to Implement), with a Wait for planned start date step.
• AWS API used:  ssm:StartChangeRequestExecution ,  ssm:GetOpsItem  for status.

// Script step inside the flow (or After business rule on change_request) new AwsMcpAgent().run(   'Start an AWS Systems Manager Change Manager change request using template ' +   current.u_aws_change_template + ' with runbook parameters ' +   current.u_aws_parameters + ' named "' + current.number + '". The change is ' +   'already approved in ServiceNow, so request auto-approval if the template ' +   'allows it. approved=true. Write the change request ID to work notes and ' +   'update field u_aws_change_id.',   current);


7.6 Systems Manager Incident Manager – Mirror the ServiceNow timeline to AWS

Use case: on a major incident linked to an Incident Manager record, every work note added in ServiceNow is added to the AWS incident timeline.
• Trigger: Business rule on  incident , Async, condition: Work notes changes AND  u_aws_incident_arn  is not empty.
• AWS API used:  ssm-incidents:CreateTimelineEvent ; on resolve,  ssm-incidents:UpdateIncidentRecord .

(function executeRule(current, previous) {   var note = current.work_notes.getJournalEntry(1);   if (note.indexOf('AWS Operations Agent') > -1) return; // avoid loops   new AwsMcpAgent().run(     'Add a custom timeline event to Incident Manager record ' +     current.u_aws_incident_arn + ' with eventData "' + note.replace(/"/g, "'") +     '". approved=true.', current); })(current, previous);



7.7 AWS Security Hub – Create security incidents from critical findings

Use case: every 15 minutes, new CRITICAL findings become security incidents (or standard incidents) assigned to the owner of the CI; the finding workflow status is set to NOTIFIED.
• Trigger: Scheduled job every 15 minutes (or an EventBridge rule that calls a ServiceNow REST endpoint).
• AWS API used:  securityhub:GetFindings ,  securityhub:BatchUpdateFindings .

var last = gs.getProperty('x_aws_mcp.securityhub_last_run', ''); var marker = new GlideRecord('incident'); marker.initialize(); marker.short_description = 'Security Hub sync ' + new GlideDateTime(); marker.category = 'security'; marker.insert(); new AwsMcpAgent().run(   'Get AWS Security Hub findings with SeverityLabel CRITICAL, RecordState ACTIVE and ' +   'WorkflowStatus NEW updated after ' + last + '. For each finding, create a ' +   'ServiceNow incident (category security, priority 1) with the title, resource ID ' +   'and remediation URL, linked to the CI whose object_id matches the resource. ' +   'Then set the finding WorkflowStatus to NOTIFIED with note "ServiceNow<number>". ' +   'approved=true.', marker); gs.setProperty('x_aws_mcp.securityhub_last_run', new GlideDateTime().getValue());


7.8 AWS Health – Notify owners of affected CIs

Use case: new scheduled-change or issue events are turned into incidents linked to the affected CIs, so owners are warned before maintenance.
• Trigger: Scheduled job hourly.
• AWS API used:  health:DescribeEvents ,  health:DescribeAffectedEntities  (organization view if enabled).

var hdr = new GlideRecord('incident'); hdr.initialize(); hdr.short_description = 'AWS Health event review'; hdr.insert(); new AwsMcpAgent().run(   'Describe AWS Health events with status open or upcoming and category ' +   'scheduledChange or issue that started in the last hour. For each event, list ' +   'affected entities, match them to CMDB CIs by object_id and create one incident ' +   'per event with the affected CIs added, the event description, and the start ' +   'time. Skip events that already have an incident with the event ARN in ' +   'correlation_id. Do not change AWS.', hdr);


7.9 AWS Support – Open an AWS Support case from an incident

Use case: a resolver clicks Open AWS Support Case; the case is created, its ID stored, and AWS replies are synced into work notes.
• Trigger: UI Action on  incident , plus a scheduled job every 30 minutes to pull new case communications.
• AWS API used:  support:CreateCase ,  support:DescribeCommunications ,  support:AddCommunicationToCase .

// UI Action: Open AWS Support Case new AwsMcpAgent().run(   'Create an AWS Support case: serviceCode from the affected service "' +   current.u_aws_service + '", severity ' + (current.priority == 1 ? 'urgent' : 'normal') +   ', subject "' + current.number + ': ' + current.short_description + '", body from ' +   'the incident description and last 3 work notes. approved=true. ' +   'Store the caseId in field u_aws_case_id.', current); current.update();  
// Scheduled job: sync replies var gr = new GlideRecord('incident'); gr.addActiveQuery(); gr.addNotNullQuery('u_aws_case_id'); gr.query(); while (gr.next()) {   new AwsMcpAgent().run('Get AWS Support communications for case ' + gr.u_aws_case_id +     ' since ' + gr.sys_updated_on + ' and add any new AWS replies to work notes. ' +     'Do not change AWS.', gr);   gr.update(); }


8. Governance, Security and Cutover Checklist

8.1 Security and governance

• Least privilege: separate read-only and write IAM roles; scope resources by tag or ARN where possible.
• Human in the loop: keep approvals in ServiceNow; the agent changes AWS only when  approved=true  is supplied by a rule that checked an approval.
• Audit: every agent action is written to work notes; CloudTrail records the matching AWS API call under the integration role.
• Secrets: store OAuth secrets and keys only in ServiceNow credential records; rotate on a schedule.
• Loop prevention: business rules ignore updates made by the agent (see 7.6).
• Cost and volume: batch scheduled jobs; avoid per-record agent calls on high-volume tables.

8.2 Cutover checklist


#
Task
Owner
1
Inventory SMC features, catalog items, business rules and scheduled jobs in use
ServiceNow admin
2
Create IAM roles and choose authentication (section 5)
AWS cloud team
3
Register MCP server and build the AWS Operations Agent in sub-production (section 6)
ServiceNow admin
4
Rebuild each in-scope use case (section 7) and test with sample data
ServiceNow developer
5
Run in parallel with SMC for 2–4 weeks; compare results
Both teams
6
Move catalog items and rules to the new flows; disable SMC sync jobs
ServiceNow admin
7
Remove SMC IAM users/roles and access keys from AWS
AWS cloud team
8
Uninstall the SMC scoped app before 31 March 2027
ServiceNow admin

8.3 References

• AWS Service Management Connector end of support – docs.aws.amazon.com/smc/latest/ag/smc-end-of-support.html
• Setting up the AWS MCP Server – docs.aws.amazon.com/agent-toolkit/latest/userguide/getting-started-aws-mcp-server.html
• ServiceNow Community: Enable MCP and A2A for your agentic workflows (MCP client configuration and FAQs)

Disclaimer: ServiceNow menu paths, plugin names and AI Agent APIs vary by release.

Series: ServiceNow on AWS (9 articles)

  1. …
  2. 9
    Replacing the AWS Service Management Connector with the AWS MCP Server This article
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article