{
  "markdown": "# Genudo MCP Client\n\n[![npm version](https://img.shields.io/npm/v/genudo-mcp-client)](https://www.npmjs.com/package/genudo-mcp-client)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Node.js Version](https://img.shields.io/badge/node-%3E%3D18.0.0-brightgreen)](https://nodejs.org)\n\nGenudo is the platform to build AI agents for any communication or sequence-based channel — pipeline-aware agents with integration capabilities and company-knowledge access, all managed from one platform, one inbox, and one analytics dashboard. This lightweight bridge connects [Claude](https://claude.com) and other MCP clients to your Genudo workspace so you can build, run, and improve those agents directly from chat.\n\n> 📖 **Which install is right for you?** See **[CONNECT.md](CONNECT.md)** — every way to connect\n> Genudo to Claude (plugin, connector, desktop extension, other MCP clients, remote OAuth),\n> weighted by value with copy-paste install commands.\n\n## Overview\n\nGenudo MCP Client bridges the communication gap between Claude Code's stdio-based MCP implementation and Genudo's Streamable HTTP MCP server. This allows you to leverage Genudo's powerful business automation tools directly within your Claude Code conversations.\n\n## Features\n\nAccess Genudo's business automation tools directly from Claude Code. The server exposes 29 tools across five areas:\n\n- **📊 Analytics** — account summary, messaging volume stats, AI performance & cost (`get_account_summary`, `get_messaging_stats`, `get_ai_performance`)\n- **🔎 Discover** — list pipelines, stages, actions, variables, contacts, opportunities, messages, and knowledge tables; search knowledge; read follow-up configs; valid build options (`list_pipelines`, `list_pipeline_stages`, `list_actions`, `list_variables`, `list_contacts`, `list_opportunities`, `list_messages`, `list_knowledge_tables`, `search_knowledge_table`, `get_stage_followup`, `get_pipeline_options`)\n- **🚀 Build** — a guided step-by-step builder plus direct creation of pipelines, stages, variables, webhook actions, follow-up sequences, and knowledge tables (`start_pipeline_journey`, `create_pipeline`, `create_stage`, `create_variable`, `create_action`, `create_followup`, `create_knowledge_table`, `upsert_knowledge_points`)\n- **🔧 Update** — tune live pipelines, stages, actions, variables, opportunities (bulk), and follow-ups (`update_pipeline`, `update_stage`, `update_action`, `update_variable`, `update_opportunities`, `update_followup`)\n- **🗑️ Delete** — remove knowledge rows by stable id (`delete_knowledge_points`)\n\n### Three workflows to start with\n\n1. **Audit my AI business operations** — Claude pulls your account, messaging, and AI-cost stats and surfaces the top fixes.\n2. **Analyze my agent performance** — spot expensive agents, low-completion stages, and actions that aren't triggering.\n3. **Create or improve a pipeline** — e.g. \"Create a Messenger sales agent for a summer camp; collect name, phone, branch, child age; escalate on special-needs questions.\"\n\n### Guided instruction editing (built in)\n\nThe connector doesn't just expose tools — it teaches the agent *how* to write good agent\ninstructions, entirely client-side (no extra setup):\n\n- **Guide tools** — `get_instruction_guides` (authoring rules + persona/global + stage\n  templates + a token-aware QA checklist) and `get_editing_playbook` (a safe\n  load → edit → diff → confirm → push workflow). The agent pulls these on demand.\n- **Prompts (slash-commands in any MCP client)** — `edit_instructions`, `build_pipeline`,\n  `audit_pipeline`.\n- **Safety** — before changing a live agent, the agent reads current text from\n  `list_pipelines` / `list_pipeline_stages`, shows you a before/after diff with expected\n  impact, and pushes with `update_pipeline` / `update_stage` only after you confirm.\n\n## Quick Start\n\nOne command — no clone, no manual config:\n\n```bash\nclaude mcp add --env GENUDO_TOKEN=YOUR_TOKEN --transport stdio genudo -- npx -y genudo-mcp-client\n```\n\nReplace `YOUR_TOKEN` with your Genudo token (**API Keys & Tokens** → **Create token** with the `mcp:use` scope — see [Get Your Token](#step-1-get-your-token)). Restart Claude Code and start using Genudo tools!\n\n## Prerequisites\n\n- Node.js 18.0.0 or higher\n- A Genudo account with API access\n- Your Genudo token\n\n## Installation\n\n### Recommended: one command\n\n```bash\nclaude mcp add --env GENUDO_TOKEN=YOUR_TOKEN --transport stdio genudo -- npx -y genudo-mcp-client\n```\n\n`npx` fetches and runs the published package — no clone, no local path. Get your token from **API Keys & Tokens** (see below), then restart Claude Code.\n\n### Alternative: from source\n\nFor local development or contributions:\n\n```bash\ngit clone https://github.com/genudo-ai/genudo_mcp.git\ncd genudo_mcp\nnpm install\n```\n\nThen configure Claude Code manually (see Configuration section below).\n\n## Configuration\n\n### Step 1: Get Your Token\n\n1. Log in to your [Genudo account](https://app.genudo.ai)\n2. In the sidebar, under **Developer**, open **API Keys & Tokens**\n3. Click **Create token**\n4. Name it (e.g. `claude-mcp`)\n5. Under **Scopes**, scroll the list and check **`mcp:use`** (Access MCP server — Streamable HTTP + JSON-RPC tool calls)\n6. Pick an **Expiry** (30 days, 90 days, 1 year, or No Expiry)\n7. Click **Create token** and copy the token — **it's shown only once**; Genudo keeps only a hashed copy\n\n### Step 2: Connect your MCP client\n\n**Recommended — Claude Code, one command:**\n\n```bash\nclaude mcp add --env GENUDO_TOKEN=YOUR_TOKEN --transport stdio genudo -- npx -y genudo-mcp-client\n```\n\n**Other clients (Codex, Cursor, Windsurf, Claude Desktop):** same package, add this block to the client's MCP config:\n\n```json\n{\n  \"mcpServers\": {\n    \"genudo\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"genudo-mcp-client\"],\n      \"env\": {\n        \"GENUDO_TOKEN\": \"your_token_here\"\n      }\n    }\n  }\n}\n```\n\n<details>\n<summary>Running from source instead (contributors)</summary>\n\nIf you cloned the repo rather than using the published package, point at your local `index.js`:\n\n```json\n{\n  \"mcpServers\": {\n    \"genudo\": {\n      \"command\": \"node\",\n      \"args\": [\"/absolute/path/to/genudo_mcp/index.js\"],\n      \"env\": { \"GENUDO_TOKEN\": \"your_token_here\" }\n    }\n  }\n}\n```\n\nReplace the path with where you cloned the repo.\n</details>\n\n### Step 3: Restart Claude Code\n\nExit your current Claude Code session and start a new one:\n\n```bash\n# Exit current session\nexit\n\n# Start new session\nclaude\n```\n\n## Usage\n\nOnce configured, Claude Code will automatically have access to your Genudo tools. You can use them in your conversations:\n\n**Example:**\n```\nUser: \"Show me my account summary\"\nClaude: [Uses get_account_summary tool to fetch your data]\n\nUser: \"Create a new sales pipeline using GPT-4\"\nClaude: [Uses get_pipeline_options and create_pipeline tools]\n```\n\n## Testing the Connection\n\nYou can test the bridge manually:\n\n```bash\n# Set your token\nexport GENUDO_TOKEN=\"your_token_here\"\n\n# Run the bridge\nnode index.js\n\n# Send a test message (paste this and press Enter):\n{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{}}\n\n# You should receive a response with server info\n```\n\n## Troubleshooting\n\n### \"GENUDO_TOKEN environment variable is required\"\n- Make sure you've set the token in your Claude Code config\n- Verify the token is valid in your Genudo account\n\n### \"MCP handshake failed\" / no response\n- Check that `GENUDO_BASE_URL` is correct (defaults to `https://api.genudo.ai`) — the\n  bridge POSTs to `<base>/mcp`\n- Verify your server is running and accessible\n- Check firewall/network settings\n\n### \"HTTP 401: Unauthorized\"\n- Your token is invalid or expired\n- Generate a new token in your Genudo account settings\n\n### Connection Issues with Self-Signed Certificates\n- The bridge is configured to accept self-signed certificates for local development\n- For production, use proper SSL certificates\n\n## Environment Variables\n\n| Variable | Required | Default | Description |\n|----------|----------|---------|-------------|\n| `GENUDO_TOKEN` | **Yes** | - | Your Genudo token from account settings |\n| `GENUDO_BASE_URL` | No | `https://api.genudo.ai` | Base URL for self-hosted Genudo instances |\n| `GENUDO_ALLOW_INSECURE_SSL` | No | `false` | Allow self-signed SSL certificates (local development only) |\n| `GENUDO_REQUEST_TIMEOUT` | No | `8000` | Per-attempt request timeout in ms before retrying |\n| `GENUDO_REQUEST_RETRIES` | No | `4` | Number of attempts for a request before giving up |\n| `GENUDO_WORKDIR` | No | current directory | Root the agent writes local pipeline mirrors, version snapshots and cached guides into |\n\n## Development\n\n### Project Structure\n```\ngenudo-mcp-client/\n├── index.js           # Main bridge script\n├── package.json       # Node.js project config\n├── .env.example       # Environment variables template\n└── README.md          # This file\n```\n\n### How It Works\n\n1. Bridge performs the MCP handshake against `<base>/mcp` (Streamable HTTP)\n2. Reads JSON-RPC requests from stdin (from Claude Code)\n3. Forwards each one as an HTTP POST to that same endpoint\n4. Returns responses via stdout back to Claude Code\n\nSince v2.5.0 there is no SSE step: Streamable HTTP is a single endpoint that takes\nevery message as a POST. If you don't need the bridge's local guide tools, prompts or\nresponse slimming, you can skip it entirely and point your client at the server:\n`claude mcp add --transport http genudo https://api.genudo.ai/mcp`\n\n```\nClaude Code → (stdin) → Bridge → (HTTPS) → Genudo MCP Server\n                ↑                              ↓\n                └─────── (stdout) ←────────────┘\n```\n\n## Security Notes\n\n- **Never commit your token** to version control\n- Store tokens securely (environment variables, secrets manager)\n- Rotate tokens regularly\n- Use HTTPS in production\n- Limit token scopes to minimum required access\n\n## Privacy Policy\n\nThis client is a local bridge. It does not collect, store, or transmit your data\nanywhere except your configured Genudo endpoint.\n\n- **Data handled:** your `GENUDO_TOKEN` and the JSON-RPC requests your MCP\n  client makes are sent, over HTTPS, only to your Genudo server\n  (`https://api.genudo.ai` by default) in the `Authorization: Bearer` header.\n- **Local storage:** none. The bridge keeps no logs, no cache, and no telemetry;\n  it holds nothing on disk. Your token stays in your MCP client's own config.\n- **Third parties:** no data is sent to any party other than Genudo.\n- **Retention & account data:** data you access or create through Genudo is\n  governed by Genudo's policies.\n\nFull policies: [Privacy Policy](https://genudo.ai/legal/privacy-policy) ·\n[Terms of Service](https://genudo.ai/legal/terms-of-service). Questions:\nhelp@genudo.ai.\n\n## License\n\nMIT\n\n## Support\n\nNeed help? We're here for you:\n\n- 📖 [Documentation](https://docs.genudo.ai)\n- 💬 [Community Forum](https://community.genudo.ai)\n- 🐛 [Report an Issue](https://github.com/genudo-ai/genudo_mcp/issues)\n- 📧 [Email Support](mailto:help@genudo.ai)\n\n## Contributing\n\nWe welcome contributions! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to get started.\n\nQuick overview:\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## Changelog\n\nSee the [GitHub Releases](https://github.com/genudo-ai/genudo_mcp/releases) page for changes and version history.\n\n## Related Projects\n\n- [Genudo](https://genudo.ai) - The main Genudo automation platform\n- [Model Context Protocol](https://modelcontextprotocol.io) - Learn more about MCP\n- [Claude Code](https://code.claude.com) - The Claude AI coding assistant\n",
  "bytes": 11780,
  "sha": "88c34547cdaa30e28d8d5dd43d24bb7f0b3eeff404b54ff79bcef59504b07664",
  "repo_slug": "genudo-ai/genudo_mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_genudo_ai_genudo_mcp_df5a016b/readme"
}