Skip to main content

MCP Server

Use of external data services via MCP could make charges to your account(s). Please verify for the destination service that you are permitted and can monitor costs.

The following lab focuses on quick configuration of a AWS Knowledge MCP Server and Linear MCP Server.

Requirements

To configure these MCP examples we will integrate with a knowledge source, AWS, with no Authentication, and Linear, that requires OAuth2 Authentication.

  • Linear Account with a user that has permissions to access issues.

Steps

AWS Knowledge MCP Server

For the first example we will integrate with AWS Knowledge Base MCP Server.

  • Go to Retool Home > Resources > MCP Server > Create new.
  • Update the name of the MCP Server to MCP AWS Knowledge Base and the Server URL set to https://knowledge-mcp.global.api.aws.
  • Set the Authentication to None.
  • Select Test Connection to confirm it is successfully configured. Below is the resulting configuration:
AWS MCP Server configuration
AWS MCP Server configuration

The following video walks through creating a sample agent that uses the AWS MCP Server and shows the chat interaction it can perform using the configured AWS MCP resource/tool.

Linear MCP Server

For the second example we will integrate to Linear's MCP Server, a SaaS ticketing solution.

  • Go to Retool Home > Resources > MCP Server > Create new.
  • Update the name of the MCP Server to mcp linear and the Server URL set to https://mcp.linear.app/mcp.
  • Leave Authentication as Automatic and select Auto-configure authentication.
Automatic-configure authentication
Automatic-configure authentication
  • For Linear it identifies OAuth2 and appropriate settings including Client ID and Client Secret.
Linear OAuth2 authentication
Linear OAuth2 authentication
  • Select Test Connection to confirm it is successfully configured.

You may be presented with a request panel that requires you to allow for authorization of Retool with Linear. Accept this to allow Retool to perform MCP calls.

  • Similar to the previous example, you can create a new Retool Agent, that is configured with a Tool / MCP Server that leverages the mcp linear resource.
  • Use the Configuration Assistant to create an agent configuration that only uses the Linear tool. Once created the following prompt is used in a chat:
Can you provide me open issues that are assigned to me?
  • This results in the following output coming from Linear for issues that match.
Linear MCP Server query by Retool Agent
Linear MCP Server query by Retool Agent