MCP Servers logo

MCP Servers

by fist-maestro

A collection of services developed based on the Model Context Protocol (MCP) to support intelligent features in Cursor IDE. Currently includes a demo service and a weather service.

View on GitHub

Last updated: N/A

What is MCP Servers?

MCP Servers is a project providing a set of services built on the Model Context Protocol, designed to enhance the functionality of the Cursor IDE. It includes example and weather services, demonstrating the architecture and capabilities of MCP-based services.

How to use MCP Servers?

To use MCP Servers, clone the repository, install dependencies using npm install, and build the project with npm run build. Configure MCP in ~/.cursor/mcp.json with the correct paths and environment variables. Start the desired service using npm run start:[service name]. Refer to the README for detailed instructions and service-specific documentation.

Key features of MCP Servers

  • Three-layer architecture (Config, Controllers, Service)

  • MCP request handling

  • Business logic encapsulation

  • Real-time weather queries

  • Example service for learning

Use cases of MCP Servers

  • Providing intelligent code completion in Cursor IDE

  • Displaying weather information within the IDE

  • Demonstrating MCP service development

  • Extending Cursor IDE functionality with custom services

FAQ from MCP Servers

Service fails to start

Check port occupancy, verify environment variable configuration, and validate the build output.

API call fails

Check the API Key configuration, confirm network connectivity, and review the error logs.

Cursor IDE does not recognize the service

Check the MCP configuration, restart Cursor IDE, and confirm the service status.

How to contribute to the project?

Fork the project, create a feature branch, commit changes, push to the branch, and create a Pull Request.

Where can I find detailed documentation for each service?

Refer to the service-specific README files located in the src/[service name]/readme.md path.