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

@supernova123/grpc-mcp-server

v0.1.2

Published

MCP server for gRPC — service discovery via server reflection, method invocation, type schema inspection for Claude, Cursor, and AI agents

Downloads

78

Readme

@supernova123/grpc-mcp-server

Connect AI agents to any gRPC service — no proto files needed.

Most gRPC services are invisible to AI tools. This MCP server uses gRPC Server Reflection to auto-discover services, methods, and types at runtime, then exposes them as callable tools for Claude, Cursor, and any MCP-compatible agent.

Why This Matters

gRPC powers Kubernetes, Istio, Envoy, and thousands of microservices — but AI agents can't talk to any of them. Until now, you'd need to manually define proto schemas, generate clients, and wire everything together. This server does it automatically: point it at any gRPC endpoint with reflection enabled, and it discovers everything.

Use cases:

  • Debug microservices by invoking RPCs directly from Claude
  • Inspect live service meshes (Istio, Envoy) without kubectl
  • Build AI-powered ops tools that query gRPC health endpoints
  • Prototype API integrations without writing client code
  • Test gRPC services during development with natural language

Tools

| Tool | Description | |------|-------------| | connect_endpoint | Connect to a gRPC server and auto-discover all services via reflection | | list_services | List every gRPC service on the connected endpoint | | list_methods | List all RPC methods for a service (unary, server-stream, client-stream, bidi) | | get_service_descriptor | Get full service schema: methods, request/response types, streaming modes | | invoke_rpc | Call any RPC method with a JSON-serialized request body | | health_check | Standard gRPC Health Checking Protocol (v1) | | disconnect | Clear cached service data and disconnect |

Quick Start

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "grpc": {
      "command": "npx",
      "args": ["-y", "@supernova123/grpc-mcp-server"],
      "env": {
        "GRPC_ENDPOINT": "localhost:50051"
      }
    }
  }
}

Cursor / VS Code

{
  "mcp": {
    "servers": {
      "grpc": {
        "command": "npx",
        "args": ["-y", "@supernova123/grpc-mcp-server"],
        "env": {
          "GRPC_ENDPOINT": "localhost:50051"
        }
      }
    }
  }
}

Direct

npx @supernova123/grpc-mcp-server

Example Usage

  1. Connect to a gRPC server:

    connect_endpoint(endpoint="localhost:50051")
  2. Discover available services:

    list_services()
  3. Inspect a service's methods:

    list_methods(service_name="grpc.health.v1.Health")
  4. Invoke an RPC:

    invoke_rpc(
      service_name="grpc.health.v1.Health",
      method_name="Check",
      request={"service": ""}
    )

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | GRPC_ENDPOINT | Target gRPC endpoint (host:port) | (none — use connect_endpoint) | | GRPC_TIMEOUT_MS | Request timeout in milliseconds | 10000 | | GRPC_USE_TLS | Enable TLS connections | false |

Requirements

Most gRPC servers have reflection enabled in development. For production servers, ensure grpc.reflection.V1Reflection is registered.

How It Works

  1. Connects to your gRPC endpoint via the reflection API
  2. Fetches the full service descriptor (services → methods → types)
  3. Dynamically generates MCP tool definitions from the schema
  4. Invokes RPCs by serializing JSON requests to protobuf and back

No proto files. No code generation. No compile step.

License

MIT