Initialize MCP Server using Cursor IDE
About
First MCP Server implementation using US weather API
Details
- Author
- msremigio
- Downloads
- 202
- Categories
- Developer Tools
Jump to
- 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" ] } } }Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





