Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions assemblies/assembly-model-context-protocol-tools.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ include::modules/model-context-protocol-tools/proc-configuring-model-context-pro

include::modules/model-context-protocol-tools/proc-configuring-mcp-clients-to-access-the-rhdh-server.adoc[leveloffset=+2]

include::modules/model-context-protocol-tools/proc-configuring-mcp-tools-for-developer-lightspeed.adoc[leveloffset=+1]

include::assembly-using-the-mcp-tools-to-access-data.adoc[leveloffset=+1]

include::assembly-troubleshooting-mcp-server-and-client-problems.adoc[leveloffset=+1]
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ Some clients do not yet support the Streamable endpoint, and you might need to u

.Procedure

. Configure the *Cursor* client.
. Configure *Cursor* as a client.
.. From your Desktop app, navigate to *Cursor Settings* and select *MCP Tools > New MCP Server*.
.. Add the following configuration:
+
[source,yaml,subs="+attributes,+quotes"]
[source,yaml]
----
{
"mcpServers": {
"backstage-actions": {
"url": "https://<{product-very-short}_HOST>/api/mcp-actions/v1",
"url": "https://<RHDH_HOST>/api/mcp-actions/v1",
"headers": {
"Authorization": "Bearer <MCP_TOKEN>"
}
Expand All @@ -41,9 +41,9 @@ Some clients do not yet support the Streamable endpoint, and you might need to u
where:

`<MCP_TOKEN>`:: Enter the previously configured static token
`<{product-very-short}_HOST>`:: Enter the hostname of your {product-very-short} instance
`<RHDH_HOST>`:: Enter the hostname of your {product-very-short} instance

. Configure the *Continue* client.
. Configure *Continue* as a client.

.. In your agent yaml configuration file, add the following configuration:
+
Expand All @@ -52,7 +52,7 @@ where:
mcpServers:
- name: backstage-actions
type: sse
url: https://<{product-very-short}_HOST>/api/mcp-actions/v1/sse
url: https://<RHDH_HOST>/api/mcp-actions/v1/sse
requestOptions:
headers:
Authorization: "Bearer <MCP_TOKEN>"
Expand All @@ -61,9 +61,9 @@ mcpServers:
where:

`<MCP_TOKEN>`:: Enter the previously configured static token
`<{product-very-short}_HOST>`:: Enter the hostname of your {product-very-short} instance
`<RHDH_HOST>`:: Enter the hostname of your {product-very-short} instance

. Configure the *Lightspeed Plugin/Lightspeed Core (LCS)* client.
. Configure *{ls-short}* as a client. For more details, see {developer-lightspeed-link}[{ls-brand-name}].
.. In the `lightspeed-stack.yaml` configuration, add the following configuration for `mcp_servers`:
+
[source,yaml,subs="+attributes,+quotes"]
Expand All @@ -87,7 +87,7 @@ providers:
provider_type: remote::model-context-protocol
config: {}
----
.. To authorize requests to the MCP endpoint using `<MCP_TOKEN>`, add it in the {ls-short} {my-app-config-file}` file, to make POST requests to the LCS `/v1/streaming_query` endpoint, as shown in the following code:
.. To authorize requests to the MCP endpoint using `<MCP_TOKEN>`, add it in the {ls-short} `{my-app-config-file}` file, to make POST requests to LCS, as shown in the following code:
+
[source,yaml]
----
Expand Down

This file was deleted.