1. Add Cursor Rules from the AI tools repo:
mkdir -p .cursor/rules
curl -o .cursor/rules/meshes.mdc https://raw.githubusercontent.com/mesheshq/meshes-ai-tools/refs/heads/main/.cursor/rules/meshes.mdc2. Add the Meshes MCP server to your Cursor settings:
{
"mcpServers": {
"meshes": {
"command": "npx",
"args": ["-y", "@mesheshq/mcp-server"],
"env": {
"MESHES_ACCESS_KEY": "your_access_key",
"MESHES_SECRET_KEY": "your_secret_key",
"MESHES_ORG_ID": "your_organization_uuid"
}
}
}
}Cursor rules docs: /docs/ai/cursor-rules | Repo: mesheshq/meshes-ai-tools
"Route my signup events to HubSpot and Mailchimp"
"Check delivery status for the last 10 "payment.failed" events"
"Add Salesforce as a new destination for all high-value events"
// Prompt in Cursor:
// "Look at my signup function and use Meshes to route the event"
import meshes from "@mesheshq/events";
export async function handleSignup(req, res) {
const user = await db.users.create(req.body);
// Generated by Cursor + Meshes MCP
await meshes.emit("user.signup", {
userId: user.id,
email: user.email,
plan: req.body.plan
});
return res.json(user);
}Your agent uses the MCP server and Cursor rules to write Meshes integration code. Meshes handles routing, retries, and delivery to every connected destination — your agent ships features, not integration plumbing.
Meshes handles the last mile — reliable event delivery to every tool in your stack.
Free tier includes 100 events/month. Start in under 2 minutes.