pmcp

@pothos/core 4.x

Use @pothos/core ^4.0.0 to build executable GraphQL schemas, account for v4 nullability and ID defaults, use context caching, and write/register typed plugins.

For
@pothos/core@4.13.1
Verified
2026-09-07, 7 examples executed
Package
@modootoday/pmcp-pothos-core@4.0.0

What it covers

One example from this skill

This is the skill's own text, not a summary of it. It runs: that is what verifying means here.

import assert from 'node:assert/strict';
import SchemaBuilder from '@pothos/core';

const builder = new SchemaBuilder({});

builder.queryType({
  fields: (t) => ({
    hello: t.string({
      args: {
        name: t.arg.string(),
      },
      resolve: (_parent, { name }) => `hello, ${name || 'World'}`,
    }),
  }),
});

const schema = builder.toSchema();
const query = schema.getQueryType();
assert.ok(query);
assert.ok(query.getFields().hello);
assert.equal(query.getFields().hello.type.toString(), 'String');
assert.equal(query.getFields().hello.args[0]?.name, 'name');

What it did in the sandbox

Verifying this skill meant installing the package and running code against it with no route out. Nothing was observed. The full ledger lists every package examined, including the ones that never became a skill.

Nothing observed is not a finding of safety. It means one run, under one policy, produced nothing to report.

Getting it

With a subscription:

npx -y @modootoday/pmcp login
npx -y @modootoday/pmcp install @modootoday/pmcp-pothos-core

It installs as a dev dependency of your project, and the MCP server finds it there like any other skill.