guru-mcp
Access Guru knowledge base via MCP - ask AI questions, search documents, create drafts, and update cards. Connects to all your Guru sources including Slack, Drive, Confluence, and SharePoint.
What this skill does
# Guru MCP Access your Guru knowledge base via the official MCP server. Ask AI-powered questions, search documents, create drafts, and update cards. ## Features - **AI-Powered Answers** — Get comprehensive answers from Knowledge Agents - **Document Search** — Find cards and content across your knowledge base - **Create Drafts** — Generate new card drafts from AI tools - **Update Cards** — Modify existing cards directly - **Connected Sources** — Access Salesforce, Slack, Google Drive, Confluence, SharePoint through Guru - **Permission-Aware** — Respects all existing Guru permissions - **Analytics** — All queries logged in AI Agent Center ## Setup ### 1. Get API Token 1. Go to **Guru Admin → API Tokens** 2. Create a new token 3. Note your email and token ### 2. Configure Environment Add to `~/.clawdbot/.env`: ```bash [email protected]:your-api-token ``` ### 3. Configure mcporter Add to `config/mcporter.json`: ```json { "mcpServers": { "guru": { "baseUrl": "https://mcp.api.getguru.com/mcp", "headers": { "Authorization": "Bearer ${GURU_API_TOKEN}" } } } } ``` ### 4. Verify ```bash mcporter list guru ``` ## Available Tools ### `guru_list_knowledge_agents` List all Knowledge Agents in your workspace. **Always call this first** to get agent IDs for other tools. ```bash mcporter call 'guru.guru_list_knowledge_agents()' ``` Returns: ```json [ {"id": "08de66e8-...", "name": "Guru"}, {"id": "abc123...", "name": "Engineering Docs"} ] ``` ### `guru_answer_generation` Get AI-powered answers from a Knowledge Agent. Best for specific questions like "What is X?" or "How do I Y?". ```bash mcporter call 'guru.guru_answer_generation( agentId: "YOUR_AGENT_ID", question: "How do I submit expenses?" )' ``` Optional filters: - `collectionIds` — Limit to specific collections - `sourceIds` — Limit to specific sources Returns comprehensive answer with sources. ### `guru_search_documents` Find documents, cards, and sources. Best for browsing content like "find docs on X" or "do we have cards about Y?". ```bash mcporter call 'guru.guru_search_documents( agentId: "YOUR_AGENT_ID", query: "onboarding process" )' ``` Returns list of matching documents with snippets. ### `guru_get_card_by_id` Get full card content in HTML format. ```bash mcporter call 'guru.guru_get_card_by_id(id: "CARD_ID")' ``` Returns card ID, title, and HTML content. ### `guru_create_draft` Create a new card draft. ```bash mcporter call 'guru.guru_create_draft( title: "New Process Guide", content: "<h2>Overview</h2><p>This guide covers...</p>" )' ``` Returns draft ID and URL. ### `guru_update_card` Update an existing card. First retrieve current content with `guru_get_card_by_id`, then modify. ```bash mcporter call 'guru.guru_update_card( cardId: "CARD_ID", title: "Updated Title", content: "<p>Updated HTML content...</p>" )' ``` **Important:** Preserve HTML structure when updating. Insert/replace content within existing DOM hierarchy. ## Usage Patterns ### Ask a Question ```bash # 1. Get agent ID mcporter call 'guru.guru_list_knowledge_agents()' # 2. Ask question mcporter call 'guru.guru_answer_generation( agentId: "08de66e8-...", question: "What is the PTO policy?" )' ``` ### Find and Read a Card ```bash # 1. Search for cards mcporter call 'guru.guru_search_documents( agentId: "08de66e8-...", query: "expense report" )' # 2. Get full content mcporter call 'guru.guru_get_card_by_id(id: "CARD_ID_FROM_SEARCH")' ``` ### Create New Documentation ```bash mcporter call 'guru.guru_create_draft( title: "API Authentication Guide", content: "<h2>Overview</h2><p>This guide explains how to authenticate with our API.</p><h2>Steps</h2><ol><li>Generate API key</li><li>Add to headers</li></ol>" )' ``` ## Choosing the Right Tool | Use Case | Tool | |----------|------| | "What is X?" / "How do I Y?" | `guru_answer_generation` | | "Find docs about X" | `guru_search_documents` | | "Show me card XYZ" | `guru_get_card_by_id` | | "Create a new guide for X" | `guru_create_draft` | | "Update this card with..." | `guru_update_card` | ## Token Format The `GURU_API_TOKEN` must be in format `email:token`: ``` [email protected]:a1b2c3d4-e5f6-7890-abcd-ef1234567890 ``` ## Notes - Questions appear in Guru's **AI Agent Center** analytics - All permissions enforced (users only see what they have access to) - Knowledge Agents can be domain-specific — choose the right one for your question - Card content is HTML — preserve structure when updating ## Resources - [Guru MCP Documentation](https://help.getguru.com/docs/connecting-gurus-mcp-server) - [Guru API Reference](https://developer.getguru.com) - [AI Agent Center](https://app.getguru.com/ai-agent-center) - [MCP Feedback](https://help.getguru.com/docs/connecting-gurus-mcp-server#feedback)
Related in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.