npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@telorun/mcp-server

v0.7.0

Published

Telo MCP Server module — Model Context Protocol server resource kinds for Telo manifests.

Downloads

1,616

Readme

MCP Server

Model Context Protocol (MCP) server resource kinds for Telo: stdio and Streamable HTTP transports, composable tool/resource/prompt bundles.

Why use this

  • Transport-pluggable — the same tool bundle works over stdio (one client per process) or Streamable HTTP (multi-session) without re-declaration.
  • Composable bundles — multiple Mcp.Tools bundles can be merged into one transport; one bundle can be referenced by multiple transports.
  • Declarative tool entriesargumentsSchema, handler, inputs: mapping, result: mapping, and catches: rendering are all manifest fields.
  • Onboarding-friendly — optional instructions field surfaces a server primer to MCP clients on initialize.
  • Mount on Http.ServerMcp.HttpEndpoint is a standard Telo.Mount, slotted under any path prefix.

Kinds

| Kind | Purpose | | --- | --- | | Mcp.StdioServer | stdin/stdout transport (one client per process). | | Mcp.HttpEndpoint | Streamable HTTP transport mounted on Http.Server at a path. | | Mcp.Tools | Passive bundle of tool entries dispatched via tools/call. | | Mcp.Resources | Bundle of resource entries (schema'd in v1, runtime in v2). | | Mcp.Prompts | Bundle of prompt entries (schema'd in v1, runtime in v2). |

Example

kind: Telo.Application
metadata: { name: my-stdio-mcp, version: 1.0.0 }
imports:
  Mcp: std/[email protected]
  JS: std/[email protected]
targets: [ Server ]
---
kind: Mcp.StdioServer
metadata: { name: Server }
serverInfo: { name: my-stdio-mcp, version: 1.0.0 }
tools: [ WeatherTools ]
---
kind: Mcp.Tools
metadata: { name: WeatherTools }
entries:
  - name: get_weather
    description: Get current weather for a city.
    argumentsSchema:
      type: object
      properties:
        city: { type: string }
      required: [ city ]
    handler:
      kind: JS.Script
      name: GetWeatherImpl
    inputs:
      city: "${{ request.arguments.city }}"
    result:
      content:
        - type: text
          text: "${{ result.summary }}"

Reference

  • Mcp.StdioServer — stdin/stdout transport, instructions, lifecycle.
  • Mcp.HttpEndpoint — Streamable HTTP transport, stateful/stateless modes.
  • Mcp.Tools — tool-entry fields, inputs: / result: / catches: semantics.

Composition Notes

  • Multiple bundles into one transport. tools: [WeatherTools, DatabaseTools] merges entries from both bundles. Duplicate names across bundles throw at init.
  • One bundle into multiple transports. Reference the same Mcp.Tools from both Mcp.StdioServer and Mcp.HttpEndpoint — registrations are independent per-transport, no shared runtime state.
  • isError vs. catches:. isError: true on result signals a soft tool failure rendered as content. catches: is for actual throws and produces a JSON-RPC error envelope.

Out of Scope for v1

  • Mcp.Resources and Mcp.Prompts runtime dispatch — schemas land in v1, controllers in v2.
  • Streaming tool content / progress notifications.
  • Streamable HTTP idle-session GC and max-sessions cap (sessions live until Http.Server shuts down).
  • Server-initiated sampling, roots, OAuth.
  • A polymorphic Telo.Mount dispatch protocol — Mcp.HttpEndpoint duck-types register(app, prefix) to satisfy Http.Server's mount loop today.