grpc-mcp is a Node.js/TypeScript MCP server that enables gRPC unary requests and Protocol Buffer file information retrieval via natural language or MCP clients. Version 2.0.1 provides tools like loadProto, getMethodInformation, and sendRequest with support for SSL, timeout, and response time statistics. It uses @grpc/grpc-js for gRPC communication and fastmcp for the MCP framework. Key limitations: no streaming support, only unary RPCs. Alternative to direct gRPC clients for AI-assisted workflows.
npm install grpc-mcpNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import loader and client, load a proto file, get method info, and send a unary gRPC request.
Use a different gRPC client like @grpc/grpc-js directly for streaming.
Use loader.loadAsync() instead of loadProto tool for programmatic usage.
Wrap the object with JSON.stringify() before passing as body.
Use import syntax or use dynamic import() for CommonJS projects.
Use path.resolve() to create absolute paths from user input.
Install with npm install grpc-mcp. For CommonJS, use import() or switch to ESM.
Use import { loader } from 'grpc-mcp' instead of import loader from 'grpc-mcp'.Verify the service and method names using getMethodInformation tool.