AI macro analyst for Japan macro
Back to MCP integrations
OpenAI

ChatGPT MCP Setup

Connect MESHH to Codex and ask a Japan macro research agent from OpenAI's coding environment.

Setup

Enable MESHH in Codex

  1. Open Codex CLI or the Codex app and go to MCP server management.
  2. Create an MCP Access Token in the MESHH Developer area and keep it ready for bearer auth.
  3. Register the MESHH endpoint as a server, save it as meshh, and set the Authorization header to Bearer <your_mcp_access_token>.
  4. You can also add the same server from the CLI with the codex mcp add command.
  5. Once connected, Codex should start with ask_meshh. Use continue_meshh_thread for follow-ups and get_meshh_status for progress checks.
Codex command
codex mcp add meshh --url https://meshh.ai/mcp --header "Authorization: Bearer <your_mcp_access_token>"
Connection

Use this MCP endpoint

MCP endpoint
https://meshh.ai/mcp

Inside Codex, the connected agent appears as MESHH. The public tools are ask_meshh, continue_meshh_thread, and get_meshh_status.

Authentication

MCP Access Token + Bearer

Before adding MESHH to an external MCP client, sign in and create an MCP Access Token. Configure the client with bearer-token authentication using that token.

Create MCP Access Token
Ask your client

Have your AI walk you through it

Paste this prompt into Codex and let it guide the setup.

Setup prompt
I want to add the MESHH MCP server to Codex.

Endpoint: https://meshh.ai/mcp
Server name: meshh
Authentication: Bearer token
Token: <your_mcp_access_token>

Please walk me through:
1. The exact `codex mcp add` command to run.
2. How to set the Authorization header to `Bearer <your_mcp_access_token>`.
3. How to confirm the server is registered.
4. How to verify it works by calling MESHH's `ask_meshh` tool with a small Japan macro question.

If anything fails, ask me about the error and help me debug.