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!