Skip to main content
Glama

Simplicate MCP Server

by daanno
N8N_VISUAL_GUIDE.mdโ€ข5.98 kB
# n8n Visual Configuration Guide ๐Ÿ“ธ ## ๐ŸŽฏ The Exact Setup You Need --- ## Screenshot 1: Your Current Setup (AI Agent - Causing Issues) **What you have now:** ``` โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ AI Agent Node โ”‚ โ”‚ โ”œโ”€ Credential: Simplicate โ”‚ โ”‚ โ”œโ”€ Prompt: "Show me..." โ”‚ โ”‚ โ””โ”€ โŒ Schema Error โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ ``` **The Problem:** AI Agent doesn't understand the exact tool format! --- ## Screenshot 2: What You SHOULD Use (Direct MCP) **What you need:** ``` โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ MCP Node โ”‚ โ”‚ โ”œโ”€ Credential: Simplicate โ”‚ โ”‚ โ”œโ”€ Operation: Execute Tool โ”‚ โ”‚ โ”œโ”€ Tool Name: get_absences โ”‚ โ”‚ โ””โ”€ Parameters: โ”‚ โ”‚ { โ”‚ โ”‚ "limit": 50, โ”‚ โ”‚ "offset": 0 โ”‚ โ”‚ } โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ ``` --- ## ๐Ÿ”ง Exact Field Values ### Field 1: Credential ``` Value: Simplicate (or whatever you named your MCP connection) ``` ### Field 2: Operation ``` Value: Execute Tool (NOT "List Tools", NOT "Get Tool Info") ``` ### Field 3: Tool Name ``` Value: get_absences (exact text, no quotes, no extra spaces) ``` ### Field 4: Tool Parameters (JSON) ```json { "limit": 50, "offset": 0 } ``` --- ## ๐Ÿ“‹ Copy-Paste Values for Different Queries ### Query 1: Get Absences ``` Tool Name: get_absences Parameters: {"limit": 50, "offset": 0} ``` ### Query 2: Get All Employees ``` Tool Name: get_employees Parameters: {"limit": 100, "offset": 0} ``` ### Query 3: Get Dwayne's Employee Info ``` Tool Name: get_employee Parameters: {"employee_id": "employee:3b70f4dd49fafb356d44e34a3f0f8c3d"} ``` ### Query 4: Get All Hours ``` Tool Name: get_hours Parameters: {"limit": 100, "offset": 0} ``` ### Query 5: Get All Projects ``` Tool Name: get_projects Parameters: {"limit": 50, "offset": 0} ``` ### Query 6: Get Leave Entries ``` Tool Name: get_leave Parameters: {"limit": 50, "offset": 0} ``` ### Query 7: Get Timetable/Schedule ``` Tool Name: get_calendar_events Parameters: {"limit": 50, "offset": 0} ``` --- ## ๐ŸŽฏ Complete Working Workflow ### Workflow: "Check Dwayne's Availability" ``` Step 1: Manual Trigger โ”œโ”€ When: Manually or on schedule โ””โ”€ Output: Trigger signal Step 2: Get Leave Entries โ”œโ”€ Node Type: MCP โ”œโ”€ Tool: get_leave โ”œโ”€ Params: {"limit": 100, "offset": 0} โ””โ”€ Output: All leave entries Step 3: Filter for Dwayne โ”œโ”€ Node Type: Code โ”œโ”€ Code: โ”‚ const leaves = $input.all(); โ”‚ return leaves.filter(item => โ”‚ item.json.employee?.name?.toLowerCase().includes('dwayne') โ”‚ ); โ””โ”€ Output: Only Dwayne's leave Step 4: Get Absences โ”œโ”€ Node Type: MCP โ”œโ”€ Tool: get_absences โ”œโ”€ Params: {"limit": 100, "offset": 0} โ””โ”€ Output: All absences Step 5: Filter for Dwayne โ”œโ”€ Node Type: Code โ”œโ”€ Code: (same as step 3) โ””โ”€ Output: Only Dwayne's absences Step 6: Get Hours โ”œโ”€ Node Type: MCP โ”œโ”€ Tool: get_hours โ”œโ”€ Params: {"limit": 100, "offset": 0} โ””โ”€ Output: All hours Step 7: Filter for Dwayne This Week โ”œโ”€ Node Type: Code โ”œโ”€ Code: โ”‚ const hours = $input.all(); โ”‚ const today = new Date(); โ”‚ const weekStart = new Date(today); โ”‚ weekStart.setDate(today.getDate() - 7); โ”‚ โ”‚ return hours.filter(item => { โ”‚ const name = item.json.employee?.name?.toLowerCase() || ''; โ”‚ const date = new Date(item.json.start_date); โ”‚ return (name.includes('dwayne') || name.includes('paisley')) โ”‚ && date >= weekStart; โ”‚ }); โ””โ”€ Output: Dwayne's hours this week Step 8: Merge Data โ”œโ”€ Node Type: Merge โ””โ”€ Output: Combined availability report Step 9: Send to Slack/Email โ”œโ”€ Node Type: Slack/Email/etc โ””โ”€ Message: "Dwayne's availability report..." ``` --- ## ๐Ÿงช Quick Test - 30 Seconds 1. **Delete your AI Agent node** 2. **Add new MCP node** 3. **Set these exact values:** - Credential: `Simplicate` - Operation: `Execute Tool` - Tool Name: `get_employees` - Parameters: `{"limit": 10, "offset": 0}` 4. **Click "Execute node"** 5. **See results!** โœ… --- ## ๐Ÿ’ก Why This Works | Approach | Result | |----------|--------| | AI Agent + "Show me absences" | โŒ Schema error | | AI Agent + Natural language | โŒ Misinterprets | | **MCP Node + Exact tool name** | **โœ… Works!** | | **MCP Node + JSON params** | **โœ… Works!** | --- ## ๐Ÿšจ Common Mistakes ### Mistake 1: Using AI Agent ``` โŒ AI Agent โ†’ "Show me absences" โœ… MCP Node โ†’ Tool: get_absences ``` ### Mistake 2: Wrong operation ``` โŒ Operation: List Tools โœ… Operation: Execute Tool ``` ### Mistake 3: Adding quotes to tool name ``` โŒ Tool Name: "get_absences" โœ… Tool Name: get_absences ``` ### Mistake 4: Missing parameters ``` โŒ No parameters โœ… Parameters: {"limit": 50, "offset": 0} ``` --- ## ๐Ÿ“ž Need Help? If you're still getting errors: 1. **Check your MCP server is running** ```bash cd /Users/dwayne/Documents/Playground/Simplicate npm start ``` 2. **Check your .env file exists** ```bash cat .env ``` 3. **Test the API directly** ```bash npm run test:all ``` 4. **Check n8n can see the tools** - Use "List Tools" operation first - Verify "get_absences" is in the list - Then switch to "Execute Tool" --- ## โœ… Success Checklist - [ ] Using **MCP Node** (not AI Agent) - [ ] Operation set to **"Execute Tool"** - [ ] Tool name is **exact** (e.g., `get_absences`) - [ ] Parameters are **valid JSON** - [ ] MCP server is **running** - [ ] Credentials are **configured in n8n** --- **Once all checkboxes are ticked, it WILL work!** ๐ŸŽ‰

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/daanno/simplicate-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server