mcpField
M
MCP Server with Claude Cursor & Weather API Integration

MCP Server with Claude Cursor & Weather API Integration

Local
github.com/onon1999AI & Agents0Updated 79w ago

About MCP Server with Claude Cursor & Weather API Integration

The README describes a sample integration combining a Minecraft server, Claude Cursor command-line interaction, and a Weather API. It mentions weather queries through `/weather` and extensible custom commands, but does not specify an MCP protocol interface.

Key features

  1. 01Integrates a Minecraft server
  2. 02Enables command-line interaction
  3. 03Uses a Weather API for current conditions
  4. 04Allows custom commands to be added

Use cases

  1. 01Check weather for a location in Minecraft
  2. 02Interact with the server through commands
  3. 03Extend the server with custom commands

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Sure! Below is a basic template for your README document, which you can edit further based on your specific project needs. It explains the integration of your MCP (Minecraft) server with Claude Cursor, CMD commands, and Weather API.


MCP Server with Claude Cursor & Weather API Integration

This project is a custom Minecraft Server (MCP) designed to integrate with Claude Cursor for enhanced interaction through the command line interface (CLI), and it also utilizes a Weather API to provide real-time weather updates in the server.

Features

  • MCP Server: A fully functional Minecraft server setup.
  • Claude Cursor Integration: Allows users to interact with the server through CLI commands, enhancing the server's user experience.
  • Weather API Integration: Get real-time weather updates directly through the server’s command line.

Setup Instructions

1. Install weather Server
  1. Download the Minecraft server from the https://www.weather.gov/documentation/services-web-api.
  2. Extract the downloaded file to your desired directory.
  3. Run the server:
    java -jar minecraft_server.jar
    
2. Integrating Claude Cursor
  1. Install Claude Cursor: Follow the installation instructions provided on Claude Cursor's GitHub page.
  2. Set up the connection: Ensure the server is linked to Claude Cursor by editing the configuration file.
3. Setup Weather API
  1. Create an account on any Weather API provider like OpenWeatherMap and get your API key.
  2. Add the API Key: In your server config file, add your API key for weather data fetching.
Example config snippet:
weather_api_key="YOUR_API_KEY"
4. Run the Server
  1. Once everything is configured, start the Minecraft server.

    java -jar minecraft_server.jar
    
  2. Execute Commands via CLI:

    • To check the weather, use:

      /weather <city_name>
      
    • Claude Cursor will fetch the data from the Weather API and return the current weather information to the Minecraft server.

Usage

  • Weather Command: Type /weather <city_name> to get real-time weather data in your Minecraft chat.

  • Custom Commands: You can extend the functionality by adding more commands via Claude Cursor integration.

Example Commands:

  1. Get Weather:
    Command: /weather New York
    Output: Current weather in New York: 72°F, Partly Cloudy

  2. Send Custom Message via Claude Cursor:
    Command: /sendmessage "Hello from Claude Cursor!"

Troubleshooting

  • MCP Server Crashes: Ensure that you have the correct version of Java installed.
  • Weather API Not Responding: Verify your API key is correctly placed and is still active.

Contributing

Feel free to fork this repository and submit pull requests with improvements or additional features. Please ensure any new code is well-documented and tested.

Reporting Issues

If you run into any bugs or issues, please open an issue on this repository, and I'll be happy to help resolve it.

License

This project is licensed under the MIT License – see the LICENSE file for details.


This README should give users clear instructions on setting up the project, using the integration, and troubleshooting common issues. You can expand this with more specific details regarding your setup. Let me know if you need further modifications!

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.