# How to connect HarnessRouter with ChatGPT

```json
{
  "title": "How to connect HarnessRouter with ChatGPT",
  "toolkit": "HarnessRouter",
  "toolkit_slug": "harnessrouter",
  "framework": "ChatGPT",
  "framework_slug": "chatgpt",
  "url": "https://composio.dev/toolkits/harnessrouter/framework/chatgpt",
  "markdown_url": "https://composio.dev/toolkits/harnessrouter/framework/chatgpt.md",
  "updated_at": "2026-11-28T05:35:06.428Z"
}
```

## Introduction

### How to connect HarnessRouter MCP with ChatGPT
[ChatGPT](https://chatgpt.com/) can take action across your apps and files, stay with a project for hours, and turn a goal into finished materials like sheets, slides, and docs, not just answers.
In this guide, I will explain the easiest and most secure way to connect your HarnessRouter account to ChatGPT via Composio Connect, so it can list harnesses, manage sessions, configure workspaces, inspect environments, and run harness operations through natural language commands without ever putting your account credentials at risk.
For exact tool slugs and parameter tables, see the [tool catalog in the Composio docs](https://docs.composio.dev/toolkits/harnessrouter).

## Also integrate HarnessRouter with

- [Claude Cowork](https://composio.dev/toolkits/harnessrouter/framework/claude-cowork)

## TL;DR

### Why use Composio over default connectors?
- Apps with read and write access. Default connectors mostly can read your data. Composio's HarnessRouter integration lets ChatGPT take actions like creating drafts, sending updates, labeling records, and more.
- 2,000+ SaaS toolkits out of the box. Composio gives you instant access to a vast catalog of pre-built connectors, from Gmail and Slack to Notion, Linear, and Salesforce.
- One MCP server for every app. Connect any of your applications on demand through a single endpoint, rather than juggling a separate server for each app.
- Smart, context-aware tool loading. Unlike traditional MCP servers that dump every available tool into the LLM context window, Composio searches for and loads only the tools relevant to the task at hand.
- Cross-app automation. Chain actions across multiple apps in a single run - fetch a thread, summarize it in Notion, and post highlights to Slack without leaving the conversation.

## Connect HarnessRouter to ChatGPT

### Prerequisites
- A ChatGPT account. We will use the [ChatGPT desktop app](https://openai.com/chatgpt/download/), and the steps are the same on the web.
- Access to the HarnessRouter workspace you want to connect.
- [Composio plugin](https://dashboard.composio.dev/login?cta_placement=toolkit-framework-chatgpt-composio-connect&next=%2F~%2Forg%2Fconnect%2Fclients%2Fchatgpt).
Note: Composio connects through OAuth. You will be asked to sign in and approve specific permissions. Review the permission screen carefully if you are using a work account.
### Step-by-step: Connect HarnessRouter to ChatGPT
### 1. Install the Composio plugin
Click the button. ChatGPT opens the Composio plugin page. Click Install plugin.
[Install in ChatGPT](https://chatgpt.com/plugins/plugin_asdk_app_6a58503580c08191b78cc5bdaf4eba6e)
You can also find it inside ChatGPT: go to Settings, open Plugins, search the marketplace for Composio, and click Install plugin.
### 2. Authenticate
After you install, ChatGPT asks you to authenticate with Composio. Log in and click Allow access to authorize ChatGPT to use your Composio account.
### 3. Start using Composio
That is it. Composio tools are now available in ChatGPT. Type @Composio followed by your request, for example @Composio find unread HarnessRouter messages and summarize them, and it will run the actions you authorize. On first use it asks you to authorize HarnessRouter.
### Option 2: Add Composio as an MCP server
If you cannot use the plugin marketplace, add Composio as a custom MCP server instead.
### 1. Open the MCP settings
In ChatGPT, go to Settings and open the Plugins section. Inside the Plugins page, click the MCP tab.
### 2. Add the server
Click Add server. In the Name field enter Composio, for Type select Streamable HTTP, and in the URL field paste the Composio MCP server URL:

```bash
https://connect.composio.dev/mcp
```

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

The HarnessRouter MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your HarnessRouter account. It provides structured and secure access to AI harnesses, sessions, environments, workspaces, models, and related resources, so your agent can configure harnesses, prepare and build environments, inspect sessions and files, and review available models and connectors on your behalf.
- Harness configuration and discovery: Have your agent create, find, inspect, and export harness configurations, then review the models available to each harness.
- Environment preparation and builds: Direct your agent to create environments, declare packages and runtimes, check package availability, import source code, start builds, review build logs, and activate an earlier successful version.
- Session and workspace management: Let the agent list and inspect sessions, create directories, review session responses and traces, and check whether a session has sharing enabled.
- Files and reusable instructions: Instruct your agent to list session files, download individual files or complete archives, and read reusable snippets, plugin files, and skill files.
- Workspace and service visibility: Have your agent review available models, connectors, provider connections, arenas, starter kits, storage usage, account details, and organization balance.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `HARNESSROUTER_ACTIVATE_ENVIRONMENT_VERSION` | Activate Environment Version | Switch an environment to an earlier successful built version without rebuilding. This reversible update can be undone by activating another built version. |
| `HARNESSROUTER_BUILD_ENVIRONMENT` | Build Environment | Start the next environment version build and return immediately. A build may run for up to 30 minutes; each built version is limited to 1536 MiB. |
| `HARNESSROUTER_CHECK_ENVIRONMENT_PACKAGE` | Check Environment Package | Check one pip, npm, or apt package specification against its registry before declaring it on an environment. This does not install or build anything. |
| `HARNESSROUTER_CHECK_ENVIRONMENT_PACKAGES` | Check Environment Packages | Sequentially check 1-50 pip, npm, or apt package specifications against their registries before declaring them on an environment. Results preserve the input order; this does not install or build anything. |
| `HARNESSROUTER_CREATE_ARENA` | Create Arena | Create a free arena grouping with up to 10 harness/model columns. This stores references only and does not run a model or task. |
| `HARNESSROUTER_CREATE_ENVIRONMENT` | Create Environment | Create an environment project and optionally declare its description, entry instructions, packages, and Python runtime. This does not start a build. |
| `HARNESSROUTER_CREATE_HARNESS` | Create Harness | Create a configuration-only harness without running a task or invoking a model. MCP servers, skills, and Agent Plugin packages may be attached in the harness create body. |
| `HARNESSROUTER_CREATE_SESSION_DIRECTORY` | Create Session Directory | Create a directory and missing parents in an idle session workspace. An existing directory succeeds with created=false; this does not delete files. |
| `HARNESSROUTER_CREATE_SNIPPET_FOLDER` | Create Snippet Folder | Create a folder used to organize reusable instruction snippets. |
| `HARNESSROUTER_DISCOVER_UHP` | Discover UHP Support | Discover the Unified Harness Protocol versions and capabilities supported by HarnessRouter without starting a task or invoking a model. The provider endpoint is public, although this toolkit host still requires a configured HarnessRouter connection to invoke an action. |
| `HARNESSROUTER_DOWNLOAD_CONTAINER_FILE` | Download Container File | Download one session artifact by container and file ID in its original format or as HarnessRouter's PDF preview. Unsupported PDF conversions are refused; a failed conversion can be retried. |
| `HARNESSROUTER_DOWNLOAD_SESSION_FILES_ARCHIVE` | Download Session Files Archive | Download a session's files as one ZIP archive. Select the latest changed set or an explicit list of file IDs when needed. |
| `HARNESSROUTER_EXPORT_HARNESS_PLUGIN` | Export Harness Plugin | Export a harness's provider-defined plugin configuration without credentials. This only reads configuration and does not run the harness. |
| `HARNESSROUTER_GET_AGENT_TYPE_LATENCY` | Get Agent Type Latency | Read how soon each HarnessRouter agent type starts answering, grouped by how its session started, optionally filtered by model and time window. |
| `HARNESSROUTER_GET_ARENA` | Get Arena | Read one arena grouping by ID without running any of its columns. |
| `HARNESSROUTER_GET_BALANCE` | Get Balance | Return the connected organization's plan, available USD balance, currency, deficit status, and measurement time without running a task. |
| `HARNESSROUTER_GET_CURRENT_ACCOUNT` | Get Current Account | Return the organization, workspace, and member the connected API key acts as. |
| `HARNESSROUTER_GET_ENVIRONMENT_BUILD` | Get Environment Build | Read one environment build's status, current step, and log. Builds have a 30-minute wall-clock limit and built versions are limited to 1536 MiB. |
| `HARNESSROUTER_GET_HARNESS` | Get Harness | Return one harness's configuration by ID without running it. |
| `HARNESSROUTER_GET_HARNESS_PLUGIN_FILES` | Get Harness Plugin Files | Read the complete stored file bundle for one plugin installed on a harness. This only reads configuration and does not run the harness. |
| `HARNESSROUTER_GET_HARNESS_SKILL_FILES` | Get Harness Skill Files | Read the complete stored file bundle for one skill attached to a harness. This only reads configuration and does not run the harness. |
| `HARNESSROUTER_GET_RESPONSE` | Get Response | Get a response, including its current status and output, without polling. |
| `HARNESSROUTER_GET_SESSION` | Get Session | Get one session without starting or continuing its task. |
| `HARNESSROUTER_GET_SESSION_SHARE` | Get Session Sharing | Get whether a session is shared and the provider's share-link details. |
| `HARNESSROUTER_GET_SNIPPET` | Get Snippet | Read one reusable instruction snippet by its exact workspace path. |
| `HARNESSROUTER_GET_STORAGE_USAGE` | Get Storage Usage | Return total storage bytes used by the connected organization. |
| `HARNESSROUTER_GET_TRACE` | Get Trace | Get a session trace summary. Free access shows the first five events in full and marks later events as limited. |
| `HARNESSROUTER_IMPORT_ENVIRONMENT` | Import Environment | Import one zip/tar archive of up to 512 MiB or one git repository into an environment source tree without clearing existing source first. Exactly one of archive or git_url is required; destructive replacement is intentionally unavailable. |
| `HARNESSROUTER_LIST_API_KEYS` | List API Keys | List API-key metadata for an organization without returning secret key values. Results are bounded client-side to limit (default 20, maximum 100), with truncated and total_matches reporting omissions; the provider offers no continuation parameter for this endpoint. |
| `HARNESSROUTER_LIST_ARENAS` | List Arenas | List free arena groupings without running any column, model, or task. HarnessRouter does not expose provider pagination, so results are bounded client-side. |
| `HARNESSROUTER_LIST_BASES` | List Bases | Find base harnesses by ID, backend, or readiness status. Returns compact summaries by default and can include embedded capabilities, models, tools, and skills. |
| `HARNESSROUTER_LIST_CONNECTORS` | List Connectors | List the connectors available in the connected workspace and whether each connector is connected. This read-only action does not connect an account or change a harness. |
| `HARNESSROUTER_LIST_HARNESSES` | List Harnesses | Find harness configurations by documented ID, name, or base without starting any tasks. Results are bounded client-side. |
| `HARNESSROUTER_LIST_HARNESS_MODELS` | List Harness Models | List the models available to one configured harness, including its default and fallback model, with bounded results. |
| `HARNESSROUTER_LIST_KITS` | List Kits | List available HarnessRouter starter kits and whether each has already been launched, without launching one. Results are bounded client-side to limit (default 20, maximum 100), with truncated and total_matches reporting omissions; the provider offers no continuation parameter for this endpoint. |
| `HARNESSROUTER_LIST_MODELS` | List Models | Browse available HarnessRouter models by backend with bounded results. Omit backend to receive only compact backend summaries and model counts. |
| `HARNESSROUTER_LIST_PROVIDER_CONNECTIONS` | List Provider Connections | List configured direct REST model-provider connections, safe model-routing maps, and provider catalog counts. Provider catalog details are opt-in and bounded; OAuth connector flows are excluded. |
| `HARNESSROUTER_LIST_RESPONSE_INPUT_ITEMS` | List Response Input Items | List a bounded page of what a response was given without starting or continuing a task. The provider returns at most limit items (default 20; no documented maximum) and documents no cursor or continuation parameter, so additional items cannot be requested. |
| `HARNESSROUTER_LIST_SESSION_FILES` | List Session Files | List file metadata from a session workspace, optionally restricted to the most recent turn. Results are bounded client-side to limit (default 100, maximum 500), with truncated and total_matches reporting omissions. The provider documents no pagination or continuation parameter for this endpoint. HarnessRouter returns path, bytes, media_type, file_id, and download_url; the pinned UHP 2026-10-19 form may instead identify an artifact with id and filename. Source: https://harnessrouter.ai/docs/files-and-artifacts and https://unifiedharnessprotocol.org/spec/2026-10-19/files#22-by-listing-the-session. |
| `HARNESSROUTER_LIST_SESSIONS` | List Sessions | List sessions newest first without starting or continuing a task. |
| `HARNESSROUTER_LIST_SESSION_TURNS` | List Session Turns | Get a session's conversation oldest first without continuing the task. |
| `HARNESSROUTER_LIST_SNIPPETS` | List Snippets | Find reusable instruction snippet and folder metadata by documented path and kind. Results are bounded client-side and omit stored snippet content. |
| `HARNESSROUTER_LIST_TRACE_EVENTS` | List Trace Events | List one chunk or the complete payload of a session's trace events. Free access shows the first five events in full and marks later events as limited. The action refuses a serialized response above 5.5 MB; request a chunk if the complete payload exceeds that cap. |
| `HARNESSROUTER_LIST_TRACES` | List Traces | List task trace summaries newest first. Free access shows the first five events in full and marks later events as limited. |
| `HARNESSROUTER_MOVE_SESSION_FILE` | Move Session File | Move or rename one file or directory in an idle session workspace. The destination must not exist and cannot be inside the source. |
| `HARNESSROUTER_MOVE_SNIPPET` | Move Snippet Or Folder | Move or rename one reusable instruction snippet or snippet folder inside the workspace. |
| `HARNESSROUTER_READ_SESSION_FILE` | Read Session File | Read one file by its relative path from a session workspace. File bytes are offloaded to a downloadable reference; reading is allowed while a turn runs. |
| `HARNESSROUTER_RENAME_API_KEY` | Rename API Key | Rename an existing HarnessRouter API key without changing its secret or workspace scope. |
| `HARNESSROUTER_RENAME_SESSION` | Rename Session | Update a session title without starting or continuing its task. This action requires the nonempty title that HarnessRouter needs for a successful rename, and sends at most 120 characters. The live OpenAPI's optional/null shape is owner-shaped out because those values always return invalid_title. Source: https://api.harnessrouter.ai/openapi.json and https://harnessrouter.ai/docs/rename-and-share-a-session. |
| `HARNESSROUTER_RENDER_INSTRUCTIONS` | Render Instructions | Preview instruction template text with test values without saving a snippet or running a harness. |
| `HARNESSROUTER_SET_HARNESS_CONNECTORS` | Set Harness Connectors | Replace a harness's complete connector list with the supplied connector names or IDs. Send every connector the harness should retain: omitted connectors are detached, and the list must retain at least one connector. This action only changes the harness configuration; it does not connect accounts or accept credentials. Pinned values are agent-visible tool names and are limited to eight. |
| `HARNESSROUTER_SET_HARNESS_PAUSED` | Set Harness Paused | Set whether a harness is paused. Pausing refuses new tasks while allowing running tasks to finish; resuming lets the harness accept new tasks again. This reversible management operation does not start or delete a task or harness. |
| `HARNESSROUTER_SET_SESSION_SHARE` | Set Session Sharing | Publish or disable a session's public read-only share link with an explicit enabled choice. Publishing exposes the conversation and every session file to anyone with the link. The provider optional-body publish behavior is owner-shaped out to require consent. Source: https://harnessrouter.ai/docs/rename-and-share-a-session and https://unifiedharnessprotocol.org/spec/2026-10-19/sessions#5-session-sharing. |
| `HARNESSROUTER_TEST_MCP_SERVER_CONNECTION` | Test MCP Server Connection | Test whether HarnessRouter can connect to a public MCP server URL without supplying server authentication, custom headers, or server credentials. This read-only check does not save or attach the server. |
| `HARNESSROUTER_UPDATE_ARENA` | Update Arena | Replace an arena grouping by ID. Supply every column the arena should keep; the operation only changes grouping metadata and does not run any model or task. |
| `HARNESSROUTER_UPDATE_ENVIRONMENT` | Update Environment | Update an environment's name, description, entry instructions, package declarations, or Python runtime. Package lists accept up to 200 specs each; this does not build. |
| `HARNESSROUTER_UPLOAD_FILE` | Upload File | Upload one user-authorized source file for use in a later task. The returned file ID is workspace-scoped; this action stores bytes but does not run a task. |
| `HARNESSROUTER_UPSERT_HARNESS` | Upsert Harness | Create a harness at the supplied ID, or fully replace that harness's mutable configuration if it already exists. The required base selects a new harness's runtime but cannot change an existing harness's base. Send current values for every setting, MCP server, skill, and plugin that must be preserved; explicit empty collections clear them, and leaving an installed plugin out of plugins uninstalls it. This action only changes configuration and does not run a task. |
| `HARNESSROUTER_UPSERT_SNIPPET` | Create Or Replace Snippet | Create a reusable instruction snippet at a new path or completely replace the text at an existing path. |
| `HARNESSROUTER_WRITE_ENVIRONMENT_FILE` | Write Environment File | Create or replace one environment source file with raw bytes, up to 64 MiB. Parent directories are created; environment tree listings return up to 20,000 entries. |
| `HARNESSROUTER_WRITE_SESSION_FILE` | Write Session File | Create or replace one file in an idle session workspace using UTF-8 text or base64 bytes, up to 4 MiB. HarnessRouter refuses writes while a turn runs. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, ChatGPT can access the HarnessRouter MCP server via Composio to run actions that you authorize, directly in your workspace.

## Complete Code

None listed.

## How to build HarnessRouter MCP Agent with another framework

- [Claude Cowork](https://composio.dev/toolkits/harnessrouter/framework/claude-cowork)

## Related Toolkits

- [Composio](https://composio.dev/toolkits/composio) - Composio is an integration platform that connects AI agents with hundreds of business tools. It streamlines authentication and lets you trigger actions across services—no custom code needed.
- [Composio search](https://composio.dev/toolkits/composio_search) - Composio search is a unified web search toolkit spanning travel, e-commerce, news, financial markets, images, and more. It lets you and your apps tap into up-to-date web data from a single, easy-to-integrate service.
- [Perplexityai](https://composio.dev/toolkits/perplexityai) - Perplexityai delivers natural, conversational AI models for generating human-like text. Instantly get context-aware, high-quality responses for chat, search, or complex workflows.
- [Browser tool](https://composio.dev/toolkits/browser_tool) - Browser tool is a virtual browser integration that lets AI agents interact with the web programmatically. It enables automated browsing, scraping, and action-taking from any AI workflow.
- [Ai ml api](https://composio.dev/toolkits/ai_ml_api) - Ai ml api is a suite of AI/ML models for natural language and image tasks. It provides fast, scalable access to advanced AI capabilities for your apps and workflows.
- [AI/ML API MCP](https://composio.dev/toolkits/ai_ml_api_mcp) - AI/ML API MCP is a unified gateway to hundreds of AI models and generation APIs. It gives teams one place to compare models, run multimodal jobs, and track usage.
- [Aivoov](https://composio.dev/toolkits/aivoov) - Aivoov is an AI-powered text-to-speech platform offering 1,000+ voices in over 150 languages. Instantly turn written content into natural, human-like audio for any application.
- [All images ai](https://composio.dev/toolkits/all_images_ai) - All-Images.ai is an AI-powered image generation and management platform. It helps you create, search, and organize images effortlessly with advanced AI capabilities.
- [AllModels](https://composio.dev/toolkits/allmodels) - AllModels is a unified API for text-to-speech, speech-to-text, realtime voice, and voice cloning across AI providers. It gives developers one consistent way to build and manage voice features.
- [AltTextLab](https://composio.dev/toolkits/alt_text_lab) - AltTextLab is an AI service that generates accessible, SEO-aware alt text for images. It helps teams make image content easier to understand, index, and publish.
- [Anthropic administrator](https://composio.dev/toolkits/anthropic_administrator) - Anthropic administrator is an API for managing Anthropic organizational resources like members, workspaces, and API keys. It helps you automate admin tasks and streamline resource management across your Anthropic organization.
- [Api labz](https://composio.dev/toolkits/api_labz) - Api labz is a platform offering a suite of AI-driven APIs and workflow tools. It helps developers automate tasks and build smarter, more efficient applications.
- [Apiframe](https://composio.dev/toolkits/apiframe) - Apiframe is an API platform for generating and managing AI images, videos, music, uploads, assets, jobs, and custom LoRAs. It gives developers one clean API for creative AI workflows without juggling multiple model providers.
- [Apipie ai](https://composio.dev/toolkits/apipie_ai) - Apipie ai is an AI model aggregator offering a single API for accessing top AI models from multiple providers. It helps developers build cost-efficient, latency-optimized AI solutions without juggling multiple integrations.
- [Arize AX](https://composio.dev/toolkits/arize_ax) - Arize AX is an AI engineering platform for tracing, evaluating, and improving AI applications. Use it to debug LLM behavior, compare experiments, and improve production AI quality.
- [Artificial Analysis](https://composio.dev/toolkits/artificial_analysis) - Artificial Analysis is an independent benchmarking platform for AI models and API providers. Use it to compare model intelligence, coding, math, pricing, latency, throughput, and arena rankings.
- [AssemblyAI](https://composio.dev/toolkits/assemblyai) - AssemblyAI is a speech-to-text and audio intelligence API for uploaded or hosted media. Use it to turn audio and video into accurate transcripts, summaries, and insights.
- [AssemblyAI MCP](https://composio.dev/toolkits/assemblyai_mcp) - AssemblyAI MCP is a hosted speech-to-text and audio intelligence service for transcribing and analyzing media. It helps teams turn audio and video into searchable, translated, actionable transcripts.
- [Astica ai](https://composio.dev/toolkits/astica_ai) - Astica ai provides APIs for computer vision, NLP, and voice synthesis. Integrate advanced AI features into your app with a single API key.
- [Avoma](https://composio.dev/toolkits/avoma) - Avoma is an AI meeting assistant for recording, transcribing, analyzing, and managing meetings, calls, notes, scorecards, and conversation intelligence. It helps teams turn conversations into searchable notes, follow-ups, coaching insights, and revenue intelligence.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and HarnessRouter MCP?

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

### Can I use Tool Router MCP with ChatGPT?

Yes, you can. ChatGPT 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 HarnessRouter tools.

### Can I manage the permissions and scopes for HarnessRouter while using Tool Router?

Yes, absolutely. You can configure which HarnessRouter 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.

### How safe is my data with Composio Tool Router?

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 HarnessRouter data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
