Skip to main content
Glama
win4r
by win4r

浏览器使用的 MCP 服务器

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

🔥我的微信:stoeng

模型上下文协议服务器

这是一个基于 TypeScript 的 MCP 服务器,实现了一个简单的笔记系统。它通过提供以下内容来演示 MCP 的核心概念:

  • 用 URI 和元数据表示文本注释的资源

  • 创建新笔记的工具

  • 生成笔记摘要的提示

特征

资源

  • 通过note:// URI 列出并访问笔记

  • 每个笔记都有标题、内容和元数据

  • 用于简单内容访问的纯文本 MIME 类型

工具

  • create_note创建新的文本注释

    • 将标题和内容作为必需参数

    • 将注释存储在服务器状态中

提示

  • summarize_notes - 生成所有存储笔记的摘要

    • 包含所有笔记内容作为嵌入资源

    • 返回 LLM 摘要的结构化提示

Related MCP server: azure-devops MCP Server

发展

安装依赖项:

npm install

构建服务器:

npm run build

对于使用自动重建的开发:

npm run watch

安装

要与 Claude Desktop 一起使用,请添加服务器配置:

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

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

调试

由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:

npm run inspector

检查器将提供一个 URL 来访问浏览器中的调试工具。

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