Skip to main content
Glama
win4r
by win4r

Servidor MCP para uso del navegador

🔥对应视频: https://youtu.be/jsd8TpzicRQ

🔥 Personaje principal: stoeng

Un servidor de protocolo de contexto de modelo

Este es un servidor MCP basado en TypeScript que implementa un sistema de notas sencillo. Demuestra los conceptos básicos de MCP al proporcionar:

  • Recursos que representan notas de texto con URI y metadatos

  • Herramientas para crear nuevas notas

  • Indicaciones para generar resúmenes de notas

Características

Recursos

  • Lista y acceso a notas mediante URI note://

  • Cada nota tiene un título, contenido y metadatos.

  • Tipo MIME de texto simple para acceso simple al contenido

Herramientas

  • create_note - Crea nuevas notas de texto

    • Toma el título y el contenido como parámetros obligatorios

    • Almacena notas en el estado del servidor

Indicaciones

  • summarize_notes - Genera un resumen de todas las notas almacenadas

    • Incluye todos los contenidos de las notas como recursos integrados

    • Devuelve una solicitud estructurada para el resumen de LLM

Related MCP server: azure-devops MCP Server

Desarrollo

Instalar dependencias:

npm install

Construir el servidor:

npm run build

Para desarrollo con reconstrucción automática:

npm run watch

Instalación

Para utilizar con Claude Desktop, agregue la configuración del servidor:

En MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json En Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "browser-use": {
      "command": "/path/to/browser-use/build/index.js"
    }
  }
}

Depuración

Dado que los servidores MCP se comunican a través de stdio, la depuración puede ser complicada. Recomendamos usar el Inspector MCP , disponible como script de paquete:

npm run inspector

El Inspector proporcionará una URL para acceder a las herramientas de depuración en su navegador.

Available Tools

1 tool
execute_browser_taskC

执行浏览器自动化任务

ParametersJSON Schema
NameRequiredDescriptionDefault
taskYes要执行的任务描述

TDQS

C2/5.0
Behavior1/5

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

No annotations are provided, so the description carries full burden for behavioral disclosure. The description only states what the tool does at a high level ('execute browser automation tasks') without revealing any behavioral traits such as whether it's read-only or destructive, authentication requirements, rate limits, error handling, or what happens during execution. This leaves the agent with insufficient information to understand the tool's behavior.

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 phrase in Chinese that directly states the tool's function. There's no wasted language or unnecessary elaboration, making it front-loaded and efficient. However, this conciseness comes at the cost of completeness.

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

Completeness1/5

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

Given that there are no annotations and no output schema, the description is incomplete for a tool that performs browser automation. It fails to explain what the tool returns, what side effects it might have, error conditions, or any behavioral context. For a potentially complex automation tool with zero structured metadata, the description is grossly inadequate.

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 input schema has 100% description coverage with one parameter 'task' documented as '要执行的任务描述' (description of the task to execute). The description adds no additional meaning beyond what the schema provides—it doesn't explain what constitutes a valid task description, provide examples, or clarify semantics. With high schema coverage, the baseline score of 3 is appropriate as the schema does the heavy lifting.

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

Purpose2/5

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

The description '执行浏览器自动化任务' (Execute browser automation tasks) is a tautology that essentially restates the tool name 'execute_browser_task' in Chinese. It provides a generic verb+resource combination but lacks specificity about what types of browser automation tasks are supported or what resources are affected. No sibling tools exist for differentiation, but the description remains vague about the actual purpose.

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

Usage Guidelines1/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, such as what scenarios it's designed for, prerequisites, or limitations. There are no alternatives mentioned (though none exist as siblings), but the description fails to give any context about appropriate usage scenarios or constraints.

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 update
    • First observedexecute_browser_task

TDQS

C2.4/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool 'execute_browser_task' has a clearly distinct purpose that cannot be confused with any other tool in the set.

Naming Consistency5/5

The naming is perfectly consistent as there is only one tool, following a clear verb_noun pattern ('execute_browser_task'). No other naming conventions are present to cause inconsistency.

Tool Count2/5

A single tool for a browser automation server is too few for the apparent scope, as browser automation typically involves multiple operations like navigation, clicking, typing, or scraping. This feels thin and may limit functionality.

Completeness1/5

The tool surface is severely incomplete for browser automation, lacking essential operations such as navigating to URLs, interacting with elements, or extracting data. This will likely cause agent failures in handling common browser tasks.

Maintenance

ActivityInactive
ResponsivenessUnresponsive

Related MCP Connectors

Related MCP Servers