apollo-server
Guide for building GraphQL servers with Apollo Server 5.x.
Skill by apollographql
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/relvorlabs-apollo-server
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, data, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/apollo-server
Tools it pre-approves 8
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Bash(npm:*)Bash(npx:*)Bash(node:*)ReadWriteEditGlobGrep
What's inside
- Skill name
apollo-server- Description
- Guide for building GraphQL servers with Apollo Server 5.x. Use this skill when: (1) setting up a new Apollo Server project, (2) writing resolvers or defining GraphQL schemas, (3) implementing authentication or authorization, (4) creating plugins or custom data sources, (5) troubleshooting Apollo Server errors or performance issues.
- License
- MIT
- Compatibility
- Node.js v20+, TypeScript 4.7+. Works with Express v4/v5, standalone, Fastify, and serverless.
- Allowed tools
- Bash(npm:*), Bash(npx:*), Bash(node:*), Read, Write, Edit, Glob, Grep
- Metadata
- author: apollographql · version: 1.0.0
- Instructions
- 279 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves some shell commands
Files (7)
- SKILL.md
- context-and-auth.md · references/
- data-sources.md · references/
- error-handling.md · references/
- plugins.md · references/
- resolvers.md · references/
- troubleshooting.md · references/
SKILL.md (first lines)
# Apollo Server 5.x Guide
Apollo Server is an open-source GraphQL server that works with any GraphQL schema. Apollo Server 5 is framework-agnostic and runs standalone or integrates with Express, Fastify, and serverless environments.
## Quick Start
### Step 1: Install
```bash
npm install @apollo/server graphql
```
For Express integration:
```bash
npm install @apollo/server @as-integrations/express5 express graphql cors
```
### Step 2: Define Schema
```typescript
const typeDefs = `#graphql
type Book {
title: String
author: String
}
type Query {
books: [Book]
}
`;
```
### Step 3: Write Resolvers
```typescript
const resolvers = {
Query: {
books: () => [
{ title: "The Great Gatsby", author: "F. Scott Fitzgerald" },
{ title: "1984", author: "George Orwell" },
],
},
};
```
### Step 4: Start Server
**Standalone (Recommended for prototyping):**
The standalone server is great for prototyping, but for production services, we recommend integrating Apollo Server with a more fully-featured web framework such as Express, Koa, or Fastify. Swapping from the standalone server to a web framework later is straightforward.
```typescript
import { ApolloServer } from "@apollo/server";
import { startStandaloneServer } from "@apollo/server/standalone";
const server = new ApolloServer({ typeDefs, resolvers });
const { url } = await startStandaloneServer(server, {
listen: { port: 4000 },
});
console.log(`Server ready at ${url}`);
```
**Express:**
```typescript
import { ApolloServer } from "@apollo/server";
import { expressMiddleware } from "@as-integrations/express5";
import { ApolloServerPluginDrainHttpServer } from "@apollo/server/plugin/drainHttpServer";
import express from "express";
import http from "http";
import cors from "cors";
const app = express();
const httpServer = http.createServer(app);
const server = new ApolloServer({
typeDefs,
resolvers,
plugins: [ApolloServerPluginDrainHttpServer({ httpServer })],
});
await server.start();
app.use(
"/graphql",
cors(),
express.json(),
expressMiddleware(server, {
context: async ({ req }) => ({ token: req.headers.authorization }),
}),
);
await new Promise<void>((resolve) => httpServer.listen({ port: 4000 }, resolve));
console.log("Server ready at http://localhost:4000/graphql");
```
## Schema Definition
### Scalar Types
- `Int` - 32-bit integer
- `Float` - Double-precision floating-point
- `String` - UTF-8 string
- `Boolean` - true/false
- `ID` - Unique identifier (serialized as String)
### Type Definitions
```graphql
type User {
id: ID!
name: String!
email: String
posts: [Post!]!
}From relvorlabs/agent-controller, MIT.
More from relvorlabs/agent-controller
- 0.479score
apollo-mcp-server
apollographql
Guide for using Apollo MCP Server to connect AI agents with GraphQL APIs.
SkillCFreshness: CClaude Code +9 - 0.469score
create-pr
relvorlabs
Creates GitHub pull requests with properly formatted titles that pass the check-pr-title CI validation.
SkillCFreshness: CClaude Code +9 - 0.467score
computer-vision-opencv
relvorlabs
Expert guidance for computer vision development using OpenCV, PyTorch, and modern deep learning techniques for image and video processing.
SkillCFreshness: CClaude Code +9 - 0.466score
communication-review-ng
relvorlabs
Critically review conversation, humanisation, reply-generation, or social-writing skills, prompts, workflows, and outputs.
SkillCFreshness: CClaude Code +9 - 0.458score
breakdown-plan
relvorlabs
Issue Planning and Automation prompt that generates comprehensive project plans with Epic > Feature > Story/Enabler > Test hierarchy, dependencies…
SkillCFreshness: CClaude Code +9 - 0.457score
conversation-ng
relvorlabs
Analyse and write natural Nigerian-context conversations for WhatsApp, Instagram DMs, X DMs, LinkedIn chats, dating, crushes, relationships, friendships…
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 9, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.0
- License
- MIT
- Repository
- github.com/relvorlabs/agent-controller
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from apollographql
- 0.740score
rust-best-practices
apollographql
Idiomatic Rust guide based on Apollo GraphQL's best practices handbook.
SkillBFreshness: B★ 125Claude Code +9 - 0.725score
Apollo MCP Server
apollographql
MCP server that exposes GraphQL operations as tools for AI models.
ConnectorAFreshness: ALocal★ 317Claude Code +5 - 0.689score
CLAUDE.md · apollographql/apollo-client
apollographql
CLAUDE.md from apollographql/apollo-client: 140 lines covering Apollo Client Overview, Common Development Commands, High-Level Architecture, Additional…
TemplateAFreshness: A★ 19.8KClaude Code - 0.522score
rust-best-practices
apollographql
Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook.
SkillDFreshness: D★ 85Claude Code +9 - 0.520score
GraphOS MCP Server
apollographql
Search Apollo docs, specs, and best practices
ConnectorBFreshness: BRemoteClaude Code +3 - 0.479score
apollo-mcp-server
apollographql
Guide for using Apollo MCP Server to connect AI agents with GraphQL APIs.
SkillCFreshness: CClaude Code +9
Cite this page
apollo-server skill. Agent Mart. https://agentmart.dev/skills/relvorlabs-apollo-server (last updated 2026-10-24)