
Grpc Invoke Mcp
io.github.grulexPublished by GitHub account grulexv0.1.5Updated Oct 24, 2026
MCP server for describing and invoking gRPC methods
Overview
A local MCP server that lets an AI assistant describe gRPC services and invoke unary gRPC methods using reflection or local .proto files.
- What you can do
- Inspect gRPC services, methods and message types, listing services or showing a method signature and request schema before calling it, via server reflection or local .proto files with import paths. Invoke unary gRPC methods with a JSON request body, sending custom metadata headers and connecting over TLS or plaintext HTTP/2 to local, staging or production-safe endpoints.
- When to use it
- Useful when an agent needs to explore a gRPC API, understand request and response schemas, or make targeted test calls during integration and debugging work without writing one-off scripts.
- Requirements
- Runs locally over stdio via npx, so Node.js and npx must be on the PATH. The npm package downloads a platform-specific binary at install time, which needs network access to GitHub Releases. Supported platforms are macOS (Apple Silicon and Intel), Linux x64/ARM64 and Windows x64/ARM64. The target gRPC server must be reachable and either expose reflection or have local .proto files available.
Installation
In SourceWeft
- Open Grpc Invoke Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
gRPC Invoke MCP
[npm version] [npm downloads] [license]
grpc-invoke-mcp is an MCP server for calling gRPC methods from AI agents like Claude Code, Codex, Cursor, and other MCP-compatible tools.
It gives agents a simple way to inspect gRPC APIs and invoke unary RPCs using either server reflection or local .proto files. This is useful when you want an agent to explore services, understand request and response schemas, make real gRPC calls, and test gRPC integrations during agent-driven development without writing one-off scripts.
Features
- Call gRPC methods from MCP-compatible agents
- Describe gRPC services, methods, and message types
- Use server reflection or local
.protofiles - Connect over TLS or plaintext HTTP/2
- Send custom metadata headers
- Pass JSON request bodies for unary RPCs
- Works with Claude Code, Codex, Cursor, and other MCP clients
Installation
Run the server with npx:
The package downloads a platform-specific grpc-invoke-mcp binary during installation.
Agent Setup
Claude Code
Project config file: .mcp.json
Optional CLI setup:
Codex
User config file: ~/.codex/config.toml
Optional CLI setup:
Cursor
Project config file: .cursor/mcp.json
You can also install it globally in ~/.cursor/mcp.json.
Available Tools
grpc_describe
Use this tool to inspect services, methods, and message types.
Common use cases:
- list services exposed by a gRPC server
- inspect a method signature before calling it
- explore message schemas through reflection
- describe APIs from local
.protofiles
grpc_call
Use this tool to invoke unary gRPC methods with a JSON request body.
Common use cases:
- call internal microservices from your agent
- test request and response payloads
- send auth headers or other gRPC metadata
- connect to local, staging, or production-safe endpoints
Example Prompts
- "Describe the services exposed by
localhost:50051using reflection." - "Show the request schema for
helloworld.Greeter/SayHello." - "Call
helloworld.Greeter/SayHelloonlocalhost:50051with{ \"name\": \"World\" }." - "Invoke
package.Service/Methodusingproto_filesandimport_pathsinstead of reflection."
How It Works
This package exposes an MCP server over stdio. Your agent starts it locally and discovers tools such as:
grpc_describefor schema inspectiongrpc_callfor unary RPC invocation
Under the hood, the npm package launches a native grpc-invoke-mcp binary bundled at install time. The binary supports:
- gRPC server reflection
- local
.protodefinitions - plaintext or TLS connections
- request metadata headers
Supported Platforms
The installer currently targets:
- macOS Apple Silicon
- macOS Intel
- Linux x64
- Linux ARM64
- Windows x64
- Windows ARM64
Troubleshooting
npx cannot start the server
Make sure Node.js and npx are installed and available in your PATH.
The binary download fails
The npm package downloads a release artifact during installation, so your machine needs network access to GitHub Releases.
Reflection does not work
If the target server does not expose gRPC reflection, use local .proto files and import_paths instead.
TLS or connection errors
Check the target host, port, TLS settings, and whether the server expects plaintext or TLS.
The agent does not use the MCP server
Confirm the config file is in the right location for your client, restart the client if needed, and verify the server appears in the MCP list or tools panel.
Why Use grpc-invoke-mcp
If you work with gRPC services, this MCP server lets AI agents inspect and call those services directly. Instead of translating API details by hand, you can let Claude Code, Codex, Cursor, or other MCP-compatible agents explore the contract and execute safe, targeted requests for debugging, integration work, API discovery, and gRPC testing in agent-driven development workflows.
License
MIT
Source: README.md at commit f7fced0
Tools
0Version history
1- v0.1.5LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts