MCP Server Example
The MCP Server Example allows you to retrieve weather-related information:
Get weather alerts for a specific U.S. state using its two-letter code
Get weather forecasts for a specific location using latitude and longitude coordinates
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 Examplewhat's the weather forecast for Austin this weekend?"
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 Example
This project is a very basic MCP server ready to be consumed by Cursor or other tools.
Modify index.ts and add any tools you want, or keep the default ones.
Then build the project:
pnpm run buildAnd run it:
pnpm run startNow add a .cursor/mcp.json file in your project, and paste the following;
{
"mcpServers":{
"weather":{
"command": "node",
"args": ["[path]/build/index.js"]
}
}
}Replace [path] with the absolute path to this project. Run pwd in the project folder for that. For example, in my case it is:
{
"mcpServers":{
"weather":{
"command": "node",
"args": ["/Users/ivanbtrujillo/Development/mcp-server-spike/build/index.js"]
}
}
}Now go to "Settings" in cursor. You should be able to see the MCP server there. Enable it (click on the top right)

Now go to the chat, switch to Agent mode and select claude-3.7-sonnet as your model.
Type the following:
What is the weather in Texas?It will use the MCP to get first the weather alerts, and then the forecast Here is an example of how the chat interface looks when querying the weather in Texas:

Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- FlicenseCqualityDmaintenanceA starter template for building MCP servers that can integrate with Claude, Cursor, or other MCP-compatible AI assistants to create custom tools, resource providers, and prompt templates.Last updated2
- FlicenseAqualityDmaintenanceA starter template for building custom MCP servers that can integrate with Claude Desktop, Cursor, and other AI assistants. Provides example tools, TypeScript support, and automated publishing workflows to help developers create their own AI assistant integrations.Last updated732
- FlicenseAqualityDmaintenanceA starter template for building custom MCP servers that can integrate with Claude Desktop, Cursor, and other AI assistants. Provides example tools, TypeScript support, and automated publishing workflows to help developers quickly create their own MCP servers.Last updated732
- Flicense-qualityDmaintenanceA template MCP server that provides weather forecasting functionality by fetching current and hourly temperature data from the Open Meteo API for any given latitude and longitude coordinates.Last updated
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
An MCP server that integrates with Discord to provide AI-powered features.
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Appeared in Searches
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/ivanbtrujillo/mcp-server-spike'
If you have feedback or need assistance with the MCP directory API, please join our Discord server