apollo-server

Guide building GraphQL servers with Apollo Server 5.x in Node.js.

102|12|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/apollographql/skills --skill apollo-server-apollographql
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apollo-server
Source: https://github.com/apollographql/skills/tree/main/skills/apollo-server
Command: npx skills add https://github.com/apollographql/skills --skill apollo-server-apollographql

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and examples for building, configuring, and deploying GraphQL servers using Apollo Server 5.x, addressing challenges in schema design, resolver implementation, authentication, and performance optimization.

Core Features & Use Cases

  • Server Setup: Step-by-step instructions for setting up standalone or integrated Apollo Server instances.
  • Schema & Resolvers: Guidance on defining GraphQL schemas, writing efficient resolvers, and handling context.
  • Authentication & Authorization: Implement secure access control mechanisms.
  • Plugins & Data Sources: Learn to extend server functionality and integrate with external data.
  • Use Case: You need to create a new GraphQL API for your web application, requiring secure user authentication, efficient data fetching, and clear schema definition. This Skill will guide you through the entire process from setup to deployment.

Quick Start

Use the apollo-server skill to set up a new Apollo Server 5.x project with Express integration.

Frequently Asked Questions about apollo-server

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a GraphQL server with Apollo Server and Express?

To set up an Apollo Server, integrate the standalone or integrated instance with Express. This Skill provides step-by-step instructions for configuring Apollo Server 5.x in Node.js environments.

How do I implement authentication and authorization in a GraphQL API?

Implementing authentication and authorization in a GraphQL API requires secure access control mechanisms. This Skill provides guidance on integrating authentication directly within your Apollo Server resolvers and context.

Can I extend Apollo Server functionality with plugins and external data sources?

Yes, you can extend Apollo Server with plugins and data sources. This Skill explains how to integrate external data and add server functionality using the Apollo Server 5.x plugin architecture.

How do I handle error handling and performance optimization for Node.js GraphQL APIs?

Handling error handling and performance optimization for Node.js GraphQL APIs involves specific Apollo Server configurations. This Skill addresses common challenges in server setup to improve performance and manage errors.