AppSync

A zero-dependency, in-process fake of AWS AppSync (GraphQL APIs).

PropertyValue
Port4728
ProtocolREST/JSON (paths under /v1)
HealthcheckGET /_parlel/health
ResetPOST /_parlel/reset

Quick start

AWS_REGION=us-east-1
AWS_ENDPOINT_URL=http://127.0.0.1:4728
AWS_ACCESS_KEY_ID=parlel
AWS_SECRET_ACCESS_KEY=parlel

Implemented operations

OperationPath
CreateGraphqlApiPOST /v1/apis
ListGraphqlApisGET /v1/apis
GetGraphqlApiGET /v1/apis/{apiId}
DeleteGraphqlApiDELETE /v1/apis/{apiId}
CreateDataSourcePOST /v1/apis/{apiId}/datasources
ListDataSourcesGET /v1/apis/{apiId}/datasources
CreateResolverPOST /v1/apis/{apiId}/types/{typeName}/resolvers
ListResolversGET /v1/apis/{apiId}/types/{typeName}/resolvers
(resolve)POST /v1/apis/{apiId}/resolve

The trivial resolver dispatch at /v1/apis/{apiId}/resolve echoes the request arguments back under the resolved fieldName.

SDK example

import { AppSyncClient, CreateGraphqlApiCommand } from "@aws-sdk/client-appsync";

const appsync = new AppSyncClient({
  region: "us-east-1",
  endpoint: "http://127.0.0.1:4728",
  credentials: { accessKeyId: "parlel", secretAccessKey: "parlel" },
});

const { graphqlApi } = await appsync.send(
  new CreateGraphqlApiCommand({ name: "myapi", authenticationType: "API_KEY" }),
);
console.log(graphqlApi?.uris?.GRAPHQL);

Access via MCP / preview URL

Reachable through the parlel pool MCP bridge and preview URL. No auth setup required.

Surface coverage

This emulator faithfully replicates the API surface most application code and agents exercise. Anything below the supported lines is either an intentional design choice for a fast, zero-cost local emulator (✓ By design) or a candidate for a future release (⟳ Roadmap) — never a silent inaccuracy.

Legend: ✅ fully supported · ◐ accepted (stored, not strictly enforced) · ✓ by design · ⟳ on the roadmap.

AreaStatusNotes
GraphQL execution✓ by designNo real engine; resolver dispatch echoes
Schema management⟳ roadmapSchema upload/introspection not modeled
VTL templates◐ acceptedStored but not evaluated
Auth enforcement✓ by designTypes recorded but not enforced
Pagination⟳ roadmapList operations return all items
CloudWatch logging⟳ roadmaplogConfig not modeled
X-Ray tracing✓ by designxrayEnabled stored but not enforced
Caching⟳ roadmapCachingConfig not modeled
Pipeline resolvers⟳ roadmappipelineConfig not modeled

Error codes & shapes

Errors follow the real AWS AppSync format: { "__type": "...", "message": "..." } with x-amzn-errortype header.

ErrorStatusWhen
BadRequestException400Missing required field, invalid JSON
NotFoundException404API or resource not found
UnknownOperationException404Unknown route/method
InternalFailureException500Server error

Manifest

{
  "name": "appsync",
  "version": "0.1",
  "port": 4728,
  "protocol": "http",
  "healthcheck": "/_parlel/health"
}
<!-- parlel:testenv:start -->

Configuration — test.env

Copy these into your test.env (used by the bridge sidecar flow). Tokens are Parlel's seeded test credentials — any non-empty value is accepted by the emulator, so you rarely need to change them. Swap in real credentials only when pointing at the live service in prod.env.

AWS_ACCESS_KEY_ID=parlel
AWS_SECRET_ACCESS_KEY=parlel
AWS_REGION=us-east-1
AWS_ENDPOINT_URL=http://parlel-bridge:4728
<!-- parlel:testenv:end -->