Initialize MCP Server using Cursor IDE

by msremigio

202 downloads
Not rated
GitHub

About

First MCP Server implementation using US weather API

Details

Author
msremigio
Downloads
202
Categories
Developer Tools

- Demonstrates MCP server setup via mcp.json configuration.
- Example uses uv to execute a Python script.
- Targeted at Cursor IDE users.

Create or edit a mcp.json file with an mcpServers object. For each server, specify the command (e.g., uv) and args including the project directory path and the script to run (e.g., weather.py).

Initialize MCP Server using Cursor IDE

mcp.json

```json { "mcpServers": { "mcp_weather": { "command": "uv", "args": [ "--directory", "path_to_your_project_directory", "run", "weather.py" ] } } }
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.