← Back to Plugins
Integration

Mcp Client

casterkay By casterkay 👁 3 views ▲ 0 votes

An OpenClaw plugin that enables connection with any MCP server.

GitHub

Install

openclaw plugins install --pin

README

# `openclaw-mcp-client`

OpenClaw plugin that routes tool calls to a Streamable HTTP MCP server (configured via URL).

Requires OpenClaw's new Plugin SDK runtime (this package externalizes `openclaw/*` imports and expects the host to provide them) and Node.js `>=22`.

Tools are discovered from the MCP server via `listTools()` and registered dynamically in OpenClaw.

## Configuration

Set via `plugins.entries.openclaw-mcp-client.config`:

- `mcpUrl` (string): MCP server endpoint. Default: `http://127.0.0.1:12306/mcp`
- `transport` (`auto` | `streamable-http` | `sse`): Transport preference. Default: `auto`
- `clientName` (string): Optional MCP client name shown to the server

## Install (users)

```bash
openclaw plugins install --pin openclaw-mcp-client
openclaw plugins enable openclaw-mcp-client
openclaw config set 'plugins.entries["openclaw-mcp-client"].config.mcpUrl' "http://127.0.0.1:12306/mcp"
```

## Publish (maintainers)

From this directory:

```bash
npm publish --access public
```
integration

Comments

Sign in to leave a comment

Loading comments...