tc-connector
v1.1.0
Published
Teach Charlie AI MCP Connector — bridges your Teach Charlie workflows to local AI agents via MCP
Maintainers
Readme
TC Connector
Teach Charlie AI MCP Connector — bridges your Teach Charlie workflows to local AI agents like OpenClaw via the Model Context Protocol.
How It Works
OpenClaw Agent (local)
| stdio (MCP protocol)
TC Connector (this package)
| HTTPS
Teach Charlie API (remote)
| internal
Langflow (executes workflow)- You enable workflows as "skills" in Teach Charlie
- TC Connector fetches those skills and exposes them as MCP tools
- Your local AI agent (OpenClaw, Claude Code, etc.) can call those tools
- The connector routes calls to Teach Charlie, which runs the workflow in Langflow
Quick Start
Option A: Interactive Setup
npx tc-connector --setupThis walks you through entering your token, verifies it, and saves config to ~/.tc-connector/config.json.
Option B: Manual Setup
1. Generate an MCP Token
Go to Settings > OpenClaw Connection in your Teach Charlie dashboard and click Generate MCP Token.
2. Add to OpenClaw
Add this to your .mcp.json (or OpenClaw MCP config):
{
"mcpServers": {
"teach-charlie": {
"command": "npx",
"args": ["tc-connector", "--token", "tc_YOUR_TOKEN_HERE"]
}
}
}Or if installed globally:
{
"mcpServers": {
"teach-charlie": {
"command": "tc-connector",
"args": ["--token", "tc_YOUR_TOKEN_HERE"]
}
}
}3. Restart OpenClaw
Restart OpenClaw and your Teach Charlie workflow skills will appear as available tools.
Commands
Check Status
Verify your token and see available tools:
npx tc-connector --statusOutput:
TC Connector — Status
─────────────────────
Version: 1.1.0
API URL: https://app.teachcharlie.ai
Token: tc_Hmn...A9lm
Connection: OK
Tools: 2 availableRun as MCP Server
npx tc-connector --token tc_YOUR_TOKENOr if you ran --setup, just:
npx tc-connectorConfiguration
CLI Flags
tc-connector [options]
Options:
--token <token> MCP bridge token (required unless configured)
--api-url <url> Teach Charlie API URL (default: https://app.teachcharlie.ai)
--config <path> Config file path (default: ~/.tc-connector/config.json)
--setup Interactive setup wizard
--status Check connection and token validity
--version, -v Show version
--help, -h Show helpEnvironment Variables
TC_TOKEN=tc_abc123... # MCP bridge token
TC_API_URL=https://... # API URL (optional)Config File
Create ~/.tc-connector/config.json (or use --setup):
{
"token": "tc_abc123...",
"apiUrl": "https://app.teachcharlie.ai"
}Development
cd tc-connector
npm install
npm run build
TC_TOKEN=your_token node bin/tc-connector.jsTesting with MCP Inspector
npx @modelcontextprotocol/inspector tc-connector --token your_tokenRequirements
- Node.js 18+
- A Teach Charlie account with at least one workflow skill enabled
