✨ 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
119 1433
Verified Icon
AI Assistants
Speech to Text
137 1882
AI Characters
Sarcastic AI Chat Bot
129 1713
Customer service
AI-Powered Product List Manager
153 868

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.