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.

533 stars

Best use case

guru-mcp is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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.

Teams using guru-mcp should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/guru-mcp/SKILL.md --create-dirs "https://raw.githubusercontent.com/sundial-org/awesome-openclaw-skills/main/skills/guru-mcp/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/guru-mcp/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How guru-mcp Compares

Feature / Agentguru-mcpStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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
GURU_API_TOKEN=your.email@company.com: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`:
```
your.email@company.com: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 Skills

pinak-frontend-guru

533
from sundial-org/awesome-openclaw-skills

Expert UI/UX and React performance auditor (PinakBot persona). Use when a user needs a "deep audit" of their frontend code, wants to "make it pro", or needs advice on both React performance and Web design best practices. Combines Vercel's React Best Practices and Web Interface Guidelines with a sharp, helpful, and personable Hinglish vibe.

portfolio-watcher

533
from sundial-org/awesome-openclaw-skills

Monitor stock/crypto holdings, get price alerts, track portfolio performance

portainer

533
from sundial-org/awesome-openclaw-skills

Control Docker containers and stacks via Portainer API. List containers, start/stop/restart, view logs, and redeploy stacks from git.

portable-tools

533
from sundial-org/awesome-openclaw-skills

Build cross-device tools without hardcoding paths or account names

polymarket

533
from sundial-org/awesome-openclaw-skills

Trade prediction markets on Polymarket. Analyze odds, place bets, track positions, automate alerts, and maximize returns from event outcomes. Covers sports, politics, entertainment, and more.

polymarket-traiding-bot

533
from sundial-org/awesome-openclaw-skills

No description provided.

polymarket-analysis

533
from sundial-org/awesome-openclaw-skills

Analyze Polymarket prediction markets for trading edges. Pair Cost arbitrage, whale tracking, sentiment analysis, momentum signals, user profile tracking. No execution.

polymarket-agent

533
from sundial-org/awesome-openclaw-skills

Autonomous prediction market agent - analyzes markets, researches news, and identifies trading opportunities

polymarket-5

533
from sundial-org/awesome-openclaw-skills

Query Polymarket prediction markets. Use for questions about prediction markets, betting odds, market prices, event probabilities, or when user asks about Polymarket data.

polymarket-4

533
from sundial-org/awesome-openclaw-skills

Query Polymarket prediction markets. Use for questions about prediction markets, betting odds, market prices, event probabilities, or when user asks about Polymarket data.

polymarket-3

533
from sundial-org/awesome-openclaw-skills

Query Polymarket prediction market odds and events via CLI. Search for markets, get current prices, list events by category. Supports sports betting (NFL, NBA, soccer/EPL, Champions League), politics, crypto, elections, geopolitics. Real money markets = more accurate than polls. No API key required. Use when asked about odds, probabilities, predictions, or "what are the chances of X".

polymarket-2

533
from sundial-org/awesome-openclaw-skills

Query Polymarket prediction markets - check odds, trending markets, search events, track prices.