MCP Server Template for Cursor IDE
The MCP Server Template for Cursor IDE enables custom tool creation using the Model Context Protocol (MCP). With this server, you can:
Fetch website content: Use the
mcp_fetchfunction to retrieve content from a specified URLCheck server mood: Interact with the server using the
moodfunction to receive a cheerful response with a heart emojiCustom deployment: Deploy the server via Heroku, Docker, or traditional Python setup
Integration with Cursor IDE: Connect seamlessly to Cursor IDE for enhanced functionality
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Server Template for Cursor IDEhow do I deploy this template to Heroku?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Server Template for Cursor IDE
A simple template for creating custom tools for Cursor IDE using Model Context Protocol (MCP). Create your own repository from this template, modify the tools, and connect them to your Cursor IDE.

Quick Start
Click "Deploy to Heroku" button
After deployment, configure Cursor:
Open Cursor Settings → Features
Add new MCP server
Use your Heroku URL with
/ssepath (e.g.,https://<your-app-name>.herokuapp.com/sse)
Test your agent's mood in Cursor:
Ask your agent "Please ask about our server mood and let me know how it is."
The server will respond with a cheerful message and a heart ❤️
Related MCP server: MCP Server Template for Cursor IDE
Alternative Setup Methods
You can run the server in three ways: using Docker, traditional Python setup, or directly in Cursor IDE.
Docker Setup
The project includes Docker support for easy deployment:
Initial setup:
# Clone the repository
git clone https://github.com/kirill-markin/weaviate-mcp-server.git
cd weaviate-mcp-server
# Create environment file
cp .env.example .envBuild and run using Docker Compose:
# Build and start the server
docker compose up --build -d
# View logs
docker compose logs -f
# Check server status
docker compose ps
# Stop the server
docker compose downThe server will be available at:
SSE endpoint: http://localhost:8000/sse
Quick test:
# Test the server endpoint
curl -i http://localhost:8000/sseConnect to Cursor IDE:
Open Cursor Settings → Features
Add new MCP server
Type: Select "sse"
URL: Enter
http://localhost:8000/sse
Traditional Setup
First, install the uv package manager:
# Install uv on macOS
brew install uv
# Or install via pip (any OS)
pip install uvStart the server using either stdio (default) or SSE transport:
# Install the package with development dependencies
uv pip install -e ".[dev]"
# Using stdio transport (default)
uv run mcp-simple-tool
# Using SSE transport on custom port
uv run mcp-simple-tool --transport sse --port 8000
# Run tests
uv run pytest -vAfter installation, you can connect the server directly to Cursor IDE:
Right-click on the
cursor-run-mcp-server.shfile in CursorSelect "Copy Path" to copy the absolute path
Open Cursor Settings (gear icon)
Navigate to Features tab
Scroll down to "MCP Servers"
Click "Add new MCP server"
Fill in the form:
Name: Choose any name (e.g., "my-mcp-server-1")
Type: Select "stdio" (not "sse" because we run the server locally)
Command: Paste the absolute path to
cursor-run-mcp-server.shthat you copied earlier. For example:/Users/kirillmarkin/weaviate-mcp-server/cursor-run-mcp-server.sh
Environment Variables
Available environment variables (can be set in .env):
MCP_SERVER_PORT(default: 8000) - Port to run the server onMCP_SERVER_HOST(default: 0.0.0.0) - Host to bind the server toDEBUG(default: false) - Enable debug modeMCP_USER_AGENT- Custom User-Agent for website fetching
Additional options
Installing via Smithery
To install MCP Server Template for Cursor IDE for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @kirill-markin/example-mcp-server --client claudeGlama server review
Available Tools
2 toolsmcp_fetchC
Fetches a website and returns its content
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to fetch |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden but only states basic functionality. It doesn't disclose important behavioral traits like error handling, rate limits, authentication needs, content type handling, or what 'returns its content' specifically means (HTML, text, metadata).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise - just 7 words that directly convey the core functionality. Every word earns its place with zero wasted text, making it perfectly front-loaded and efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool that fetches websites with no annotations and no output schema, the description is insufficient. It doesn't explain what 'content' means, how errors are handled, what formats are supported, or any limitations. The agent would have to guess about important behavioral aspects.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description doesn't add any parameter information beyond what's already in the schema (which has 100% coverage). The schema fully documents the single 'url' parameter, so the baseline score of 3 is appropriate as the description doesn't compensate but also doesn't need to.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('fetches') and resource ('a website'), making the purpose immediately understandable. However, it doesn't differentiate from the sibling tool 'mood' (which appears unrelated), so it doesn't fully achieve sibling distinction.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives or any contextual prerequisites. It simply states what the tool does without indicating appropriate use cases or limitations.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
moodA
Ask the server about its mood - it's always happy!
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | Ask this MCP server about its mood! You can phrase your question in any way you like - 'How are you?', 'What's your mood?', or even 'Are you having a good day?'. The server will always respond with a cheerful message and a heart ❤️ |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals key traits: the server will 'always respond with a cheerful message and a heart ❤️' and 'it's always happy!' which discloses predictable behavior. However, it doesn't mention rate limits, authentication needs, or other operational constraints that would be helpful for a complete behavioral picture.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise (one sentence) and front-loaded with the core purpose. Every word earns its place - 'Ask the server about its mood' establishes function, and 'it's always happy!' adds useful behavioral context without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (single parameter, no output schema, no annotations), the description provides adequate context. It explains what the tool does and the predictable response behavior. For a straightforward mood inquiry tool, this is reasonably complete, though it could benefit from mentioning the response format more explicitly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already fully documents the single 'question' parameter with examples. The description doesn't add any parameter-specific information beyond what's in the schema. This meets the baseline of 3 for high schema coverage where the description doesn't need to compensate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Ask the server about its mood' - a specific verb ('Ask') and resource ('server's mood'). It distinguishes from the sibling tool 'mcp_fetch' by focusing on mood inquiry rather than data fetching. However, it doesn't explicitly contrast with the sibling, keeping it at 4 instead of 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context through 'it's always happy!' which suggests this is for cheerful interactions, but doesn't provide explicit guidance on when to use this versus alternatives. No when-not-to-use scenarios or comparison to sibling tools is mentioned, leaving usage somewhat implied rather than clearly defined.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
The two tools have completely distinct purposes: one fetches website content, while the other returns a static mood response. There is no overlap or ambiguity between them, making it easy for an agent to select the correct tool for each task.
The tools use different naming conventions: 'mcp_fetch' follows a prefix_verb pattern, while 'mood' is a simple noun. This mixed style lacks a predictable pattern, though both names are readable and descriptive of their functions.
With only two tools, the server feels thin and under-scoped for a template intended for Cursor IDE, which typically involves more complex operations. This minimal set may not adequately cover common IDE-related tasks, suggesting a mismatch in scope.
Inferred as a template for IDE integration, the tool surface is severely incomplete. It lacks core functionalities like file manipulation, code analysis, or project management, leaving significant gaps that would hinder agent workflows in an IDE context.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Build and publish Overskill apps from Cursor, Claude, ChatGPT, or any MCP client.
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
The OpenRouter MCP server plugs OpenRouter into the AI tools you already use. Once connected, your assistant can pull live OpenRouter data (models, prices, your credits, rankings, and docs) and send quick test messages, all without leaving your editor.
Related MCP Servers
- AlicenseBqualityDmaintenanceA simple template for creating custom tools for Cursor IDE using Model Context Protocol, deployable via Heroku, Docker, or directly within Cursor IDE.25MIT
- AlicenseBqualityDmaintenanceA template for creating and connecting custom tools to Cursor IDE using Model Context Protocol with support for cheerful server responses.41MIT
- AlicenseCqualityDmaintenanceA template for creating custom tools for Cursor IDE using Model Context Protocol (MCP), allowing developers to extend Cursor's functionality with their own server-based tools.122MIT
- AlicenseCqualityDmaintenanceA starter template for building Model Context Protocol servers that can be integrated with Cursor or Claude Desktop, allowing developers to create custom tools and extensions for AI assistants.12714MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/MyBlockcities/mcp-server-heroku'
If you have feedback or need assistance with the MCP directory API, please join our Discord server