Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
"integrations/no-code-agent-frameworks/gumloop",
"integrations/no-code-agent-frameworks/flowise",
"integrations/no-code-agent-frameworks/langflow",
"integrations/no-code-agent-frameworks/chainlit",
"integrations/no-code-agent-frameworks/cursor"
]
},
Expand Down Expand Up @@ -112,4 +111,4 @@
"github": "https://github.com/membit"
}
}
}
}
Binary file added images/cursor/setting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cursor/talk-with-chat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cursor/tools.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cursor/turn-on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flowise/add-new.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flowise/add-node.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flowise/chat-config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flowise/chatflows.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flowise/connect-tools.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flowise/custom-mcp-config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flowise/custom-mcp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flowise/search-buffer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flowise/search-chat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flowise/search-tool-agent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flowise/talk-with-chat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/gumloop/add-cred.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/gumloop/ask-ai-detail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/gumloop/ask-ai-option.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/gumloop/ask-ai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/gumloop/first-node.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/gumloop/go-to-setting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/gumloop/hub.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/gumloop/mcp-server.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/gumloop/personal-cred.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/gumloop/run.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/gumloop/search-mcp-server.png
Binary file added images/langflow/agent.png
Binary file added images/langflow/blank-flow.png
Binary file added images/langflow/chat-with-agent.png
Binary file added images/langflow/chat.png
Binary file added images/langflow/config-agent.png
Binary file added images/langflow/new-flow.png
Binary file added images/langflow/playground.png
Binary file added images/langflow/search-mcp-tools.png
Binary file added images/langflow/stdio.png
Binary file added images/langflow/talk-with-chat.png
Binary file added images/langflow/tool-mode.png
Binary file added images/n8n/example-result.png
Binary file added images/n8n/example-workflow.png
Binary file added images/n8n/node-panel.png
Binary file added images/n8n/search-mcp-clinet.png
12 changes: 0 additions & 12 deletions integrations/no-code-agent-frameworks/chainlit.mdx

This file was deleted.

217 changes: 211 additions & 6 deletions integrations/no-code-agent-frameworks/cursor.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,217 @@
---
title: "Cursor"
description: "Learn how to integrate Membit with Cursor."
description: "Learn how to integrate Membit's real-time context with Cursor's AI-powered code editor using custom MCP configuration."
icon: "cursor"
---

Welcome to the Membit and Cursor integration guide. This section will provide you with all the information you need to connect Membit's real-time context to your Cursor environment.
Cursor is an AI-powered code editor that enhances your development workflow with intelligent assistance. By integrating Membit with Cursor, you can access real-time social context directly within your coding environment, enabling your AI assistant to provide up-to-date insights about trending topics, current discussions, and breaking news while you work.

<Info>
This documentation is currently under development. Please check back soon for
more details.
</Info>
## Prerequisites

Before you begin, make sure you have:

- Cursor editor installed ([download here](https://cursor.com))
- A Membit account with an API key [get your API key](/access-and-auth)
- Basic familiarity with Cursor's interface and AI features

## Setting Up Membit MCP Integration

Follow these steps to integrate Membit with your Cursor environment:

<Steps>
<Step title="Access Cursor Settings">
Open Cursor and navigate to the settings by clicking on the settings icon or using the keyboard shortcut.

<Frame>
<img src="/images/cursor/setting.png" alt="Cursor settings interface showing configuration options" />
</Frame>
</Step>

<Step title="Navigate to Tools & Integrations">
In the settings menu, locate and click on **Tools & Integrations** to access external service configurations.

<Frame>
<img
src="/images/cursor/tools.png"
alt="Cursor tools and integrations settings page"
/>
</Frame>

<Check>
The Tools & Integrations section allows you to connect external services and tools to enhance Cursor's capabilities.
</Check>
</Step>

<Step title="Add Custom MCP">
Click **Add Custom MCP** to create a new Model Context Protocol integration.
</Step>

<Step title="Configure Membit Remote MCP">
Paste the following Membit remote MCP configuration into the configuration field:

```json
{
"mcpServers": {
"membit-mcp": {
"url": "https://mcp.membit.ai/mcp",
"headers": {
"X-Membit-Api-Key": "<your-api-key>"
}
}
}
}
```

<Warning>
Replace `<your-api-key>` with your actual Membit API key. Keep this credential secure and don't share it with unauthorized users.
</Warning>

**Configuration Details:**

- **Server Name**: `membit-remote-mcp`
- **Command**: Uses npx to run the remote MCP client
- **Environment**: Empty object for default environment variables

</Step>

<Step title="Enable Membit Remote MCP">
After saving the configuration, turn on the **Membit Remote MCP** tool to activate the integration.

<Frame>
<img
src="/images/cursor/turn-on.png"
alt="Cursor interface showing how to enable Membit Remote MCP tool"
/>
</Frame>

<Check>
Once enabled, Cursor's AI will have access to Membit's real-time context capabilities when processing your requests.
</Check>
</Step>
</Steps>

## Using Membit with Cursor

Now that the integration is set up, you can start using Membit's real-time context in your development workflow:

<Steps>
<Step title="Start a Chat Session">
Open Cursor's chat interface and begin a conversation with the AI assistant.
</Step>

<Step title="Ask Context-Aware Questions">
Try asking questions that benefit from real-time context:

- "What are the latest trends in web development?"
- "Tell me about recent discussions in the AI community"
- "What's currently trending in cryptocurrency?"
- "Give me insights on the latest tech news"

<Note>
When Cursor asks for permission to run tools, click **Run Tool** to allow
access to Membit's real-time data. Cursor requests permission every time it
uses external tools. You can bypass these permission prompts by adjusting the
tool permissions in Cursor settings if desired.
</Note>

<Frame caption="Testing Membit integration with Cursor's AI chat">
<img
src="/images/cursor/talk-with-chat.png"
alt="Cursor chat interface showing conversation with real-time context from Membit"
/>
</Frame>

<Check>
Your AI assistant will now provide responses enhanced with current, real-world context from Membit's data feed.
</Check>
</Step>
</Steps>

## Troubleshooting

<AccordionGroup>
<Accordion title="Custom MCP Configuration Issues">
**Problem**: Custom MCP configuration fails to load or save

**Solutions**:

Verify the JSON configuration syntax is valid (no trailing commas, proper quotes)

Ensure the server name `membit-mcp` is unique and not conflicting

Check that the URL is exactly `https://mcp.membit.ai/mcp`

Try restarting Cursor after configuration changes

Validate the JSON structure matches the required format exactly

</Accordion>

<Accordion title="API Key Authentication Problems">
**Problem**: Membit API key authentication is failing

**Solutions**:

Verify your API key is correctly placed in the headers configuration

Ensure the header name is exactly `X-Membit-Api-Key` (case-sensitive)

Check that there are no extra spaces or characters around the API key

Confirm your Membit API key is active and has sufficient credits

Try generating a new API key if the current one isn't working

</Accordion>

<Accordion title="Tool Permission Prompts">
**Problem**: Cursor keeps asking for permission to run tools

**Solutions**:

Click "Run Tool" when prompted to allow Membit access for that session

Go to Cursor settings → Tools & Integrations → adjust tool permissions

Enable "Auto-approve safe tools" if available in your Cursor version

Consider the security implications before disabling permission prompts

Use "Always allow" option when prompted if you trust the Membit integration

</Accordion>

<Accordion title="MCP Server Not Responding">
**Problem**: Cursor can't connect to Membit MCP server

**Solutions**:

Check your internet connection and firewall settings

Verify the Membit MCP server is operational (try accessing the URL in browser)

Ensure Cursor has network access permissions on your system

Try toggling the MCP integration off and on again

Check Cursor's console/logs for specific error messages

</Accordion>

<Accordion title="AI Assistant Not Using Membit Tools">
**Problem**: Chat responses don't include real-time context

**Solutions**:

Make requests more explicit: "Use Membit to find current information about..."

Verify the Membit Remote MCP tool is enabled and active

Check that your questions relate to topics likely to have recent social media discussion

Try asking about trending topics that would benefit from real-time context

Ensure you're allowing tool usage when Cursor requests permission

</Accordion>
</AccordionGroup>
Loading