Skip to content

EPMRPP-113053 || Update MCP Documentation#1073

Merged
maria-hambardzumian merged 1 commit intodevelopfrom
EPMRPP-113053
Feb 25, 2026
Merged

EPMRPP-113053 || Update MCP Documentation#1073
maria-hambardzumian merged 1 commit intodevelopfrom
EPMRPP-113053

Conversation

@pressayuliya
Copy link
Contributor

@pressayuliya pressayuliya commented Feb 25, 2026

Summary by CodeRabbit

  • Documentation
    • Expanded MCP Server integration documentation with comprehensive setup guidance including prerequisites and environment configuration, installation options for local and remote deployments, detailed per-tool onboarding for Cursor, GitHub Copilot, and Claude Desktop, plus connection examples and connectivity verification steps.

@coderabbitai
Copy link

coderabbitai bot commented Feb 25, 2026

Walkthrough

Documentation for the MCP Server has been expanded to include comprehensive setup guidance, covering prerequisites, multiple installation methods (local and remote), server mode configuration with environment variables, per-tool onboarding instructions for various AI platforms, and a verification section for validating server connectivity.

Changes

Cohort / File(s) Summary
MCP Server Documentation
docs/external-integrations/MCPServer.mdx
Replaced minimal tool list with complete setup flow including prerequisites, MCP_MODE and authentication configuration, dual installation paths (Docker/binaries and remote server), per-tool integration guides (Cursor, GitHub Copilot, Claude Desktop), connection examples, and verification procedures.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Suggested reviewers

  • AmsterGet
  • maria-hambardzumian

Poem

🐰 A server springs forth from the docs so bright,
With setup paths and configs just right,
Docker and binaries, local and far,
MCP tools configured like a north star! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Update MCP Documentation' clearly and specifically describes the main change—updating MCP Server documentation with expanded setup guidance and installation paths.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch EPMRPP-113053

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs/external-integrations/MCPServer.mdx (1)

274-276: ⚠️ Potential issue | 🟡 Minor

Fix incomplete sentence in token note.

"Token is API Key the user's Profile page." is missing words.

