Skip to main content
Glama

MCP Access Server

by shin-t-o

MCP 访问模板

个人使用的工具
上一节:nodejs -> deno

设置

{ "mcpServers": { "mcp-access-deno": { "command": "deno", // OR full-path "args": ["run", "-A", "PROJEC_DIR/src/index.ts"], "env": {} } } }

工具

列表

  • commandExecute
    • 执行允许列表中的命令
  • getUrlToMd
    • 将网页解析为 Markdown 并返回
  • getPdfContent
    • 文本解析并返回PDF内容

图书馆

MCP 检查器

MCP 检查器是用于测试和调试 MCP 服务器的开发人员工具。

$ npx @modelcontextprotocol/inspector deno run -A src/index.ts

故障排除

解决方法

pdfjs-dist

如何删除Warning: Please use the build in Node.js environments. (因为此控制台消息会抑制 MCP 启动)

// if (isNodeJS) { // warn("Please use the `legacy` build in Node.js environments."); // }

本地执行

# start locally $ deno run -A src/index.ts # exec $ {"jsonrpc":"2.0","id":"toolcall-1","method":"tools/call","params":{"name":"getUrlToMd","arguments":{"url":"https://code.visualstudio.com/docs/editing/intellisense"}}} # --- # start locally + exec + save result $ echo '{"jsonrpc":"2.0","id":"toolcall-1","method":"tools/call","params":{"name":"getUrlToMd","arguments":{"url":"https://code.visualstudio.com/docs/editing/intellisense"}}}' | \ deno run -A src/index.ts | \ grep "result" | \ jq -r '.result.content[0].text | fromjson' > example.md

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

支持从网页和 PDF 中提取文本并执行预定义命令,增强内容处理和自动化功能。

  1. 设置
    1. 工具
      1. 列表
      2. 图书馆
      3. MCP 检查器
    2. 故障排除
      1. 解决方法
    3. 本地执行

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        Enables web content scanning and analysis by fetching, analyzing, and extracting information from web pages using tools like page fetching, link extraction, site crawling, and more.
        Last updated -
        6
        7
        TypeScript
        MIT License
      • A
        security
        A
        license
        A
        quality
        Provides comprehensive document processing, including reading, converting, and manipulating various document formats with advanced text and HTML processing capabilities.
        Last updated -
        16
        231
        11
        TypeScript
        MIT License
      • -
        security
        F
        license
        -
        quality
        Provides tools for reading and extracting text from PDF files, supporting both local files and URLs.
        Last updated -
        3
        Python
      • A
        security
        F
        license
        A
        quality
        An MCP server that provides a tool to extract text content from local PDF files, supporting both standard PDF reading and OCR capabilities with optional page selection.
        Last updated -
        1
        6
        Python
        • Apple

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/shin-t-o/mcp-access'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server