Prerequisites
- Cursor installed
- Nogic CLI installed and authenticated
- A project initialized with
nogic init
Configuration
Cursor supports MCP servers through its settings.Step 1: Open Cursor Settings
- Open Cursor
- Press
Cmd+,(Mac) orCtrl+,(Windows/Linux) - Search for “MCP” or navigate to Features → MCP Servers
Step 2: Add Nogic Server
Add a new MCP server with these settings:- Name:
nogic - URL:
https://api.nogic.dev/mcp?api_key=YOUR_API_KEY
YOUR_API_KEY with your Nogic API key (starts with sk_).
Alternative: Config File
You can also edit Cursor’s config file directly. Add to your Cursor settings JSON:Verify Connection
After configuring, restart Cursor and open your project. The Nogic MCP server should connect automatically. To verify:- Open the Cursor chat
- Ask: “What Nogic tools do you have access to?”
before_writing, find_similar, etc.
Usage Examples
Intelligent Code Completion
When you start writing code, Cursor can use Nogic to:- Check for existing similar code
- Follow your project’s naming conventions
- Suggest existing utilities instead of duplicating
Ask About Your Codebase
“Find all functions related to authentication”
“What calls the processOrder function?”
“Show me the project structure”
Before Refactoring
“What would be affected if I renamegetUserByIdtofetchUser?”
Troubleshooting
Connection Failed
- Verify your API key is correct
- Check that you can reach the server:
curl https://api.nogic.dev/health - Restart Cursor after changing settings
Tools Not Working
- Make sure
.nogic/config.jsonexists in your project root - Run
nogic statusto verify your project is set up correctly
Slow Responses
- First requests may be slower as the server warms up
- Subsequent requests should be faster
Next Steps
MCP Tools Reference
Learn about all available MCP tools