Skip to main content
Glama
sach999
by sach999

Servidor MCP del cursor

Este repositorio contiene una implementación de servidor de Protocolo de contexto de modelo (MCP) que proporciona una herramienta para buscar documentación de git-spice dentro de Cursor IDE.

Características

  • Integración con Cursor IDE a través del protocolo MCP

  • Búsqueda de documentación de Git-Spice en tiempo real

  • Análisis de documentación simple y eficiente

Related MCP server: Cursor DB MCP Server

Prerrequisitos

  • Node.js (v16 o superior)

  • IDE de cursor

  • gestor de paquetes npm o yarn

Instalación

  1. Clonar este repositorio:

git clone <repository-url>
cd <repository-name>
  1. Instalar dependencias:

npm install
# or
yarn install
  1. Construir el proyecto:

npm run build
# or
yarn build

Configuración

Configuración del servidor

El servidor está preconfigurado con las siguientes capacidades:

  • Capacidad de herramientas

  • Capacidad de recursos

  • Capacidad de avisos

Configuración de IDE del cursor

  1. Abrir la configuración del IDE del cursor:

    • En macOS: Cmd + ,

    • En Windows/Linux: Ctrl + ,

  2. Vaya a la sección "Extensiones"

  3. Busque la configuración del servidor MCP y agregue una nueva configuración de servidor:

{
  "name": "Git Spice MCP Server",
  "command": "node",
  "args": ["dist/index.js"],
  "cwd": "/path/to/your/project"
}
  1. Guarde la configuración y actualice el MCP

Uso

Al usar Cursor en modo agente, el servidor MCP se detectará automáticamente y la herramienta de búsqueda de documentación de Git-Spice estará disponible. El agente le solicitará que use la herramienta cuando sea relevante para sus consultas.

Estructura del proyecto

  • src/index.ts : Implementación del servidor principal

  • src/ : Directorio del código fuente

  • dist/ : Directorio de salida compilado

Expresiones de gratitud

Available Tools

1 tool
get-world-weatherC

获取全世界的天气预报

ParametersJSON Schema
NameRequiredDescriptionDefault
latitudeYes纬度
longitudeYes经度

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure but offers minimal information. It doesn't mention whether this is a read-only operation, potential rate limits, authentication requirements, data freshness, error conditions, or what the return format looks like. For a weather API tool with zero annotation coverage, this is inadequate transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise - a single Chinese phrase that directly states the tool's purpose. There's zero wasted language or unnecessary elaboration. It's front-loaded with the core functionality immediately apparent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (weather API with geographic coordinates), lack of annotations, and no output schema, the description is insufficiently complete. It doesn't explain what weather data is returned, units of measurement, temporal scope of forecasts, or any behavioral characteristics. The description alone doesn't provide enough context for effective tool use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100% with both parameters (latitude, longitude) well-documented in the schema with ranges and descriptions. The tool description doesn't add any parameter-specific information beyond what's already in the schema. According to guidelines, when schema coverage is high (>80%), the baseline is 3 even with no param info in the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description '获取全世界的天气预报' (Get worldwide weather forecast) clearly states the tool's purpose with a specific verb ('获取' - get) and resource ('天气预报' - weather forecast). It distinguishes itself by specifying '全世界的' (worldwide), indicating global coverage. However, with no sibling tools, differentiation from alternatives isn't demonstrated, preventing a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives, prerequisites, or exclusions. It simply states what the tool does without context about appropriate scenarios or limitations. This lack of usage guidance is a significant gap for effective tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev1.0.0
    • Changedget-world-weather1 field changed
      • removedInput schema / additionalProperties
        Removed value: -false
  2. 1 tool update
    • First observedget-world-weather

TDQS

B3.1/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly defined as fetching worldwide weather forecasts, making it impossible to confuse with other tools.

Naming Consistency5/5

A single tool inherently has perfect naming consistency, as there are no other tools to compare it against. The tool name 'get-world-weather' follows a clear verb-noun pattern, which would be consistent if more tools existed.

Tool Count2/5

A single tool is generally too few for most server purposes, as it limits functionality and scope. While weather-related servers could have more tools (e.g., for specific locations, forecasts, or historical data), one tool feels thin and underdeveloped for a comprehensive weather service.

Completeness2/5

The server's domain appears to be weather-related, but with only one tool for worldwide weather, there are significant gaps. Missing operations include getting weather for specific locations, historical data, forecasts by type (e.g., hourly/daily), or alerts, making the surface incomplete for typical weather use cases.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    A
    maintenance
    A Model Context Protocol server for Git repository interaction and automation. This server provides tools to read, search, and manipulate Git repositories via Large Language Models.
    12
    57,038 PyPI
    91,276
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    A Model Context Protocol server that enhances AI agents by providing deep semantic understanding of codebases, enabling more intelligent interactions through advanced code search and contextual awareness.
    91
    MIT
  • F
    license
    C
    quality
    D
    maintenance
    A Model Context Protocol server that provides Retrieval-Augmented Generation capabilities using Contextual AI, enabling AI interfaces like Cursor IDE and Claude Desktop to query domain-specific knowledge with context-aware responses and source citations.
    1
    21
    -