You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: downstream/assemblies/builder/assembly-MCP-servers-and-EE.adoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,14 +9,14 @@ A _Model Context Protocol_ (MCP) Server is an external service that acts as a ga
9
9
10
10
An MCP eliminates the need for custom integrations by providing a universal "language" for AI models to access and interact with real-world systems, data, and tools.
11
11
12
-
The MCP operates using a client-server architecture:
12
+
The MCP operates using a client/server architecture:
13
13
14
14
[cols="a,a,a", options="header"]
15
15
|===
16
16
| Component | Role | Description
17
-
| MCP Host | The application environment | This is where the user interacts with the AI, such as an AI-powered IDE like VS Code or a chatbot interface.
17
+
| MCP Host | The application environment | This is where the user interacts with the AI, such as an AI-powered IDE like Visual Studio Code or a chatbot interface.
18
18
| MCP Client | Connection manager | A component within the Host that translates LLM requests into the MCP format.
19
-
| MCP Server | Resource provider | An external service that connects to underlying systems like databases or APIs.
19
+
| MCP Server | Resource provider | An external service that connects to underlying systems such as databases or APIs.
20
20
|===
21
21
22
22
By using this standardized protocol, any LLM that implements the MCP Client can use any MCP Server.
The two `include_role` tasks are the minimum required. The `install_manager`` task reads your registry metadata and installs the MCP server using the appropriate method. The `generate_manifest` task adds the server to the `mcpservers.json` manifest.
134
+
The two `include_role` tasks are the minimum required. The `install_manager`` task reads your registry metadata and installs the MCP server by using the appropriate method. The `generate_manifest` task adds the server to the `mcpservers.json` manifest.
136
135
+
137
136
The verification step is optional but recommended. It confirms the installed server is callable.
138
137
@@ -192,17 +191,17 @@ collections:
192
191
[IMPORTANT]
193
192
====
194
193
195
-
The first task must include `ansible.mcp_builder.common` with `public: true`. This initializes the framework and makes shared variables (such as `common_mcp_base_path`) available to subsequent tasks. The ownership fix at the end ensures the MCP server files are accessible by the non-root runtime user inside the execution environment.
194
+
The first task must include `ansible.mcp_builder.common` with `public: true`. This initializes the framework and makes shared variables (such as `common_mcp_base_path`) available to later tasks. The ownership fix at the end ensures the MCP server files are accessible by the non-root runtime user inside the execution environment.
196
195
====
197
196
+
198
197
[NOTE]
199
198
====
200
199
The built-in `ansible.mcp_builder.install_mcp` playbook only supports roles within the `ansible.mcp_builder` namespace. Custom roles in your own collection namespace require their own playbook, as shown above.
201
200
====
202
201
203
-
. Build your collection into a distributable tarball:
202
+
. Build your collection into a distributable tar file:
Copy file name to clipboardExpand all lines: downstream/modules/builder/ref-evaluate-mcp-servers.adoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,14 +5,14 @@
5
5
= Evaluate MCP servers before installation
6
6
7
7
[role="_abstract"]
8
-
To protect your execution environment from vulnerabilities, evaluate MCP servers before installation by auditing code, pinning versions, enforcing read-only modes, and verifying permissions.
8
+
To protect your execution environment from vulnerabilities, evaluate _Model Context Protocol_ (MCP) servers before installation by auditing code, pinning versions, enforcing read-only modes, and verifying permissions.
9
9
10
10
Before including an MCP server in your execution environment:
11
11
12
-
* *Review the source code*: MCP servers can execute arbitrary operations on your infrastructure. Audit the server code before installing, especially for servers from community or third-party sources.
12
+
* *Review the source code*: MCP servers can run arbitrary operations on your infrastructure. Audit the server code before installing, especially for servers from community or third-party sources.
13
13
* *Pin to specific versions*: Use explicit version numbers in your registry metadata rather than latest:
14
14
+
15
-
`cfn_mcp_version: "0.7.2"`
15
+
`cfn_mcp_version: "1.0.1.9"`
16
16
+
17
17
This ensures reproducible builds and prevents unexpected behavior from upstream changes.
18
18
@@ -22,7 +22,7 @@ This ensures reproducible builds and prevents unexpected behavior from upstream
22
22
cfn_mcp_registry:
23
23
- name: "awslabs.cfn-mcp-server"
24
24
type: "stdio"
25
-
lang: "pypi"
25
+
lang: "pyoi"
26
26
args: ["--readonly"]
27
27
description: "AWS CloudFormation MCP Server (read-only)"
Copy file name to clipboardExpand all lines: downstream/modules/builder/ref-track-configurations-mcp-manifest.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
[role="_abstract"]
8
8
Understand how the MCP servers manifest registers and automatically merges multiple server installations into the `/opt/mcp/mcpservers.json` file so that you can effectively track and verify your {ExecEnvShort} configurations.
9
9
10
-
All installed MCP servers are registered in `/opt/mcp/mcpservers.json`. This file follows the `mcp.json` format established by VS Code, with each server entry containing:
10
+
All installed MCP servers are registered in `/opt/mcp/mcpservers.json`. This file follows the `mcp.json` format established by Visual Studio Code, with each server entry containing:
0 commit comments