Skip to content

Commit a6f013f

Browse files
mstuartclaude
andcommitted
chore: prepare for npm publish — fix peer deps, add sideEffects, update README, add metadata
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2b573a3 commit a6f013f

5 files changed

Lines changed: 43 additions & 5 deletions

File tree

.github/SECURITY.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Security Policy
2+
3+
## Reporting a Vulnerability
4+
5+
If you discover a security vulnerability, please report it responsibly:
6+
7+
1. **Do not** open a public issue
8+
2. Email the maintainer or use [GitHub's private vulnerability reporting](https://github.com/mstuart/graphql-agent-toolkit/security/advisories/new)
9+
3. Include steps to reproduce and potential impact
10+
11+
We will acknowledge receipt within 48 hours and aim to release a fix within 7 days for critical issues.
12+
13+
## Supported Versions
14+
15+
| Version | Supported |
16+
|---------|-----------|
17+
| 0.1.x | Yes |

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![npm version](https://img.shields.io/npm/v/graphql-agent-toolkit.svg)](https://www.npmjs.com/package/graphql-agent-toolkit)
55
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
66

7-
Turn any GraphQL API into AI-agent-ready tools -- MCP servers, LangChain tools, and standalone SDKs.
7+
Turn any GraphQL API into AI-agent-ready tools -- MCP servers, LangChain tools, and framework adapters.
88

99
**graphql-agent-toolkit** introspects a GraphQL endpoint, generates typed operations, and exposes them as tools that AI agents can discover and call. It supports the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) out of the box, so you can connect any MCP-compatible AI client to any GraphQL API in seconds.
1010

@@ -23,9 +23,17 @@ npx graphql-agent-toolkit serve --endpoint https://your-api.com/graphql
2323
## Installation
2424

2525
```bash
26-
npm install graphql-agent-toolkit
26+
npm install graphql-agent-toolkit graphql
2727
```
2828

29+
## Requirements
30+
31+
- Node.js >= 18.0.0
32+
- `graphql` >= 16.0.0 (peer dependency)
33+
- TypeScript >= 5.0 (optional, for type definitions)
34+
35+
Fully written in TypeScript with complete type exports for all public APIs.
36+
2937
## Features
3038

3139
- **Schema Introspection** -- Automatically fetches and parses any GraphQL schema

package-lock.json

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,12 @@
4141
"agent",
4242
"toolkit",
4343
"langchain",
44-
"model-context-protocol"
44+
"model-context-protocol",
45+
"crewai",
46+
"vercel-ai",
47+
"introspection",
48+
"typescript",
49+
"sdk"
4550
],
4651
"author": "Mark Stuart",
4752
"license": "MIT",
@@ -53,17 +58,21 @@
5358
"bugs": {
5459
"url": "https://github.com/mstuart/graphql-agent-toolkit/issues"
5560
},
61+
"sideEffects": false,
5662
"engines": {
5763
"node": ">=18.0.0"
5864
},
65+
"peerDependencies": {
66+
"graphql": "^16.12.0"
67+
},
5968
"dependencies": {
6069
"@modelcontextprotocol/sdk": "^1.26.0",
6170
"commander": "^14.0.3",
62-
"graphql": "^16.12.0",
6371
"graphql-request": "^7.4.0",
6472
"zod": "^4.3.6"
6573
},
6674
"devDependencies": {
75+
"graphql": "^16.12.0",
6776
"@types/node": "^25.2.3",
6877
"@typescript-eslint/eslint-plugin": "^8.55.0",
6978
"@typescript-eslint/parser": "^8.55.0",

0 commit comments

Comments
 (0)