Frequently Asked Questions

Product Information & AI Agent Building

What is the Model Context Protocol (MCP) and why is it important for building AI agents?

MCP (Model Context Protocol) is a standard that enables large language models (LLMs) to dynamically discover and use external tools at runtime. Instead of hardcoding functions, MCP exposes a list of tools the AI can call based on the server’s capabilities. This unlocks dynamic tool discovery, standardized schemas, and plug-and-play agent extensions, giving AI agents real-world awareness and flexibility without relying on brittle prompt injection or custom wrappers. (Source)

How can I build an AI agent using TypeScript and MCP?

To build an AI agent with TypeScript and MCP, you create an MCP server that exposes tools (such as getWeather and searchWeb), set up a TypeScript client to handle user messages and interact with the AI model, and connect everything via endpoints. The process involves defining tool schemas, implementing endpoints for tool listing and calling, and wiring up a Node.js backend to manage conversations and tool calls. You can follow a step-by-step guide and watch a live coding session by Dino, Staff Engineer at Hygraph, here. (Source)

How does Hygraph MCP extend the capabilities of AI agents?

Hygraph MCP allows AI agents to access content models, run queries, and manipulate schema inside a real CMS with minimal configuration. By plugging in Hygraph’s MCP server, your AI agent can interact with structured content, making it ideal for applications that require dynamic content management and integration with external data sources. (Source)

Features & Capabilities

What are the key features of Hygraph?

Hygraph offers a range of features including Smart Edge Cache for enhanced performance, Content Federation to integrate data from multiple sources, Rich Text SuperPowers for advanced formatting, Custom Roles for granular access control, Project Backups for data safety, and developer-friendly APIs. It also supports seamless integration with eCommerce, localization, and other systems, and is SOC 2 Type 2, ISO 27001, and GDPR compliant. (Source)

Does Hygraph support API integrations?

Yes, Hygraph provides GraphQL Content API, GraphQL Management API, Public API, and supports both REST and GraphQL APIs for connecting with external systems. For more details, visit the Hygraph Documentation.

What integrations are available with Hygraph?

Hygraph integrates with a wide range of platforms including digital asset management (Aprimo, AWS S3, Bynder, Cloudinary, Mux, Scaleflex Filerobot), hosting and deployment (Netlify, Vercel), headless commerce (BigCommerce, commercetools, Shopify), localization (Lokalise, Crowdin, EasyTranslate, Smartling), personalization (Ninetailed), AI (AltText.ai), and more. Explore the full list in the Hygraph Integrations Documentation.

Use Cases & Benefits

Who can benefit from using Hygraph?

Hygraph is designed for developers, IT decision-makers, content creators, project managers, agencies, solution partners, and technology partners. It is especially valuable for modern software companies, enterprises looking to modernize, brands scaling across geographies, and organizations re-platforming from legacy solutions. (Source)

What business impact can customers expect from using Hygraph?

Customers can expect significant business impacts such as up to 3X faster time-to-market (Komax), 20% increase in website monetization (AutoWeb), 15% higher customer engagement (Samsung), scalability across 40+ global markets, 7X higher content velocity, and 125% growth in traffic. These outcomes are supported by real-world case studies. (Source)

What industries are represented in Hygraph's customer case studies?

Hygraph's case studies span industries including eCommerce, automotive, healthcare, consumer electronics, media and publishing, food and beverage, travel and hospitality, engineering, government, and SaaS. For detailed insights, visit the Hygraph Case Studies Page.

Can you share specific customer success stories using Hygraph?

Yes. Komax achieved 3X faster time to market and managed 20,000+ product variations across 40+ markets. Samsung saw a 15% increase in customer engagement. Dr. Oetker ensured global consistency with MACH architecture. HolidayCheck improved workflow efficiency by reducing developer bottlenecks. Sennheiser increased e-commerce conversions by 136.7% within 4 months. Stobag improved online revenue share from 15% to 70%. Read more on the Hygraph Case Studies Page.

Technical Requirements & Getting Started

How easy is it to implement Hygraph and get started?

Hygraph is recognized as the #1 easiest to implement headless CMS. For example, Top Villas launched a new project in just 2 months. Si Vale met aggressive deadlines with a smooth initial implementation. Hygraph offers a free API playground, structured onboarding (introduction call, account provisioning, kickoff sessions), and two onboarding options for building or practicing frontend integration. (Source)

What resources do I need to get started with Hygraph?

To get started, you need a Hygraph account (free developer account available), basic GraphQL knowledge (optional), and for developers, tools like a code editor, Node.js, and a hosting platform (e.g., Netlify) for frontend integration. Extensive documentation and onboarding guides are available at Getting Started.

What technical documentation is available for Hygraph?

Hygraph provides comprehensive documentation including API references, guides for content workflows, webhooks, and interactive API playgrounds. Visit the Hygraph Documentation Page for details.

Support & Implementation

What customer service and support does Hygraph offer?

Hygraph provides 24/7 support via chat, email, and phone. Enterprise customers benefit from SLAs with critical issue resolution in less than an hour, structured onboarding, a dedicated Customer Success Manager, extensive documentation, a community Slack channel, Intercom chat, and comprehensive training resources. (Source)

How does Hygraph handle maintenance, upgrades, and troubleshooting?

Hygraph’s cloud-based infrastructure handles all maintenance tasks, including server updates, security patches, and performance optimizations. Upgrades are automatic, and troubleshooting is supported by audit logs, monitoring, and performance reporting. Customers have access to 24/7 support and extensive documentation. (Source)

What training and technical support is available for new Hygraph customers?

Hygraph offers onboarding support (introduction call, account provisioning, business/technical/content kickoffs), regular technical training sessions, webinars, live streams, hands-on guidance, and consultation on content strategy and system migrations. Technical support is available 24/7 via chat, email, phone, and community channels. (Source)

Security & Compliance

What security and compliance certifications does Hygraph have?

Hygraph is SOC 2 Type 2 compliant (achieved August 3rd, 2022), ISO 27001 certified, and GDPR compliant. These certifications ensure enhanced security and adherence to global standards for information security management. (Source)

How does Hygraph ensure data security and compliance?

Hygraph uses granular permissions, audit logs, encryption at rest and in transit, SSO integrations, automatic backups, and supports enterprise-grade compliance with dedicated hosting, custom SLAs, and security certifications. Security incidents can be reported, and a security and compliance report is available here. (Source)

Performance & Customer Feedback

What do customers say about the ease of use of Hygraph?

Customers consistently praise Hygraph for its intuitive user interface, logical setup, and accessibility for non-technical users. The editor UI is clear, and customization features are easy to use. The platform streamlines workflows for both content editors and developers, making it a preferred choice for user-friendly content management. (Source)

What performance metrics does Hygraph deliver?

Hygraph delivers high-performance endpoints with low latency and high read-throughput, optimized content delivery, and measurable benefits such as 7X higher content velocity, 125% growth in traffic, 120% more website clicks, and support for 40+ global markets and 100+ stakeholders. (Source)

Customer Proof

Who are some of Hygraph's customers?

Hygraph is trusted by leading brands such as Sennheiser, HolidayCheck, Ancestry, JDE, Dr. Oetker, Ashley Furnitures, Lindex, Hairhouse, Komax, Shure, Stobag, Burrow, G2I, Epic Games, Bandai Namco, Gamescom, Leo Vegas, Codecentric, Voi, and Clayton Homes. (Source)

Introducing the Hygraph MCP Server

Building an AI-agent with TypeScript and MCP

Dino, Staff Engineer at Hygraph and the lead behind our AI Labs initiative, walks you through how to build a working TypeScript MCP client from scratch.
Enxhi Hamzallari

Written by Enxhi 

Jul 30, 2025
Livestream Recap: How to Build a TypeScript MCP Client

If you're experimenting with AI agents and looking to move beyond simple LLM prompts, this guide is for you. In this session, Dino, Staff Engineer at Hygraph and the lead behind our AI Labs initiative, walks you through how to build a working TypeScript MCP client from scratch.

