Custom Mcp Server

Custom Mcp Server

By rohangore1999 GitHub

-

custom-mcp-server weather-fetcher
Overview

what is Custom MCP Server?

Custom MCP Server is a customizable server designed to fetch weather data using different transport methods, including STDIO and Server-Sent Events (SSE).

how to use Custom MCP Server?

To use the Custom MCP Server, configure the global MCP settings in the ~/.cursor/mcp.json file and run the server using the specified commands for each transport method.

key features of Custom MCP Server?

  • Fetches weather data using STDIO transport
  • Fetches weather data using Server-Sent Events (SSE) transport
  • Customizable configuration for different data fetching methods

use cases of Custom MCP Server?

  1. Real-time weather data collection for applications.
  2. Integration with other services that require weather data.
  3. Customizable data fetching for research purposes.

FAQ from Custom MCP Server?

  • What transport methods does Custom MCP Server support?

Custom MCP Server supports STDIO and Server-Sent Events (SSE) for fetching weather data.

  • How do I configure the server?

The server configuration is done in the ~/.cursor/mcp.json file, where you can specify commands and URLs for data fetching.

  • Is Custom MCP Server open-source?

Yes! Custom MCP Server is available on GitHub for anyone to use and contribute.

Content
  • stdio/: Weather data fetcher using STDIO transport
  • sse/: Weather data fetcher using Server-Sent Events (SSE) transport

MCP Configuration

The global MCP configuration is stored in ~/.cursor/mcp.json and includes:

// stdio
"weather-data-fetcher": {
  "command": "node",
  "args": ["/path/to/mcp/stdio/index.js"]
},

// sse
"weather-data-fetcher-sse": {
  "url": "http://localhost:3000/sse"
}
No tools information available.
No content found.