Introducing Gram ๐

Gram is the complete MCP cloud. Create and curate high quality agentic tools. Deploy and host your MCP servers in minutes. Secure, complete with OAuth and ready to scale in for production usage.
The Model Context Protocol (MCP)ย
import { Gram } from "@gram-ai/functions";
import * as z from "zod/mini";
const gram = new Gram().tool({
name: "greet",
description: "Greet someone special",
inputSchema: { name: z.string() },
async execute(ctx, input) {
return ctx.text(`Hello, ${input.name}!`);
},
});
export default gram;Use Gram to build out MCP servers for your product, power chat expereinces in your product or surface the right data to AI agents to automate workflows.
Why MCP?
LLMs and Agents need access to context specific data to perform useful tasks. This data is often found behind an authenticated service, in a database or stored content. Model Context Protocol (MCP)ย
Since it was announced by Anthropic in November 2024, MCP has seen an unprecedented rate of adoption, quickly becoming the de facto standard. Companies like Microsoft, Google, OpenAI, and Cloudflare (among many others) have embraced it and offer MCP servers as a new way to interact with their products and APIs.
But creating, deploying, hosting, and managing the lifecycle of MCP servers remains confusing and challenging. Although MCP follows a familiar client-server model, it creates confusion about who should build, own, manage, and maintain the server. With APIs, itโs always been clear. The producer (like Stripe) hosts the API, and the consumer (for example, an online shop) uses that API. With MCP, hosting models vary: Developers often โhostโ MCP servers on their own machines, or companies host them internally for team-wide access to internal apis or third-party integrations..
We think that companies will naturally gravitate to hosting and managing their own MCP servers, and we built Gram to make that easy.
Why Gram?
Gram is aimed to give you a comprehensive experience and unlock the value of MCP without the need to build complete servers.
To realise this vision Gram is built with the following principles:
๐น Simplicity: Easy to use, easy to understand, easy to maintain.
๐น Performant and Managed: Fast and serverless infrastructure that you can rely on.
๐น Secure: Built in security and best practices for working with agentic tools.
๐น Works with your stack: Helps you leverage existing APIs to bootstrap tools.
Gram is made with love โค๏ธ and โ๏ธ by the team at Speakeasy.
LLM-Friendly Docs
This documentation site is also available in llms.txtย
The llms.txt references two ways to access the LLM-friendly documentation:
llms-small.txtis an abridged developer documentation for the site.llms-full.txtcontains the entire documentation. Note this may exceed the context window of your LLM.
In addition, any page can be copied into markdown or opened into popular LLM chat clients like ChatGPT or Claude by using the drop down at the top of the right hand nav bar.
Further Reading
- Building tools in TypeScript using Gram Functions
- Getting started with Gram using an API spec
- Bring an existing MCP server to Gram
- For resources on MCP see our MCP hub
- Adding OAuth to your MCP server
- CLI reference
Last updated on