Tutorial: Konekin AI Assistant ke Google Workspace, Notion, GitHub, dan 100+ Tools Lainnya

Tutorial: Konekin AI Assistant ke Google Workspace, Notion, GitHub, dan 100+ Tools Lainnya
20 menit baca - Intermediate level
Di tutorial ini gue bakal tunjukin cara konekin AI assistant lo ke lebih dari 100 toolsexternal kayak Google Calendar, Gmail, Notion, GitHub, dan Slack.
Lo bakal bisa bilang ke AI assistant lo kayak gini: "Cekin meeting gue hari ini" atau "Kirim email ke client" atau "Bikin task baru di Notion", dan AI bakal langsung execute tanpa lo buka app nya satu-satu.
Ini salah satu fitur paling powerful dari OpenClaw.
Apa Itu MCP Server
MCP itu singkatan dari Model Context Protocol. Bayangin kayak universal adapter untuk AI assistant lo. Instead of AI lo talk langsung ke setiap app yang lo pake, AI lo ngobrol ke satu central hub, dan hub itu yang konek ke semua app lo yang lain.
Ini perubahan gede banget dari cara lama. Sebelum MCP, integrating tools baru berarti nulis custom code setiap kali. Dengan MCP, lo tinggal install server dan AI assistant lo langsung bisa pake itu tools.
OpenClaw sendiri bisa acts sebagai MCP server. Waktu lo jalanin openclaw mcp serve, AI assistant lo jadi available ke MCP-compatible clients kayak Claude Code atau Codex.
Tapi tutorial ini fokus ke direction yang lain: konekin external MCP servers KE OpenClaw assistant lo, biar AI lo bisa pake tools dari Google Workspace, Notion, GitHub, dan ratusan platform lain.
Kenapa MCP Ganti Segalanya
Ini yang bikin MCP special.
Standardized connections. Sebelum MCP, every AI tool integration itu custom work. Companies spend months building integrations yang barely work. MCP standardize how AI assistants connect to external tools. One integration works across every MCP-compatible AI.
Tool calling made reliable. MCP give your AI assistant structured tool definitions with clear input schemas. Instead of AI guessing gimana cara call an API, MCP tells it exactly tools apa yang exist, argument apa yang needed, dan apa yang will be returned.
Session isolation. Each MCP server connection is isolated. If one integration breaks, it does not take down your entire assistant. Lo can hot-swap servers tanpa restart everything.
No more API gymnastics. Lo gak perlu nulis code buat konek calendar lo. Lo install Google Calendar MCP server, configure once, dan AI assistant lo langsung bisa read and write ke calendar lo.
Gimana MCP Bekerja di OpenClaw
OpenClaw supports MCP servers dalam dua arah.
Outbound (MCP Client): OpenClaw Gateway lo konek ke external MCP servers dan pake tools mereka. Ini yang covered di tutorial ini.
Inbound (MCP Server): OpenClaw Gateway lo jalan sebagai MCP server yang bisa dikonekin oleh Claude Code atau Codex. This is covered di OpenClaw Gateway Setup guide.
Step 1: Cek Versi Gateway Lo
Sebelum mulai, pastikan OpenClaw installation lo supports MCP servers.
openclaw --version
Lo butuh version 2025.1 atau lebih baru untuk full MCP support. Kalo lo punya versi lama:
npm update -g openclaw
Verify MCP available:
openclaw mcp --help
Kalo lo see list of MCP commands, lo good to go.
Step 2: Install MCP Server Pertama Lo
MCP server paling gampang untuk install pertama kali adalah filesystem server. Ini lets AI assistant lo read and write files di machine lo.
Install via openclaw mcp Command
openclaw mcp add filesystem -- npx @modelcontextprotocol/server-filesystem /path/to/directory
Ini install official MCP filesystem server dan grants it access ke specific directory.
For Google Workspace access, lo bakal install Google Calendar MCP server:
openclaw mcp add google-calendar -- npx @modelcontextprotocol/server-google-calendar
Pahami Struktur Command
The openclaw mcp add command follows this pattern:
openclaw mcp add [name] -- [command to run]
[name]adalah apa yang lo namain MCP server ini di dalam OpenClaw--memisahkan name dari actual server command- Command itu biasanya
npxfollowed by MCP server package name - Some servers take additional arguments kayak directory paths
Verify Server Terinstall
openclaw mcp list
Lo harusnya see new server listed. It should show as disconnected sampai lo restart gateway.
Step 3: Configure MCP Servers di Config File
For more control, tambahin MCP servers langsung ke OpenClaw config file lo.
Buka config file lo di ~/.openclaw/openclaw.json:
{
mcp: {
servers: {
filesystem: {
command: "npx",
args: ["@modelcontextprotocol/server-filesystem", "/path/to/directory"],
env: {}
},
google-calendar: {
command: "npx",
args: ["@modelcontextprotocol/server-google-calendar"],
env: {
GOOGLECALENDAR_CREDENTIALS_PATH: "/path/to/credentials.json"
}
}
}
}
}
Config file approach gives lo more control over environment variables dan arguments.
Step 4: Konekin Google Workspace (Gmail + Calendar)
Ini integration yang paling banyak orang want first. Ini cara konekin Gmail dan Google Calendar.
Google Calendar MCP Server
Pertama, lo butuh Google Cloud credentials.
- Pergi ke Google Cloud Console
- Create new project atau select existing one
- Enable Google Calendar API
- Pergi ke Credentials dan create OAuth 2.0 Client ID
- Download JSON credentials file
- Simpen di tempat yang aman di machine lo
Install dan configure the server:
openclaw mcp add google-calendar -- npx @modelcontextprotocol/server-google-calendar
Set credentials path di environment atau config lo:
{
mcp: {
servers: {
google-calendar: {
command: "npx",
args: ["@modelcontextprotocol/server-google-calendar"],
env: {
GOOGLECALENDAR_CREDENTIALS_PATH: "/home/user/.config/google-calendar-credentials.json"
}
}
}
}
}
Gmail MCP Server
For Gmail access, install Gmail MCP server:
openclaw mcp add gmail -- npx @modelcontextprotocol/server-gmail
Gmail requires similar OAuth setup through Google Cloud Console. Lo perlu enable Gmail API dan download credentials.
{
mcp: {
servers: {
gmail: {
command: "npx",
args: ["@modelcontextprotocol/server-gmail"],
env: {
GMAIL_CREDENTIALS_PATH: "/home/user/.config/gmail-credentials.json"
}
}
}
}
}
Restart dan Test
After adding servers ke config lo, restart gateway:
openclaw gateway restart
Test dengan nanya ke assistant lo: "What meetings do I have today?" atau "Send an email to John saying hello."
Step 5: Konekin Notion
Notion is popular workspace untuk notes, databases, dan project management. Ini cara konekinnya.
Bikin Notion Integration
- Pergi ke notion.so/my-integrations
- Klik New integration
- Kasih nama (ini yang Notion show waktu minta permission)
- Select the workspace
- Under Capabilities, check apa yang lo butuh (Read content, Update content, Insert content)
- Klik Submit dan copy Internal Integration Token
Install Notion MCP Server
openclaw mcp add notion -- npx @modelcontextprotocol/server-notion
Configure dengan token lo:
{
mcp: {
servers: {
notion: {
command: "npx",
args: ["@modelcontextprotocol/server-notion"],
env: {
NOTION_API_KEY: "secret_xxxxxxxxxxxxxx"
}
}
}
}
}
Link Notion Pages Lo
After starting gateway, lo perlu share specific Notion pages dengan integration lo.
Buka Notion, pergi ke page yang mau assistant akses, klik three dots menu, then Add connections, dan select integration name lo.
Step 6: Konekin GitHub
For code-related work, GitHub integration is essential.
Bikin GitHub Personal Access Token
- Pergi ke GitHub Settings > Developer settings > Personal access tokens
- Klik Generate new token (classic)
- Kasih nama dan set expiration
- Select scopes ini:
repo(full repository access)workflow(if lo perlu manage GitHub Actions)read:user(profile info)
Copy generated token.
Install GitHub MCP Server
openclaw mcp add github -- npx @modelcontextprotocol/server-github
Configure:
{
mcp: {
servers: {
github: {
command: "npx",
args: ["@modelcontextprotocol/server-github"],
env: {
GITHUB_PERSONAL_ACCESS_TOKEN: "ghp_xxxxxxxxxxxxxxxxxxxx"
}
}
}
}
}
Sekarang AI assistant lo bisa read repositories, create issues, manage pull requests, dan lebih.
Step 7: Konekin Slack
For team communication, Slack integration lets AI assistant lo post messages dan respond to commands.
Bikin Slack App
- Pergi ke api.slack.com/apps dan klik Create New App
- Pilih From scratch
- Kasih nama dan pilih workspace lo
- Under OAuth & Permissions, scroll ke Bot Token Scopes
- Tambahin scopes ini:
chat:write(post messages)channels:history(read channel history)channels:read(list channels)groups:history(private channel history)im:history(DM history)
- Scroll up dan klik Install to Workspace
- Copy Bot User OAuth Token (starts dengan
xoxb-)
Install Slack MCP Server
openclaw mcp add slack -- npx @modelcontextprotocol/server-slack
Configure:
{
mcp: {
servers: {
slack: {
command: "npx",
args: ["@modelcontextprotocol/server-slack"],
env: {
SLACK_BOT_TOKEN: "xoxb-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
SLACK_TEAM_ID: "TXXXXXXXXX"
}
}
}
}
}
MCP Servers Populer yang Bisa Lo Install
Ini list MCP servers populer dan apa yang mereka do:
Lo bisa install multiple MCP servers simultaneously. AI assistant lo picks which one to use based on apa yang lo tanya.
Step 8: Jalanin OpenClaw sebagai MCP Server
Sekarang Gateway lo bisa pake external MCP servers, lo juga might want expose OpenClaw itself sebagai MCP server. This lets Claude Code atau Codex konek ke running Gateway lo.
Start MCP Server
openclaw mcp serve
Ini starts OpenClaw sebagai stdio MCP server. MCP client (Claude Code atau Codex) owns this process.
Konek dari Claude Code
Di Claude Code session lo, configure the MCP server:
claude --mcp "openclaw,mcp,serve" --mcp-server openclaw
Atau tambahin ke Claude Code config file lo:
{
"mcpServers": {
"openclaw": {
"command": "openclaw",
"args": ["mcp", "serve"]
}
}
}
Apa yang Di-expose
Waktu OpenClaw jalan sebagai MCP server, it exposes:
conversations_list- List recent conversations across all channelsmessages_read- Read transcript history for a conversationevents_poll- Wait for new inbound messagesevents_wait- Block until next event arrivesmessages_send- Send reply through same channel- Approval tools - See dan respond to approval requests
This means Claude Code can read Telegram messages lo, WhatsApp conversations, dan Discord DMs, lalu send responses back through those same channels.
Security: Jaga Token Lo Aman
MCP servers sering butuh API tokens dan credentials. Treat ini kayak passwords.
Jangan pernah commit credentials ke git. Add config file lo ke .gitignore:
~/.openclaw/openclaw.json
Gunakan environment variables untuk tokens. Instead of putting tokens directly in config file:
{
mcp: {
servers: {
github: {
command: "npx",
args: ["@modelcontextprotocol/server-github"],
env: {
GITHUB_PERSONAL_ACCESS_TOKEN: {
fromEnv: "GITHUB_TOKEN"
}
}
}
}
}
}
Lalu set token di shell profile lo:
export GITHUB_TOKEN="ghp_xxxxxxxxxxxxxxxxxxxx"
Limit filesystem access. Only grant filesystem MCP server access ke specific directories, bukan entire home folder lo.
Review MCP server permissions. Each MCP server asks for specific permissions. Read apa yang mereka before installing. A calendar server should not perlu access ke GitHub repos lo.
Troubleshooting Masalah MCP Server
Server Show sebagai Disconnected
- Restart gateway:
openclaw gateway restart - Check server command bener:
openclaw mcp list - Lihat gateway logs:
openclaw logs - Verify npm package exists:
npm info @modelcontextprotocol/server-filesystem
Authentication Errors
- Check credential file paths bener
- Verify tokens have not expired
- For Google Workspace, pastikan lo enable correct APIs di Google Cloud Console
- For Notion, pastikan lo share specific pages dengan integration lo
Tools Not Appearing in Chat
- Pastikan gateway fully restarted after adding server
- Tanya assistant lo explicitly: "What tools do you have access to?"
- Check MCP server documentation untuk environment variables yang required
npx Command Not Found
Kalo lo dapat "npx command not found", install Node.js:
# macOS with Homebrew
brew install node
# Ubuntu/Debian
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs
# Windows - download dari nodejs.org
OpenClaw needs Node.js buat run MCP servers yang distributed sebagai npm packages.
Update MCP Servers Secara Regular
MCP servers itu npm packages dan regularly get updated. Update mereka buat dapetin new features dan security fixes.
# Update all MCP server packages
npx npm-check-updates -g
# Update specific package
npm update -g @modelcontextprotocol/server-github
After updating, restart gateway.
Checklist Setup MCP Server
Butuh VPS buat Jalankan Gateway 24/7?
Kita recommend SumoPod:
Dapat SumoPod VPS - VPS hosting yang reliable dan affordable, perfect buat jaga AI assistant lo online sepanjang waktu dengan semua MCP integrations terkoneksi.
Versi English yang lebih teknis available di GitHub:
Read English Version on GitHub - Full technical guide with code examples, architecture diagrams, and advanced MCP server configurations.
Referensi
- Official OpenClaw MCP Documentation
- OpenClaw CLI MCP Command Reference
- Official MCP Server Repository
- Google Workspace MCP Servers
- Notion MCP Server
- Slack MCP Server Documentation
Related Tutorials
- OpenClaw Gateway Setup Dari Nol - Setup gateway lo dulu sebelum tambah MCP servers
- OpenClaw Channel Integration Guide - Konekin Telegram, WhatsApp, dan Discord bersamaan dengan MCP tools lo
- OpenClaw Security Hardening Checklist - Amankan MCP connections dan API tokens lo
- OpenClaw Session Maintenance Guide - Jaga gateway lo tetep jalan smooth dengan banyak integrations
Tutorial ini diverifikasi terhadap official OpenClaw documentation di docs.openclaw.ai dan official MCP server repository di github.com/modelcontextprotocol/servers.
Tutorial ini bagian dari project OpenClaw Sumopod - membuat automation accessible untuk UMKM Indonesia.
Last Updated: April 2026 Version: 1.0 Author: Radian IT Team
Ada Pertanyaan? Yuk Ngobrol!
Butuh bantuan setup OpenClaw, konsultasi IT, atau mau diskusi project engineering? Book a call langsung — gratis.
Book a Call — Gratisvia Cal.com • WITA (UTC+8)
📬 Subscribe Newsletter
FreeDapat alert setiap ada artikel baru langsung ke inbox kamu. Free, no spam. 🚀
👥 Join 0+ engineers & tech enthusiasts
Zainul Fanani
Founder, Radian Group. Engineering & tech enthusiast.

💬 Komentar