Skip to content

Claude Code plugin for Char embedded AI agent with WebMCP browser tools

License

Notifications You must be signed in to change notification settings

WebMCP-org/char-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Char Plugin for Claude Code

One-shot setup for Char embedded AI agent with WebMCP browser tools.

What is Char?

Char is an embeddable AI agent that can interact with your web application through WebMCP tools. Users chat with the agent, and it can fill forms, click buttons, navigate pages, and perform any action you expose as a tool.

Installation

Option 1: Via Plugin Marketplace (Recommended)

# Add the WebMCP marketplace
/plugin marketplace add WebMCP-org/char-plugin

# Install the Char plugin
/plugin install char@webmcp

Option 2: Direct Install

# Add from GitHub
/plugin marketplace add https://github.com/WebMCP-org/char-plugin
/plugin install char

Usage

After installing, run:

/char:setup

This will:

  1. Connect you to Char (creates account/org automatically via OAuth)
  2. Configure allowed domains for your app
  3. Install the npm package
  4. Add the agent to your HTML/React/Vue app
  5. Apply styling to match your theme
  6. Verify everything works

What's Included

MCP Servers (Auto-configured)

Server Purpose
char-saas Organization management, SSO config
char-docs Char documentation search
webmcp-docs WebMCP API documentation
chrome-devtools Browser automation for testing

Skills

  • /char:setup - Complete setup wizard (visual integration, live preview, recipes, troubleshooting)
  • /char:webmcp - WebMCP tool writing patterns and best practices

Agents

  • integration-specialist - Autonomous agent that creates comprehensive WebMCP tool coverage for your codebase

After Setup

Add WebMCP Tools

Let the agent interact with your UI:

import '@mcp-b/global';

navigator.modelContext.registerTool({
  name: 'add_to_cart',
  description: 'Add a product to the shopping cart',
  inputSchema: {
    type: 'object',
    properties: {
      productId: { type: 'string' },
    },
    required: ['productId'],
  },
  execute: async ({ productId }) => {
    document.querySelector(`[data-product="${productId}"] .add-btn`)?.click();
    return { content: [{ type: 'text', text: 'Added to cart' }] };
  },
});

Configure SSO (Production)

mcp__char-saas__manage_idp_config({
  action: "update",
  idp_type: "okta",
  idp_domain: "company.okta.com",
  idp_client_id: "your-client-id"
})

Customize Styling

char-agent {
  --char-color-primary: #your-brand-color;
  --char-color-background: #ffffff;
  --char-color-foreground: #0f172a;
}

Documentation

Support

License

MIT

About

Claude Code plugin for Char embedded AI agent with WebMCP browser tools

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •