Socket
Book a DemoInstallSign in
Socket

@gram-ai/create-function

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gram-ai/create-function

Build AI tools and deploy them to getgram.ai

latest
Source
npmnpm
Version
0.8.1
Version published
Maintainers
4
Created
Source

Gram Function MCP Template

This template allows you to use the official MCP TypeScript SDK to build and deploy Gram Functions.

Use Gram Functions to build tools and resources for MCP servers. They can do arbitrary tasks such as fetching data from APIs, performing calculations, or interacting with hosted databases.

Prerequisites

  • Node.js version 22.18.0 or later
  • Gram CLI

Quick start

To get started, install dependencies and run the development server:

pnpm install

To build a zip file that can be deployed to Gram, run:

pnpm build

After building, push your function to Gram with:

pnpm push

Testing Locally

If you want to poke at the tools you've built during local development, you can start a local MCP server over stdio transport with:

pnpm dev

Specifically, this command will spin up MCP inspector to let you interactively test your tools and resources.

FAQs

Package last updated on 03 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts