How to integrate Bolt iot MCP with Codex

Connect Codex to Bolt iot MCP. Read temperature sensor value from pin a0, turn on relay connected to digital pin 1, and more using natural language, with authentication handled for you.

Bolt iot logoBolt iot
Api Key

Bolt IoT is a platform for building and managing IoT projects with cloud-based device control and monitoring. It makes connecting sensors and actuators to the internet seamless for automation and data insights.

6 Tools

Introduction

Codex is one of the most popular coding harnesses out there. And MCP makes the experience even better. With the Bolt iot MCP integration, Codex can read analog sensor values, write digital outputs, send and read serial data, and check device online status, 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 Bolt iot 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 Bolt iot 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 Bolt iot task. The first time, Composio asks you to connect your Bolt iot account.

For example, ask it to:

  • "Read temperature sensor value from pin A0"
  • "Turn on relay connected to digital pin 1"
  • "Check if device BOLT12345 is online now"

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

The Bolt iot MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Bolt IoT account. It provides structured and secure access to your connected IoT devices, so your agent can perform actions like reading sensor values, controlling actuators, checking device status, and managing UART communication on your behalf.

  • Real-time sensor data collection: Instantly retrieve analog sensor readings from any Bolt device for monitoring temperature, light, or other parameters.
  • Remote device control: Command your agent to switch actuators, toggle LEDs, or send digital signals to devices using digital write operations.
  • Device connectivity monitoring: Check if a specific Bolt IoT device is online before performing operations or troubleshooting connectivity issues automatically.
  • Serial communication management: Read incoming serial data or transmit ASCII commands over UART to interact with other hardware modules connected to your Bolt device.
  • Bidirectional UART automation: Send serial commands and immediately capture device responses in one seamless step, enabling complex automation workflows.

Conclusion

You've successfully integrated Bolt iot with Codex using Composio's MCP server. Now you can interact with Bolt iot 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 Bolt iot 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 Bolt iot operations
  • Explore cross-app workflows by connecting more toolkits
  • Build automation scripts that leverage Codex's AI capabilities
TOOLS

Supported Tools

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

Analog Read

Tool to read the analog value from a specified pin on a Bolt device.

Check Bolt device online status

Tool to check whether a specified Bolt device is online.

Bolt IoT Digital Write

Tool to set a digital pin HIGH or LOW on a specified Bolt device.

Bolt IoT Serial Read

Tool to read incoming serial data from a Bolt device.

Bolt IoT Serial Write

Tool to send serial data to a Bolt device.

Bolt IoT Serial Write & Read

Tool to send serial data and read the response on a Bolt device.

FAQ

Frequently asked questions

Start with Bolt iot.It takes 30 seconds.

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

Start building