This guide provides practical examples and usage patterns for the GitHub, Google Workspace, and Figma MCP servers.
| Service | Tool | Purpose | Example |
|---|---|---|---|
| GitHub | get_github_issue |
Get issue details | "Show me issue 2345" |
get_github_pr |
Get PR details | "Get PR 1234" | |
list_github_issues |
Browse issues | "List recent issues" | |
list_github_prs |
Browse PRs | "Show open PRs" | |
search_github_issues |
Search issues/PRs | "Find storybook issues" | |
| Google Workspace | get_google_doc |
Read documents | "Read design doc at [URL]" |
get_google_doc_metadata |
Get doc properties | "Doc metadata for [URL]" | |
search_google_doc |
Search within docs | "Find 'API' in the doc" | |
| Figma | get_figma_file |
Read design files | "Get file structure" |
get_design_tokens |
Extract tokens | "Get colors as CSS" | |
export_figma_assets |
Export assets | "Export icons as SVG" |
The power of MCP tools is natural language interaction. Instead of technical commands, simply describe what you want:
- "Show me issue 2345" → Uses default repository (google/site-kit-wp)
- "Get details on PR #1234 from nodejs/node" → Override default repository
- "List the recent open issues" → Browse current work
- "Search for storybook-related issues" → Find related work
- "What pull requests are currently open for review?" → Check review queue
- "Read the design doc at https://docs.google.com/document/d/..." → Extract document content
- "Search for 'authentication' in that document" → Find specific sections
- "What's the metadata for this Google Doc?" → Get document properties
- "Show me the content in markdown format" → Specify output format
- "Get design tokens from Figma file design-system as CSS variables" → Extract design system tokens using shorthand
- "What components are available in the design library?" → Discover component specifications
- "Export all icons from Figma file UI-kit as SVG files" → Download assets using file reference
- "Show me the latest comments on Figma file checkout-flow" → Get design feedback with shorthand
- "What are the brand colors from https://www.figma.com/file/ABC123/design-system" → Extract colors using full URL
The GitHub server is configured with google/site-kit-wp as the default repository, allowing simplified syntax:
Simplified (uses defaults):
- "Show me issue 2345"
- "List recent PRs"
Explicit repository:
- "Show me issue 123 from nodejs/node"
- "List PRs from facebook/react"
Purpose: Understand requirements, check status, review details
# Simplified (uses default repo)
get_github_issue with:
- issue_number: 2345
# Full syntax (other repos)
get_github_issue with:
- owner: "nodejs"
- repo: "node"
- issue_number: 123Natural Language:
- "Show me issue 2345"
- "Get details on issue 11117"
- "What's the status of issue 2345?"
Purpose: Code review preparation, understanding changes
get_github_pr with:
- pr_number: 1234What you get:
- PR description and changes overview
- Files changed, additions/deletions
- Merge status and review comments
- Branch information
Purpose: Project overview, finding work items
# Recent open issues
list_github_issues with:
- state: "open"
- per_page: 10
# Recent PRs
list_github_prs with:
- state: "open"
- per_page: 5Options:
state: "open", "closed", "all"per_page: 1-100 (default: 30)page: For pagination
Purpose: Research, finding related work
search_github_issues with:
- query: "storybook dependencies"
- type: "both" # "issue", "pr", or "both"Advanced Search Syntax:
"exact phrase"- Exact phrase searchlabel:P1- Issues with P1 labelauthor:username- By specific authorcreated:2025-01-01..2025-07-01- Date rangestate:open dependencies- Open issues about dependencies
1. "Show me issue 2345" → Get main requirements
2. "Search for inline data refactor issues" → Find related work
3. "List recent PRs" → Check current development1. "List open PRs" → See what needs review
2. "Get details on PR 1234" → Understand changes
3. "Search for storybook issues" → Find related contextPurpose: Extract content from design docs, specifications, meeting notes
get_google_doc with:
- document_id: "https://docs.google.com/document/d/YOUR_DOCUMENT_ID/"
- format: "structured" # "plain", "markdown", or "structured"Document ID formats:
- Full URL:
https://docs.google.com/document/d/DOCUMENT_ID/ - Document ID only:
1ABC2def3GHI4jkl5MNO6pqr7STU8vwx9YZA0BCD1EF - Shared links with parameters
Output formats:
"structured"- Clean formatting with headings (default)"markdown"- Markdown with bold/italics"plain"- Plain text without formatting
Purpose: Check sharing settings, modification dates, properties
get_google_doc_metadata with:
- document_id: "1ABC2def3GHI4jkl5MNO6pqr7STU8vwx9YZA0BCD1EF"What you get:
- Document title and ID
- Last modification date
- Page size and margin settings
- Revision information
- Sharing details
Purpose: Find specific sections, references, topics
search_google_doc with:
- document_id: "1ABC2def3GHI4jkl5MNO6pqr7STU8vwx9YZA0BCD1EF"
- search_text: "authentication flow"
- context_lines: 3 # Lines of context around matchesSearch features:
- Case-insensitive search
- Partial word matching
- Context highlighting
- Line number references
1. "Read the design doc at [URL]" → Extract full content
2. "Search for 'API endpoints' in this document" → Find implementation details
3. "Look for 'security' in the doc" → Check security considerations1. "Get the meeting notes from [URL]" → Extract meeting content
2. "Search for 'TODO' in the notes" → Find action items
3. "Find mentions of 'decision' in the document" → Check outcomes1. "Show me the technical specification" → Read full spec
2. "Search for 'requirement' in the spec" → Find requirements
3. "Look for 'example' in the document" → Find usage examplesBy Priority:
label:P1 state:open- High priority open issueslabel:"Good First Issue"- Beginner-friendly issues
By Type:
label:bug- Bug reportslabel:enhancement- Feature requestsis:pr is:open- Open pull requests
By Team/Author:
author:username- Work by specific personassignee:username- Assigned to specific person
Technical Documentation:
- "API", "endpoint", "interface", "schema"
- "authentication", "authorization", "security"
- "requirement", "specification", "constraint"
Project Planning:
- "milestone", "deadline", "timeline"
- "deliverable", "scope", "objective"
- "risk", "assumption", "dependency"
Meeting Notes:
- "action", "TODO", "follow-up"
- "decision", "agreed", "resolved"
- "blocker", "issue", "concern"
Note: When searching Google Docs, always specify the document URL/ID:
- "Search for 'blockers' in the project update at [Google Doc URL]"
- Not just "Search for 'blockers' in the project update"
- Use pagination: For large repos, use
per_pageandpageparameters - Be specific: Narrow searches with labels, dates, or authors
- Start broad: Use general keywords first, then refine
- Start with natural language - "Find storybook issues"
- Refine with filters - Add labels, authors, or date ranges
- Check both issues and PRs - Use
type: "both" - Try multiple search terms - Use synonyms and related terms
- Public docs: Work immediately with any sharing settings
- Private docs: Share with service account email or use OAuth2
- Large docs: Use search to find specific sections efficiently
All Figma operations require a personal access token:
- Token Setup: Get from Figma Settings > Personal Access Tokens
- Environment: Set
FIGMA_ACCESS_TOKEN=figd_your_token - Access Level: Token provides read-only access to files you can view
# Get file structure and basic information (full URL or file reference both work)
"Show me the structure of this Figma file: https://www.figma.com/file/ABC123/design-system"
"Get file info from Figma file design-system"
# Extract comments and feedback
"What are the latest comments on Figma file checkout-flow?"
"Show me feedback on the design file"
# Search for specific elements
"Find all button components in Figma file design-system"
"Search for navigation elements in the file"# Extract colors as CSS custom properties
"Get the brand colors from Figma file design-system as CSS variables"
"Export color tokens from the file as CSS"
# Typography tokens as SCSS
"Export typography tokens from Figma file design-system as SCSS variables"
"Get font tokens as SCSS from the design file"
# Comprehensive token extraction
"Get all design tokens from Figma file design-system as JSON"
"Export complete token system (colors, typography, spacing) as JSON"# Export icons
"Export all icons from Figma file UI-kit as SVG files"
"Download icons from the design file as SVG"
# Export specific assets
"Download the logo and brand assets from Figma file brand-kit as PNG files"
"Export marketing assets from the file as PNG"
# Component assets
"Export all button component assets from Figma file design-system"
"Download component graphics from the file"# List all components
"What components are available in the design library?"
# Find specific component types
"Show me all the card component variations"
# Component specifications
"What are the specifications for the primary button component?"Figma file URLs have this format:
https://www.figma.com/file/FILE_KEY/file-name
You can use:
- Full URL: "Get tokens from https://www.figma.com/file/ABC123/design-system"
- File reference: "Get tokens from Figma file design-system"
- Natural references: "Get tokens from the design system file" (if previously mentioned)
Design tokens can be exported in multiple formats:
- CSS: Custom properties (
--color-primary: #3b82f6) - SCSS: Variables (
$color-primary: #3b82f6) - JSON: Structured data for tooling
- Markdown: Human-readable documentation
- File Organization: Use clear file and page names for easier discovery
- Token Pages: Organize design tokens in dedicated pages/frames
- Component Libraries: Use Figma's component features for better discovery
- Comments: Use comments for design specifications and developer notes
GitHub:
- Without token: 60 requests/hour
- With token: 5,000 requests/hour
- Solution: Add GitHub token to environment
Google Workspace:
- Built-in rate limiting protects against API limits
- Solution: Wait for specified retry time
GitHub "404 Not Found":
- Repository doesn't exist or is private
- Solution: Check spelling, add token for private repos
Google "Permission denied":
- Document not shared with service account
- Solution: Share document or verify OAuth2 access
Figma "403 Forbidden":
- Invalid or expired token
- File not accessible with current permissions
- Solution: Regenerate token, check file sharing permissions
Figma "404 Not Found":
- File key doesn't exist or file deleted
- Incorrect file URL format
- Solution: Verify file URL, check if file still exists
No results found:
- Try broader search terms
- Check spelling and syntax
Figma rate limiting:
- Too many requests in short time
- Solution: Wait 1 minute for rate limit reset
- Use synonyms or related keywords
- Verify content exists in target
See the Setup Guide for detailed troubleshooting steps.
- Explore Examples for real-world workflows
- Check service-specific READMEs in
servers/directories - Set up GitHub tokens and Google authentication for full functionality