Gram
Securely scale AI usage across your organization. Control plane for building, securing and monitoring your agents, mcp and skills.
What is Gram?
Gram is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to securely scale ai usage across your organization. control plane for building, securing and monitoring your agents, mcp and skills.
Securely scale AI usage across your organization. Control plane for building, securing and monitoring your agents, mcp and skills.
This server falls under the Monitoring & Observability category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Securely scale AI usage across your organization. Control pl
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx gramConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Gram
Gram is a control plane for building, securing, and monitoring AI agents and MCP tools at organizational scale, created by Speakeasy API. It lets teams define custom MCP tools from TypeScript functions or OpenAPI documents, enforce access controls, chain tools into higher-order compositions, and observe agent usage across the organization. Platform and infrastructure teams use Gram to govern AI tool access without requiring each developer to manage their own MCP server configurations.
Prerequisites
- A Gram account — sign up at getgram.ai
- Node.js 18+ for creating Gram Functions
- curl available for installing the Gram CLI
- An MCP-compatible client such as Claude Desktop or Claude Code
Install the Gram CLI
Download and install the Gram CLI using the official install script. This adds the 'gram' binary to your PATH.
curl -fsSL https://go.getgram.ai/cli.sh | bashAuthenticate with Gram
Log in to your Gram account via the CLI. This stores credentials locally so subsequent commands are authorized.
gram authCreate a new Gram Function project
Scaffold a new TypeScript-based tool project using the Gram Functions framework. Follow the interactive prompts to name and configure your project.
npm create @gram-ai/function@latestDefine and deploy a tool
Edit the generated project to define your tool using the Gram SDK, then deploy it to the Gram platform. Deployed tools are immediately available to authorized MCP clients.
Connect your MCP client to Gram
Configure your MCP client to connect to your Gram-managed endpoint. The CLI can output the correct config snippet for your client type.
gram mcp configGram Examples
Client configuration
Example Claude Desktop config pointing to a Gram-managed MCP endpoint. Replace the URL with the one provided by 'gram mcp config'.
{
"mcpServers": {
"gram": {
"command": "gram",
"args": ["mcp", "serve"]
}
}
}Prompts to try
Prompts that exercise Gram-managed tools once your agent and tools are deployed.
- "List all available Gram tools for my organization."
- "Run the 'add' tool with inputs a=5 and b=3."
- "Show me the audit log of tool invocations from the past 24 hours."
- "Which agents are currently registered in the Gram control plane?"
- "Deploy the new version of my OpenAPI-backed tool to Gram."Troubleshooting Gram
gram auth fails or credentials are not recognized
Ensure you have an active Gram account at getgram.ai. If the CLI was just installed, open a new terminal session so the PATH update takes effect. Run 'which gram' to confirm the binary is found.
Deployed tools do not appear in the MCP client
Run 'gram mcp config' to get the current connection details and verify they match what is in your client config. Restart your MCP client after any configuration change.
npm create @gram-ai/function fails
Ensure npm 7+ is installed (it ships with Node.js 15+). Run 'npm --version' to check. Update Node.js if necessary, then retry the scaffold command.
Frequently Asked Questions about Gram
What is Gram?
Gram is a Model Context Protocol (MCP) server that securely scale ai usage across your organization. control plane for building, securing and monitoring your agents, mcp and skills. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Gram?
Follow the installation instructions on the Gram GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Gram?
Gram works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Gram free to use?
Yes, Gram is open source and available under the AGPL-3.0 license. You can use it freely in both personal and commercial projects.
Gram Alternatives — Similar Monitoring & Observability Servers
Looking for alternatives to Gram? Here are other popular monitoring & observability servers you can use with Claude, Cursor, and VS Code.
Netdata
★ 78.9kReal-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Kubeshark
★ 11.9keBPF-powered network observability for Kubernetes. Indexes L4/L7 traffic with full K8s context, decrypts TLS without keys. Queryable by AI agents via MCP and humans via dashboard.
Mission Control
★ 4.9kSelf-hosted AI agent orchestration platform: dispatch tasks, run multi-agent workflows, monitor spend, and govern operations from one mission control dashboard.
Grafana
★ 3.0kThis MCP server enables natural-language querying of Grafana logs by automatically detecting log sources and service labels. It provides read-only access to log data with intelligent caching for efficient repeat queries.
Sentrux
★ 2.4kReal-time architectural sensor that helps AI agents close the feedback loop, enabling recursive self-improvement of code quality. Pure Rust.
OpenInference
★ 986OpenTelemetry Instrumentation for AI Observability
Browse More Monitoring & Observability MCP Servers
Explore all monitoring & observability servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Gram in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Gram?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.