✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

MCP Access Template

tools for personal use
previous: nodejs -> deno

Settings

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

Tools

List

  • commandExecute
    • Execute a command in the allowed list
  • getUrlToMd
    • Parse a web page into Markdown and return it
  • getPdfContent
    • Text parsing and return of PDF content

Libraries

  • createToolsServer
    • https://jsr.io/@mizchi/mcp-helper
    • https://zenn.dev/mizchi/articles/deno-mcp-server

MCP Inspector

The MCP inspector is a developer tool for testing and debugging MCP servers.

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

Trouble shooting

Workaround

pdfjs-dist

How to remove Warning: Please use the legacy build in Node.js environments. (since this console message inhibits MCP startup)

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

Exec locally

# 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

Featured Templates

View More
AI Engineering
Python Bug Fixer
122 1766
AI Assistants
Image to text with Claude 3
155 1657
AI Image Generation
Image Generation with Stable Diffusion
117 1204
Customer service
Service ERP
127 1487

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.