Prerequisites: DataGen MCP Must Be Connected
Before adding any external MCP servers, make sure the DataGen MCP server itself is connected to your Claude Code. If you ran/datagen:setup earlier, this is already configured. To verify:
datagen in the output. If it’s not there, add it manually:
This requires
DATAGEN_API_KEY to be set in your environment. If you haven’t authenticated yet, run datagen login or /datagen:setup first.Add via Claude Code
Run the guided skill in Claude Code:Choose a service
Select from common services (Gmail, Slack, Linear, GitHub, HubSpot, etc.) or provide a custom MCP server URL.
Search built-in servers
The plugin checks DataGen’s built-in server templates first. If a match is found, it installs automatically with OAuth.
Complete OAuth (if needed)
For OAuth-based servers, a browser window opens for authentication. The plugin monitors the flow and confirms when complete.
addRemoteMcpServer, handle the OAuth flow, and confirm the connection.
Add via the Web UI
Browse the MCP Registry
Navigate to MCP Servers in the DataGen sidebar and click the MCP Registry tab.
Add a Custom MCP Server
For servers not in the registry, click Add Connector.
- Server Name — Display name (e.g., “Linear”)
- Type — Transport method: Streamable HTTP, SSE, or STDIO
- URL — The MCP server endpoint
- Environment Variables — Optional variables the server needs
View Connected Servers
The Connected tab shows all your active MCP servers.
How MCP Works with Agents
When you connect an MCP server through DataGen, the tools become available in two places:- Locally — Use tools directly in Claude Code conversations
- Deployed agents — Your agents and custom tools can call the same MCP tools in production
Commonly Used MCPs
Official Remote MCP Servers
- Notion —
https://mcp.notion.com/mcp— Workspace, content management, databases - Linear —
https://mcp.linear.app/sse— Issue tracking, project management - Neon —
https://mcp.neon.tech— Cloud Postgres database management
MCP Providers
Composio.dev -- 300+ App Integrations
Composio.dev -- 300+ App Integrations
URL: composio.devUse HTTP transport. Popular servers:
- Gmail —
https://mcp.composio.dev/gmail - Outlook —
https://mcp.composio.dev/outlook - Dropbox —
https://mcp.composio.dev/dropbox
Klavis.ai -- SOC 2 Compliant Servers
Klavis.ai -- SOC 2 Compliant Servers
URL: klavis.aiProduction-ready with hosted authentication:
- Gmail —
https://www.klavis.ai/mcp-server-connections/gmail - GitHub —
https://www.klavis.ai/mcp-server-connections/github - Slack —
https://www.klavis.ai/mcp-server-connections/slack - Jira —
https://www.klavis.ai/mcp-server-connections/jira - Google Drive —
https://www.klavis.ai/mcp-server-connections/google-drive
Smithery.ai -- Open Marketplace
Smithery.ai -- Open Marketplace
URL: smithery.ai6,800+ MCP servers. Both local and hosted options.
Community & Custom MCPs
- Open Source — github.com/modelcontextprotocol/servers
- Custom — Use the MCP SDK to build integrations for proprietary systems
Managing Connections
Reconnect Expired Tokens
Some OAuth tokens expire. To reconnect:- Check status with
checkRemoteMcpOauthStatus - Re-authenticate with
ReAuthRemoteMcpServer
Update a Server
UseupdateRemoteMcpServer to change the URL or credentials for a connected server.
Troubleshooting
OAuth flow fails or times out
OAuth flow fails or times out
- Clear browser cookies for the OAuth provider
- Try an incognito/private window
- Check if your organization blocks OAuth for the service
- Re-run the OAuth flow
Tools not appearing after OAuth
Tools not appearing after OAuth
- Wait 1-2 minutes for synchronization
- Use
searchToolsto discover newly available tools - Verify
checkRemoteMcpOauthStatusshows “completed” - Restart Claude Desktop if needed
Permission denied errors
Permission denied errors
- Verify you granted all required permissions during OAuth
- Some services need admin approval for certain scopes
- Re-run the OAuth flow with broader permissions