How to integrate Enigma MCP with Codex

Connect Codex to Enigma MCP. Verify the legitimacy of acme corp in delaware, check if a business is on any u.s. sanctions list, and more using natural language, with authentication handled for you.

Enigma logoEnigma
Api Key

Enigma provides trusted data on U.S. businesses, including identity, firmographics, and financial health. It helps sales, marketing, and risk teams make smarter, faster decisions.

19 Tools

Introduction

Codex is one of the most popular coding harnesses out there. And MCP makes the experience even better. With the Enigma MCP integration, Codex can verify businesses with KYB, screen against sanctions and watchlists, match business profiles, search entities with GraphQL, and manage lists, all without leaving the terminal or the app, whichever you prefer.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Enigma 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 1700+ 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 Enigma 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_*******" }

Try it

Ask Codex for a Enigma task. The first time, Composio asks you to connect your Enigma account.

For example, ask it to:

  • "Verify the legitimacy of Acme Corp in Delaware"
  • "Check if a business is on any U.S. sanctions list"
  • "Get detailed KYB info for a California LLC"

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

The Enigma MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Enigma account. It provides structured and secure access to comprehensive U.S. business data, so your agent can perform actions like verifying company identities, screening for compliance, and assessing financial health automatically.

  • Automated KYB business verification: Rapidly verify the legitimacy of U.S. businesses by checking official state records, brands, and legal entities through your agent.
  • Sanctions and watchlist screening: Instantly screen businesses and transactions against up-to-date sanctions and watchlists for enhanced compliance and risk mitigation.
  • Retrieve detailed business intelligence: Access comprehensive profiles on businesses, including best match results, affiliated brands, and entity structures.
  • Compliance automation: Let your agent independently run verification checks and screenings to streamline onboarding, due diligence, and regulatory workflows.

Conclusion

You've successfully integrated Enigma with Codex using Composio's MCP server. Now you can interact with Enigma 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 Enigma operations
  • Managed authentication through Composio
  • Access to 20,000+ tools across 1700+ apps for cross-app workflows
  • CodeAct workbench for complex tool chaining

Next steps:

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

Supported Tools

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

Create List

Tool to create a new list to organize and group entities in Enigma.

Create Suggestion

Tool to create a suggestion for data correction, enhancement, or analysis feedback in Enigma.

Delete List

Tool to delete an existing list permanently from the system.

Get Account Information

Tool to retrieve information about the current API account via GraphQL.

Get Aggregate Counts

Get aggregate counts of operating locations and their associated brands or legal entities.

Get Attribute Groups

Tool to retrieve attribute groups for Enigma entity types.

Get Background Task Status

Tool to get the status and results of a background task by ID.

Get Business by Enigma ID

Tool to retrieve detailed business information using an Enigma ID.

Get Screening Decision

Tool to retrieve a screening decision by its request ID.

Get Extended GraphQL Schema

Tool to retrieve extended schema information for Enigma's GraphQL API.

Get List Materialization

Retrieve a list materialization by ID, including its status, progress, and results location when available.

Get Sanctioned Entity Details

Retrieve information about a specific OFAC sanctioned entity by collection and record ID.

KYB Business Verification

Perform a Know Your Business (KYB) check on a US business using Enigma's legal entity data.

List Screening Decisions

Tool to retrieve multiple screening decisions with pagination and filtering options.

Match Business Profile

Tool to match business records against Enigma's SMB data asset using fuzzy matching on business name and location.

Screen Against Sanctions and Watchlists

A tool to screen customers and transactions against sanctions and other watchlists.

Search Enigma Entities via GraphQL

Search Enigma for brands, operating locations, or legal entities by name, phone, website, or TIN, optionally narrowed by address.

Search User-Created Lists

Tool to search and retrieve user-created lists via GraphQL.

Verify Business Identity (KYB v2)

Verify business identity using Enigma's KYB v2 endpoint for compliance or risk assessment.

FAQ

Frequently asked questions

Start with Enigma.It takes 30 seconds.

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

Start building