Tell your company story through recorded team chat conversations. Create characters and chat messages to showcase your team dynamics.
- Character Management: Create employee profiles with names, roles, avatars, and character traits
- Chat Creation: Build chat conversations with multiple messages
- Manual & Import Options: Add messages manually or import from JSON
- Live Playback Mode: Messages play back in real-time with typing indicators and configurable delays
- Playback Controls: Start/pause/resume with adjustable speed (0.5x to 2x)
- Beautiful Frontend Display: Animated, responsive chat interface that looks like a real chat recording
- Shortcode Support: Easily embed chats anywhere using
[chatstory id="1"] - Translation Ready: Full i18n support
- Upload the
chatstoryfolder to/wp-content/plugins/ - Activate the plugin through the 'Plugins' menu in WordPress
- The database tables will be created automatically on activation
- Go to ChatStory > Characters in WordPress admin
- Click Add New Character
- Fill in the details:
- Name: Employee name (required)
- Role: Job title (e.g., CEO, Developer)
- Avatar URL: Link to profile picture
- Character Traits: Description of their communication style
- Click Save Character
- Go to ChatStory > Chats
- Click Add New Chat
- Enter:
- Title: Chat conversation title
- Description: Brief description (optional)
- Click Save Chat
- After saving a chat, the messages section appears
- Click Add Message
- Fill in:
- Character: Select who is speaking
- Message: The chat message text
- Timestamp: Time display (e.g., "10:30 AM")
- Order: Message sequence number (auto-increments)
- Delay (seconds): How long to wait before the next message (default: 2)
- Click Save Message
- Repeat to build the conversation
To see how your chat looks:
- Make sure the chat status is set to "Published"
- Click the View button next to the chat in the list
- The chat opens at its permalink (e.g.,
/chat/your-chat-slug/) - It displays with your theme's header, footer, and styling
Embed in posts/pages:
Copy the shortcode shown in the chat editor (e.g., [chatstory id="1"]) and paste it into any post or page.
Show recent chats:
Use [recent_chats] to display a list of recent published chats. Optional parameters:
[recent_chats limit="10"]- Number of chats to show (default: 5)[recent_chats title="Latest Conversations"]- Custom heading
The chat will auto-play when loaded:
- Messages appear one by one with timing
- Typing indicators show when someone is typing
- Reactions appear on messages
- Join/leave events display
- Automatic scrolling to show new messages
Import complete chats with characters and messages:
- Go to ChatStory > Chats
- Click Import from JSON
- Paste your JSON data
- Click Import
See samples/sample-chat.json and samples/sample-characters.json for complete examples. Basic structure:
ChatStory includes built-in support for the Model Context Protocol (MCP), allowing AI assistants like Claude to manage your chats and characters programmatically.
-
Install Dependencies (if not already done):
composer install
-
Configure Your AI Assistant:
For Claude Desktop (or other MCP clients), add to your configuration:
Via HTTP:
{ "mcpServers": { "chatstory": { "command": "npx", "args": ["-y", "@automattic/mcp-wordpress-remote", "http://your-site.com/wp-json/mcp/mcp-adapter-default-server"], "env": { "WP_USERNAME": "your-admin-username", "WP_APPLICATION_PASSWORD": "your-app-password" } } } }Via WP-CLI:
{ "mcpServers": { "chatstory": { "command": "wp", "args": ["mcp-adapter", "serve", "--server=mcp-adapter-default-server", "--user=admin"], "cwd": "/path/to/wordpress" } } } -
Create WordPress Application Password:
- Go to WordPress Admin → Users → Your Profile
- Scroll to "Application Passwords"
- Create a new application password for MCP access
Once configured, AI assistants can use these tools:
Characters:
chatstory/list-characters- List all characterschatstory/get-character- Get a specific characterchatstory/create-character- Create a new characterchatstory/update-character- Update a characterchatstory/delete-character- Delete a character
Chats:
chatstory/list-chats- List all chatschatstory/get-chat- Get a chat with all messageschatstory/create-chat- Create a new chatchatstory/update-chat- Update a chatchatstory/delete-chat- Delete a chat
Messages:
chatstory/list-messages- List messages in a chatchatstory/get-message- Get a specific messagechatstory/create-message- Create a new messagechatstory/update-message- Update a messagechatstory/delete-message- Delete a message
Once configured, you can ask your AI assistant:
- "List all ChatStory characters"
- "Create a new character named John Doe with role CEO"
- "Create a new chat titled 'Team Standup'"
- "Add a message to chat #1 from character #2 saying 'Hello team!'"
- "Show me all messages in chat #3"
For detailed architecture and integration guides, see:
docs/ARCHITECTURE.md- Complete plugin architecture documentationdocs/THEME-INTEGRATION.md- Theme integration guidesamples/- Sample JSON files for importing chats and characters
- WordPress 5.0 or higher
- PHP 7.0 or higher
- MySQL 5.6 or higher
- Composer (for MCP integration)
MIT
For issues or questions, please contact the plugin author.