Define agent tools in TypeScript & deploy as MCP servers
Gram Functions is a simple TypeScript framework that lets you define AI agent tools in code and deploy them as MCP servers to the Gram platform. No protocol knowledge or infrastructure management required. npm create @gram-ai/function
Hey PH! Nolan from Speakeasy here 👋
We're excited to share Gram Functions with you today, our open-source TypeScript framework for building agent tools.
Since launching Gram, we've learned that APIs aren't always the right abstraction for people building MCP servers. Sometimes the endpoints don't exist, don't map to actual business operations, or agents need capabilities that go beyond HTTP calls (like querying databases directly).
Gram Functions solves this by letting you define agent tools directly in TypeScript code. No OpenAPI specs. No MCP protocol expertise. No infrastructure to manage.
The framework is fully open source on GitHub. We'd love a star if you find it useful!
Whether you're wrapping internal APIs, orchestrating complex business logic, or building entirely new agent capabilities, Gram Functions gets you from code to production fast.
Can't wait to see what you all build with it 🚀
About Gram Functions on Product Hunt
“Define agent tools in TypeScript & deploy as MCP servers”
Gram Functions launched on Product Hunt on November 18th, 2025 and earned 118 upvotes and 4 comments, placing #17 on the daily leaderboard. Gram Functions is a simple TypeScript framework that lets you define AI agent tools in code and deploy them as MCP servers to the Gram platform. No protocol knowledge or infrastructure management required. npm create @gram-ai/function
On the analytics side, Gram Functions competes within Software Engineering, Developer Tools, Artificial Intelligence and GitHub — topics that collectively have 1.1M followers on Product Hunt. The dashboard above tracks how Gram Functions performed against the three products that launched closest to it on the same day.
Who hunted Gram Functions?
Gram Functions was hunted by fmerian. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.