MCP Server Template for Cursor IDE

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable debug modefalse
MCP_USER_AGENTNoCustom User-Agent for website fetching
MCP_SERVER_HOSTNoHost to bind the server to0.0.0.0
MCP_SERVER_PORTNoPort to run the server on8000

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
mcp_fetch

Fetches a website and returns its content

mood

Ask the server about its mood - it's always happy!

fetch_railway_docs

Fetches the most recent Railway CLI documentation. Optionally, provide a custom URL.

fetch_railway_docs_optimized

Fetches the most recent Railway CLI documentation. Optionally, provide a custom URL.

apply_prompt_fix

Provides a prompt for performing root cause analysis and fixing issues

apply_prompt_initial

Provides an initial prompt template for starting a new project

apply_prompt_proceed

Provides a prompt template for proceeding with a task or project

apply_prompt_change

Provides a prompt for systematically handling change requests

apply_prompt_fix_linter

Provides a prompt for analyzing and fixing linter errors

apply_prompt_unit_tests

Provides a prompt for generating unit tests for code

apply_prompt_infra

Provides a prompt template for laying out system infrastructure and tool stack information