Custom Mcp Server

by rohangore1999

133 downloads
Not rated
GitHub

Description

- `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: ```json // stdio "weather-data-fetcher": { "command"…

About

- `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: ```json // stdio "weather-data-fetcher": { "command": "node", "args"…

Details

Author
rohangore1999
Downloads
133
Categories
Other

- Supports both STDIO and SSE transports.
- Fetches weather data via MCP.
- Simple configuration through mcp.json.
- Two deployment modes for different networking needs.

Add its configuration to the global MCP configuration file (~/.cursor/mcp.json). For the STDIO variant, specify the command (node) and path to the script. For the SSE variant, provide the SSE endpoint URL (http://localhost:3000/sse). Then, invoke the server through your MCP client.

- 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 reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.