Skip to content

Conversation

@Bhashinee
Copy link
Member

@Bhashinee Bhashinee changed the title Add MCP docs [Do not merge] Add MCP docs Aug 18, 2025
@pcnfernando pcnfernando requested a review from Copilot September 3, 2025 08:09
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds documentation for MCP (Model Context Protocol) servers functionality to the Devant platform. It introduces comprehensive documentation covering the creation, management, and usage of MCP servers generated from existing REST services.

  • Added a new navigation section "Create MCP servers" to the documentation structure
  • Created detailed documentation for generating MCP servers from existing REST services
  • Included instructions for tool modification, deployment, and testing using the MCP Inspector

Reviewed Changes

Copilot reviewed 2 out of 7 changed files in this pull request and generated 2 comments.

File Description
en/mkdocs.yml Added navigation entry for MCP servers documentation
en/docs/mcp-servers/generate-mcp-servers.md Complete documentation guide for creating and managing MCP servers

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

- You will be redirected to the Developer Portal’s representation of the service.
- Click Subscribe and create an application.

💡 Note: Once the MCP server is also published to the Developer Portal, subscribe the same application to it as well.
Copy link

Copilot AI Sep 3, 2025

Choose a reason for hiding this comment

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

[nitpick] Using emoji characters (💡) in technical documentation can cause rendering issues in some documentation systems and may not be accessible to all users. Consider using standard markdown formatting like 'Note:' or an admonition block instead.

Suggested change
💡 Note: Once the MCP server is also published to the Developer Portal, subscribe the same application to it as well.
!!!note
Once the MCP server is also published to the Developer Portal, subscribe the same application to it as well.

Copilot uses AI. Check for mistakes.

![MCP Inspector](../assets/img/mcp/mcp-inspector.png)

💡 Note: Clicking Connect sends an Initialize call to the MCP Server deployed in the gateway, establishing a connection.
Copy link

Copilot AI Sep 3, 2025

Choose a reason for hiding this comment

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

[nitpick] Using emoji characters (💡) in technical documentation can cause rendering issues in some documentation systems and may not be accessible to all users. Consider using standard markdown formatting like 'Note:' or an admonition block instead.

Suggested change
💡 Note: Clicking Connect sends an Initialize call to the MCP Server deployed in the gateway, establishing a connection.
!!!note
Clicking Connect sends an Initialize call to the MCP Server deployed in the gateway, establishing a connection.

Copilot uses AI. Check for mistakes.
@pcnfernando
Copy link
Contributor

We'll be keep this PR open until the MCP fixes are available in production.
Currently, it's blocked due to https://github.com/wso2-enterprise/devant/issues/1541


In summary, Devant provides the following capabilities related to MCP.

1. Create MCP Servers from existing HTTP services.
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's rephrase it to devant wording
Integrations as APIs

In summary, Devant provides the following capabilities related to MCP.

1. Create MCP Servers from existing HTTP services.
2. Automatically generate the MCP tool schemas.
Copy link
Contributor

Choose a reason for hiding this comment

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

These are sub parts of point 1. Please rephrase


4. Click **Create**. This creates the project and takes you to the project home page.

### Create MCP Servers for existing HTTP integrations
Copy link
Contributor

Choose a reason for hiding this comment

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

Use Integration as API


### Create MCP Servers for existing HTTP integrations

1. Navigate to an HTTP integration under the category `Integration as API` from Devant. At the top right corner, you will be able to see a button named `Generate MCP server`.
Copy link
Contributor

Choose a reason for hiding this comment

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

May be HTTP based Integration as API

@anupama-pathirage
Copy link
Contributor

@pcnfernando / @Bhashinee since the blocked PR is merged, can we start reviewing these docs?


For more information, refer to the official [specification](https://modelcontextprotocol.io/introduction).

## Remote MCP Servers with Devant
Copy link
Contributor

Choose a reason for hiding this comment

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

Second level sentences should be in sentence case.


💡 Note: Clicking Connect sends an Initialize call to the MCP Server deployed in the gateway, establishing a connection.

6. Invoke MCP Tools
Copy link
Contributor

Choose a reason for hiding this comment

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

These should be in sentence case, check and fix all the places.

@@ -0,0 +1,139 @@
# Overview
Copy link
Contributor

Choose a reason for hiding this comment

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

File name and the title should match. And the file name is the one appearing in the URL too, so always use meanningful file names.

@pcnfernando
Copy link
Contributor

We need to updated all screenshots to use the newer ui look

@pcnfernando
Copy link
Contributor

@SashenkaG will be working on the review comments

@SashenkaG
Copy link

Updated docs and resolved reviews in #142


## Prerequisites

### Create an Organization

Choose a reason for hiding this comment

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

All headers below Level 1 should use sentence case.

Suggested change
### Create an Organization
### Create an organization


This creates the organization and opens the organization home page.

### Create a Project

Choose a reason for hiding this comment

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

Suggested change
### Create a Project
### Create a project

!!!info
The MCP Servers created in Devant currently support **2025-03-16** specification.

## Modify Tools of your MCP Server

Choose a reason for hiding this comment

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

Suggested change
## Modify Tools of your MCP Server
## Modify tools of your MCP Server

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.

5 participants