How to integrate Endorsal MCP with Codex

Codex is one of the most popular coding harnesses out there. And MCP makes the experience even better. With Endorsal MCP integration, you can draft, triage, summarise emails, and much more, all without leaving the terminal or the app, whichever you prefer.

Endorsal logoEndorsal
Api Key

Endorsal automates the collection and display of customer testimonials and reviews. Boost your business's credibility and social proof with effortless feedback management.

26 Tools

Introduction

Codex is one of the most popular coding harnesses out there. And MCP makes the experience even better. With Endorsal MCP integration, you can draft, triage, summarise emails, and much more, all without leaving the terminal or the app, whichever you prefer.

Also integrate Endorsal with

Why use Composio?

Apart from a managed and hosted MCP server, you will get:

  • CodeAct: A dedicated workbench that allows GPT to write its code to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
  • Large tool responses: Handle them to minimise context rot.
  • Dynamic just-in-time access to 20,000 tools across 1000+ other Apps for cross-app workflows. It loads the tools you need, so GPTs aren't overwhelmed by tools you don't need.

How to install Endorsal MCP in Codex

Run the setup command

Run this command in your terminal to add the Composio MCP server to Codex.

Terminal

It will initiate the authentication in a browser window, authorize Codex to access your Composio account.

Composio authentication page

(Optional) Authenticate with OAuth

To authenticate manually, run the login command to open a browser window and authorize Codex to access your Composio account.

bash
codex mcp login composio

Verify the connection

Run codex mcp list to confirm Composio appears as a registered MCP server.

bash
codex mcp list

Codex App

Codex App follows the same approach as VS Code.

  1. Click ⚙️ on the bottom left → MCP Servers → + Add servers → Streamable HTTP:
  2. Fill the header and Key fields with { "x-consumer-api-key" = "ck_*******" }.
  3. The Key is the Composio API key, that you can find on dashboard.composio.dev
  4. Click on Authenticate and authorize Codex to your Composio account and you're all set.
Codex App MCP setup
  1. Restart and verify if it's there in .codex/config.toml
bash
[mcp_servers.composio]
url = "https://connect.composio.dev/mcp"
http_headers = { "x-consumer-api-key" = "ck_*******" }

What is the Endorsal MCP server, and what's possible with it?

The Endorsal MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Endorsal account. It provides structured and secure access to your testimonials, contacts, and campaign data, so your agent can perform actions like collecting new testimonials, managing contacts, organizing campaigns, and displaying review widgets on your behalf.

  • Automated testimonial collection and submission: Enable your agent to create and submit new customer testimonials directly into your Endorsal account, streamlining the feedback process.
  • Campaign management and insights: Let your agent retrieve and list all AutoRequest campaigns, check campaign details, and monitor their status to keep your outreach efforts on track.
  • Contact and testimonial organization: Easily fetch, list, and manage all contacts, as well as pull up all testimonials associated with a specific contact for better relationship tracking.
  • Widget and property access: Allow your agent to fetch details of specific display widgets and properties, helping you control how testimonials are showcased on your website.
  • Tag and metadata retrieval: Retrieve tag details and full testimonial metadata, so your agent can help organize, group, or analyze your customer feedback efficiently.

Conclusion

You've successfully integrated Endorsal with Codex using Composio's MCP server. Now you can interact with Endorsal directly from your terminal, VS Code, or the Codex App using natural language commands.

Key benefits of this setup:

  • Seamless integration across CLI, VS Code, and standalone app
  • Natural language commands for Endorsal operations
  • Managed authentication through Composio
  • Access to 20,000+ tools across 1000+ apps for cross-app workflows
  • CodeAct workbench for complex tool chaining

Next steps:

  • Try asking Codex to perform various Endorsal operations
  • Explore cross-app workflows by connecting more toolkits
  • Build automation scripts that leverage Codex's AI capabilities
TOOLS

Supported Tools

Every Endorsal action and event your agent gets out of the box.

Archive Contact

Tool to archive a contact using its unique identifier.

Create Contact

Tool to create a new contact in your Endorsal account.

Create Tag

Tool to create a new tag in Endorsal.

Create Testimonial

Tool to submit a new testimonial.

Delete Tag

Tool to delete a tag using its unique identifier.

Delete Testimonial

Tool to permanently delete a testimonial by its ID.

Get AutoRequest Campaign

Tool to retrieve a specific AutoRequest campaign by its unique identifier.

Get Contact

Tool to retrieve details of a specific contact by its unique identifier.

Get Tag

Tool to retrieve details of a specific tag by its unique identifier.

Get Testimonial

Retrieves complete details of a specific testimonial by its ID.

Get Wall of Love

Retrieves the Wall of Love for a property, returning testimonials that match its configuration options.

Get Widget

Tool to retrieve details of a specific widget by its unique identifier.

List All Tags

Tool to retrieve a list of all Tag Objects across all properties in your Endorsal account.

List AutoRequest Campaigns

Tool to retrieve a list of all AutoRequest campaigns.

List Contacts

Retrieves a paginated list of all contacts for a specific property in your Endorsal account.

List Contact Testimonials

Retrieves all testimonials associated with a specific contact in Endorsal.

List Properties

Tool to retrieve all properties for the authenticated account.

List Tags

Retrieves all tags associated with a specific property in Endorsal.

List Tag Testimonials

Tool to retrieve all testimonials for a given tag.

List Testimonials

Retrieves a paginated list of all testimonials in your Endorsal account.

List Widgets

Retrieves all testimonial display widgets associated with your Endorsal account.

Search Contacts

Tool to search contacts using query Match Objects.

Search Testimonials

Tool to search testimonials using query Match Objects.

Tag Testimonial

Tool to add tag(s) to a testimonial.

Update Contact

Tool to update a contact's information.

Update Testimonial

Tool to update an existing testimonial.

FAQ

Frequently asked questions

With a standalone Endorsal MCP server, the agents and LLMs can only access a fixed set of Endorsal tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Endorsal and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Codex fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Endorsal tools.

Yes, absolutely. You can configure which Endorsal scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Endorsal data and credentials are handled as safely as possible.

Start with Endorsal.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Endorsal tool your agent needs.Free to start.

Start building