We’re going hands-on. No fluff, just real code. By the end, you’ll understand how to connect an AI model with external tools and APIs using the Model Context Protocol (MCP) and why that matters for building powerful AI-native applications.

Editor's Note

Bonus: You can watch the full livestream here to follow along with Dino’s live-coding session.

#What we’re building

You’ll create a basic MCP client that allows an AI agent to:

  • Receive a user message
  • Dynamically query an MCP server
  • Use an external tool like a weather API
  • Return a structured, intelligent response

All using TypeScript, Node.js, and a simple frontend.

#What is MCP and why should you care?

MCP (Model Context Protocol) is a standard that lets LLMs (called MCP clients) discover and use external tools dynamically. Instead of hardcoding a fixed set of functions, you expose a list of tools at runtime, and the AI knows what it can call based on the server’s capabilities.

MCP unlocks:

  • Dynamic tool discovery
  • Standardized schemas
  • Plug-and-play agent extensions

In short, it gives your AI superpowers without relying on brittle prompt injection or custom wrappers.

#Step 1: Build the MCP server

Start by creating a small server that exposes two tools:

  • getWeather (calls a weather API)
  • searchWeb (mocked to show error handling)

Here’s what you need:

  • Define a /tools/list endpoint that returns JSON schema for each tool
  • Implement a /tools/call endpoint that parses the AI’s request and performs the right action

Dino used the OpenMeteo API for weather data and wrote basic logic to transform locations into coordinates, query the forecast, and return readable results.

Each tool’s schema should clearly describe:

how to build the MCP server

#Step 2: Set up the client in TypeScript

Next, you'll build the MCP client, which is technically your Node.js backend. It:

  • Accepts messages from the user via HTTP
  • Sends messages to the AI model (in this case, AWS Bedrock running Claude)
  • Parses responses and checks for tool calls
  • If needed, calls the MCP server and sends results back to the AI for final output

Set up the client in TypeScript

The conversation loop looks like this:

  1. User says “What’s the weather in Berlin?”
  2. AI responds: “I’ll use the weather tool”
  3. AI emits tool call: getWeather({ location: "Berlin" })
  4. Node.js client invokes the MCP server and sends results back to the AI
  5. AI finalizes the response and replies to the user

Important: Dino used stdin/stdout as the transport protocol between client and MCP server for simplicity. MCP also supports HTTP if you're going the API route.

#Step 3: Connect it all

Dino wired this all up in a lightweight Express app:

  • /api/conversations manages in-memory chats
  • /api/message triggers the AI+MCP pipeline
  • Frontend is React, but very minimal

He also included logic to:

  • Translate MCP tool schemas to match the AI provider’s expectations
  • Handle multiple tools in a single conversation
  • Filter/structure messages based on roles (user, assistant, tool)

⚠️ Tip: Always manage the full conversation server-side to prevent prompt injection attacks. Don’t expose the full message history to the frontend.

#Step 4: Extend with Hygraph MCP

At the end of the livestream, Dino showed how easy it is to plug in Hygraph’s own MCP server. With one line added to your config, your AI agent can start accessing content models, running queries, and manipulating schema inside a real CMS.

If you’re building anything that touches content or structured data, this is where things get really exciting.

Extend with Hygraph MCP

#Why this matters

LLMs are only as smart as the context and tools you give them. By integrating with MCP, your AI agents gain real-world awareness, decision-making power, and dynamic capabilities that go far beyond chat.

Whether you’re building internal automations, dev tools, or next-gen CMS experiences, the TypeScript MCP client approach gives you full control and flexibility.

Want to see it in action? Watch the livestream with Dino to follow along as he builds and debugs live.

Curious about AI-native content management?
Check out hygraph.ai to explore our vision for building with AI and structured content at the core.

Blog Author

Enxhi Hamzallari

Enxhi Hamzallari

Sr. Field Marketing Manager

Enxhi is the Senior Field Marketing Manager at Hygraph. When she’s not bringing people together through content and events, you’ll find her dancing the night away or cheering on her favorite drag queens.

Share with others

Sign up for our newsletter!

Be the first to know about releases and industry news and insights.