✏️ Proposed fix
-Token is API Key the user's Profile page.
+Token is the API Key from the user's Profile page.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/external-integrations/MCPServer.mdx` around lines 274 - 276, The note
text is an incomplete sentence; update the note inside
docs/external-integrations/MCPServer.mdx (the :::note block) to a complete
sentence such as "Token is the API Key from the user's Profile page." so it
reads clearly and grammatically correct.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/external-integrations/MCPServer.mdx`:
- Around line 331-335: The docs list "/info returns server configuration" but
never demonstrates it; add an explicit example (either a browser URL like
http://your-mcp-server-host:port/info and a short sentence saying to open it in
a browser, or a curl command such as curl -i
http://your-mcp-server-host:port/info) in the same verification section that has
the browser check/curl example so readers can validate the /info endpoint, or if
/info is not guaranteed, remove the "/info" bullet from the Expected Results.
- Around line 317-329: Update the curl verification example to match the
canonical remote connection configs by changing the request path from "/mcp" to
"/mcp/" and make the Authorization header placeholder consistent by using
"Bearer your-report-portal-api-token" instead of "Bearer your-api-token"; locate
and edit the curl test block (the code fence with curl POST to the MCP endpoint)
to apply these two substitutions so it aligns with the other remote examples.
- Around line 32-34: The file uses a non-standard Docusaurus admonition marker
`:::important`; replace that marker with a standard type (e.g., `:::warning` or
`:::caution` if available) so the admonition renders correctly—locate the
`:::important` block in MCPServer.mdx and change the opening marker to a
supported admonition type while keeping the closing `:::` unchanged.

---

Outside diff comments:
In `@docs/external-integrations/MCPServer.mdx`:
- Around line 274-276: The note text is an incomplete sentence; update the note
inside docs/external-integrations/MCPServer.mdx (the :::note block) to a
complete sentence such as "Token is the API Key from the user's Profile page."
so it reads clearly and grammatically correct.

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 030a823 and 71bf484.

⛔ Files ignored due to path filters (10)
  • docs/external-integrations/img/mcp-server/Copilot1.jpg is excluded by !**/*.jpg
  • docs/external-integrations/img/mcp-server/Copilot1.png is excluded by !**/*.png
  • docs/external-integrations/img/mcp-server/Copilot2.JPG is excluded by !**/*.jpg
  • docs/external-integrations/img/mcp-server/Copilot2.png is excluded by !**/*.png
  • docs/external-integrations/img/mcp-server/Cursor1.JPG is excluded by !**/*.jpg
  • docs/external-integrations/img/mcp-server/Cursor1.png is excluded by !**/*.png
  • docs/external-integrations/img/mcp-server/Cursor2.JPG is excluded by !**/*.jpg
  • docs/external-integrations/img/mcp-server/Cursor2.png is excluded by !**/*.png
  • docs/external-integrations/img/mcp-server/Cursor3.JPG is excluded by !**/*.jpg
  • docs/external-integrations/img/mcp-server/Cursor3.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • docs/external-integrations/MCPServer.mdx

Comment on lines +32 to +34
:::important
`http` mode is intended for server deployments. The MCP server must be **deployed and running** with `MCP_MODE=http` before any AI tool can connect to it remotely.
:::
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Find Docusaurus config files
fd "docusaurus.config" -type f

Repository: reportportal/docs

Length of output: 231


🏁 Script executed:

#!/bin/bash
# Search for admonitions config and 'important' keyword registration
rg -t js -t ts -t json "admonition" -C 5

Repository: reportportal/docs

Length of output: 43


🏁 Script executed:

#!/bin/bash
# Check the actual file at the specified lines to confirm the syntax
head -n 40 docs/external-integrations/MCPServer.mdx | tail -n 12

Repository: reportportal/docs

Length of output: 602


🏁 Script executed:

#!/bin/bash
# Find all docusaurus config files
find . -name "docusaurus.config.*" -type f

Repository: reportportal/docs

Length of output: 83


🏁 Script executed:

#!/bin/bash
# List files in the root directory to identify config files
ls -la | grep -i docusaurus

Repository: reportportal/docs

Length of output: 133


🏁 Script executed:

#!/bin/bash
# Search for any reference to 'important' in config files
rg "important" --glob "*.config.*" -C 3

Repository: reportportal/docs

Length of output: 43


🏁 Script executed:

#!/bin/bash
# Read the docusaurus config file and search for admonitions section
rg -n "admonition" ./docusaurus.config.js -A 10 -B 2

Repository: reportportal/docs

Length of output: 43


🏁 Script executed:

#!/bin/bash
# If admonitions not found, check the full config structure for presets/plugins
head -n 100 ./docusaurus.config.js

Repository: reportportal/docs

Length of output: 2826


🏁 Script executed:

#!/bin/bash
# Continue reading the config file to find markdown/admonitions section
sed -n '100,200p' ./docusaurus.config.js

Repository: reportportal/docs

Length of output: 2639


🏁 Script executed:

#!/bin/bash
# Search for markdown section which may contain admonitions
rg -n "markdown" ./docusaurus.config.js -A 20 -B 2

Repository: reportportal/docs

Length of output: 1037


🏁 Script executed:

#!/bin/bash
# Read the entire docusaurus.config.js file and look for markdown/admonitions
cat ./docusaurus.config.js | grep -n -i -A 10 "markdown\|admonition"

Repository: reportportal/docs

Length of output: 869


🏁 Script executed:

#!/bin/bash
# Check the end of the file to see complete config structure
tail -n 50 ./docusaurus.config.js

Repository: reportportal/docs

Length of output: 1489


🏁 Script executed:

#!/bin/bash
# Double-check: verify what the standard Docusaurus admonition types are by checking if there's any MDXProvider or custom component definition
rg -n "Admonition|:::note|:::tip|:::warning|:::danger|:::info" ./docs/external-integrations/MCPServer.mdx

Repository: reportportal/docs

Length of output: 119


Replace :::important with a standard Docusaurus admonition type.

The admonition type :::important is not a standard Docusaurus built-in type and is not registered as a custom type in this repository's configuration. Standard types are note, tip, info, warning, and danger. Replace :::important with :::warning or :::caution (if available).

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/external-integrations/MCPServer.mdx` around lines 32 - 34, The file uses
a non-standard Docusaurus admonition marker `:::important`; replace that marker
with a standard type (e.g., `:::warning` or `:::caution` if available) so the
admonition renders correctly—locate the `:::important` block in MCPServer.mdx
and change the opening marker to a supported admonition type while keeping the
closing `:::` unchanged.

