Skip to content
Gram

Introducing Gram

Gram is the fastest way to build a production-ready MCP server.

It is a platform that enable any company to create, curate and host agentic tools for your APIs.

Agents mainly interact with APIs through the 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 existing APIs.

But creating, deploying, hosting, and managing 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 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.

From REST to MCP: Create and then Curate with Gram.

Section titled “From REST to MCP: Create and then Curate with Gram.”

A great MCP server is not a 1:1 mapping to your REST API.

Existing REST API are a starting point, but to create a functional MCP server, you need to perform additional steps:

  1. Scope tools - Presented with the list of all the operations in an API, LLMs struggle to choose the right tool to accomplish a job. This is due to their limited context window. To improve performance, scope the API operations to only include the most relevant ones. Less is more when it comes to MCP. Gram gives you the ability to create toolsets to scope and slice up your API specs.
  2. Add Context - A user reading an API reference is coming in with some implicit context about the relevant business domain. The same is not true of an LLM examining a list of tools on an MCP server. It is up to the MCP server maintainer to make sure the server provides the LLM with the context it needs. Adding rich tool descriptions, prompts, and examples, greatly improves the performance of the MCP server. Focus on the when and why of the tool. Gram gives you the ability to add additional context to your tools.
  3. Define Workflows - REST APIs are resource-oriented: create a company, update the contact field, etc. MCP servers work best when they’re workflow-based: “summarize recent channel activity”. Gram gives you the ability to distribute custom tools that wrap multiple API endpoints and additional steps as a single tool.

Gram makes tool creation & curation easy. Tools are bootstrapped by pulling API paths, input schemas, security schemes, and descriptions out of OpenAPI documents. From there, the Gram platform can be used to curate the toolsets further.

  • Remove unnecessary tools
  • Combine tools into use case specific toolsets.
  • Fine-tune individual tools with better desciriptions and custom prompts
  • Create custom toolsets to map a workflow
  • Test and iterate on tools in the LLM playground

MCP server models

People use MCP in various ways, broadly categorized as follows:

  • Local: A developer downloads an MCP server to their developer machine, and configures an MCP client, like Claude or Cursor, to use the tools provided in that server.
  • Remote: A system administrator downloads an MCP server to a company-accessible server. Anyone at the company can configure their MCP client to interact with a company-accessible tool via this server.
  • Managed: The API producer hosts and manages the MCP server, allowing any of its customers to configure their MCP clients to connect to the server and use the API.

Currently, MCP servers are mostly local (hosted by API consumers), which creates friction through replicated setup work and lack of centralized control. We believe the industry will evolve toward Managed MCP servers, where API producers handle hosting, security, and enterprise features.

Once tools have been curated, the MCP server is ready to deploy. Every toolset automatically comes with an MCP server hosted at a Gram managed URL. Custom domains can be linked to created a branded, 1st party MCP server at mcp.{{your-domain}}.com/{{server-name}}

Gram provides completely managed hosting of MCP servers or self-hosted.