Comment on lines +317 to +329
**Via curl (MCP protocol test):**
```bash
# Test MCP endpoint with JSON-RPC request
curl -X POST http://your-mcp-server-host:port/mcp \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-api-token" \
-H "X-Project: YourProject" \
-d '{
"jsonrpc": "2.0",
"method": "tools/list",
"id": 1
}'
```
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Two minor inconsistencies in the curl verification example.

  1. Trailing slash: The remote connection configs (lines 145 and 196) use /mcp/ (with trailing slash), but the curl test uses /mcp (without). Align them so readers aren't confused about the canonical endpoint path.

  2. Placeholder name: This block uses "Bearer your-api-token" while every other remote example uses "Bearer your-report-portal-api-token". Using a consistent placeholder reduces copy-paste errors.

✏️ Proposed fix
 curl -X POST http://your-mcp-server-host:port/mcp \
   -H "Content-Type: application/json" \
-  -H "Authorization: Bearer your-api-token" \
+  -H "Authorization: Bearer your-report-portal-api-token" \
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
**Via curl (MCP protocol test):**
```bash
# Test MCP endpoint with JSON-RPC request
curl -X POST http://your-mcp-server-host:port/mcp \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-api-token" \
-H "X-Project: YourProject" \
-d '{
"jsonrpc": "2.0",
"method": "tools/list",
"id": 1
}'
```
**Via curl (MCP protocol test):**
🧰 Tools
🪛 Gitleaks (8.30.0)

[high] 317-322: Discovered a potential authorization token provided in a curl command header, which could compromise the curl accessed resource.

(curl-auth-header)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/external-integrations/MCPServer.mdx` around lines 317 - 329, Update the
curl verification example to match the canonical remote connection configs by
changing the request path from "/mcp" to "/mcp/" and make the Authorization
header placeholder consistent by using "Bearer your-report-portal-api-token"
instead of "Bearer your-api-token"; locate and edit the curl test block (the
code fence with curl POST to the MCP endpoint) to apply these two substitutions
so it aligns with the other remote examples.

Comment on lines +331 to +335
**Expected Results:**
- Server responds to health checks
- `/info` returns server configuration
- MCP endpoint returns list of available tools
- No connection refused or timeout errors
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

/info endpoint is referenced but not demonstrated.

Line 334 states "/info returns server configuration" as an expected result, but neither the browser check (line 308) nor the curl example targets that path. Readers won't know to navigate to http://your-mcp-server-host:port/info unless it's made explicit.

Consider adding a browser URL example or a separate curl command for the /info endpoint, or remove the reference if it's not a guaranteed endpoint.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/external-integrations/MCPServer.mdx` around lines 331 - 335, The docs
list "/info returns server configuration" but never demonstrates it; add an
explicit example (either a browser URL like
http://your-mcp-server-host:port/info and a short sentence saying to open it in
a browser, or a curl command such as curl -i
http://your-mcp-server-host:port/info) in the same verification section that has
the browser check/curl example so readers can validate the /info endpoint, or if
/info is not guaranteed, remove the "/info" bullet from the Expected Results.

@maria-hambardzumian maria-hambardzumian merged commit 98c20b7 into develop Feb 25, 2026
2 checks passed
@maria-hambardzumian maria-hambardzumian deleted the EPMRPP-113053 branch February 25, 2026 13:20
@maria-hambardzumian maria-hambardzumian restored the EPMRPP-113053 branch February 25, 2026 13:42
maria-hambardzumian pushed a commit that referenced this pull request Feb 25, 2026
Co-authored-by: Yuliya_Prihodko <Yuliya_Prihodko@epam.com>
github-actions bot pushed a commit that referenced this pull request Feb 25, 2026
Co-authored-by: Yuliya_Prihodko <Yuliya_Prihodko@epam.com> bae5faa
@maria-hambardzumian maria-hambardzumian deleted the EPMRPP-113053 branch February 26, 2026 22:42
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.

2 participants