51 Commits

Author SHA1 Message Date
Fahreddin Özcan
a1a935cbe7
Update Kiro install config and docs (#2474)
* docs: update Kiro install config

* docs: update Kiro deeplink
2026-04-17 14:23:16 +03:00
github-actions[bot]
c31528d0cd
chore(release): version packages (#2433) 2026-04-13 03:20:32 +03:00
Fahreddin Özcan
00833f9262
fix(mcp): preserve default CAs with NODE_EXTRA_CA_CERTS (#2432)
* fix(mcp): support NODE_EXTRA_CA_CERTS for enterprise MITM proxies

When NODE_EXTRA_CA_CERTS is set, reads the CA certificate file and
injects it into undici's global dispatcher. This fixes fetch failures
behind enterprise transparent SSL intercept proxies (Zscaler, etc.)
where the default TLS context does not trust the corporate CA.

The CA certs are also passed through when an explicit HTTPS_PROXY is
configured, so both proxy modes work with custom certificates.

Fixes #2268

This contribution was developed with AI assistance (Claude Code).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* chore: add changeset for NODE_EXTRA_CA_CERTS support

* fix(mcp): preserve default CAs with NODE_EXTRA_CA_CERTS

* chore: add changeset for CA trust fix

* chore: remove superseded changeset

* fix(mcp): lint test files with test tsconfig

* fix(mcp): use explicit test file path

* fix(mcp): support older Node TLS CA APIs

* test(mcp): run certificate test with vitest

---------

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 13:05:02 +03:00
github-actions[bot]
36463ad6e3
chore(release): version packages (#2351)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-06 20:41:52 +03:00
Enes Gules
83228794e4
docs: enhance library name guidelines in CLI and documentation (#2408) 2026-04-06 20:40:00 +03:00
vincent
658ec6796e
feat(mcp): add --version/-v flag to CLI (#2325)
* docs: add CLAUDE.md with Context7 integration guidelines

Add documentation for Claude Code integration including:
- Quick setup instructions
- Usage examples with popular libraries
- Auto-trigger rules for NestJS, Prisma, SvelteKit, etc.
- Best practices for library documentation queries

Closes #2272

* feat(mcp): add --version/-v flag to CLI

Add version flag support using Commander.js .version() method.
Uses existing SERVER_VERSION constant from package.json.

Fixes #2284

* chore: remove unrelated CLAUDE.md from PR

* chore: add changeset for mcp version flag

---------

Co-authored-by: liwenjun-dev <liwenjun.dev@gmail.com>
Co-authored-by: Fahreddin Özcan <ozcanfahrettinn@gmail.com>
2026-03-28 17:35:32 +03:00
github-actions[bot]
d349240c11
chore(release): version packages (#2282)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-27 14:23:20 +03:00
Enes Gules
a667712ae2
CTX7-1442 (#2334) 2026-03-27 10:21:53 +03:00
Enes Gules
be1a39acb9
feat: enhance Context7 server configuration with website URL, description, and detailed usage instructions (#2319)
* feat: enhance Context7 server configuration with website URL, description, and detailed usage instructions

* run format

* add changeset

* feat: align MCP server instructions with eval-proven trigger language

Based on invocation routing benchmarks (60 queries, clean + mid-session):
- Named specific libraries to counter confidence skip
- Added 'even when you think you know the answer' override
- Added 'prefer over web search' to catch WebSearch fallback
- Unified trigger paragraph to match client rule format
- Added explicit 'do not use for' negatives

---------

Co-authored-by: Fahreddin Özcan <ozcanfahrettinn@gmail.com>
2026-03-27 10:18:07 +03:00
github-actions[bot]
f614e497ec
chore(release): version packages (#2280)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-19 17:14:26 +03:00
Matt Van Horn
2070cb1670
fix(mcp): support NODE_EXTRA_CA_CERTS for enterprise MITM proxies (#2271)
* fix(mcp): support NODE_EXTRA_CA_CERTS for enterprise MITM proxies

When NODE_EXTRA_CA_CERTS is set, reads the CA certificate file and
injects it into undici's global dispatcher. This fixes fetch failures
behind enterprise transparent SSL intercept proxies (Zscaler, etc.)
where the default TLS context does not trust the corporate CA.

The CA certs are also passed through when an explicit HTTPS_PROXY is
configured, so both proxy modes work with custom certificates.

Fixes #2268

This contribution was developed with AI assistance (Claude Code).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* chore: add changeset for NODE_EXTRA_CA_CERTS support

---------

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Fahreddin Özcan <ozcanfahrettinn@gmail.com>
2026-03-19 15:32:45 +03:00
github-actions[bot]
945f9aec8b
chore(release): version packages (#2183)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-10 17:20:02 +03:00
Enes Gules
9de3f0627c
feat: add searchFilterApplied field to LibrarySearchResponse and SearchResponse interfaces; add warnings to cli and mcp (#2160) 2026-03-10 17:15:55 +03:00
Bryan Thompson
ceac1a5356
fix(mcpb): Update manifest to v0.3 spec and switch to npx-based bundle (#1488)
Co-authored-by: triepod-ai <199543909+triepod-ai@users.noreply.github.com>
Co-authored-by: enesgules <abdullah.enes.gules@gmail.com>
2026-03-06 04:03:48 +03:00
github-actions[bot]
7e0309b718
chore(release): version packages (#2100)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-04 15:51:01 +03:00
Fahreddin Özcan
59d0327b07
feat(mcp): include source field in search result response (#2031)
* feat(mcp): include source field in search result response

* chore: add changeset
2026-03-04 15:49:25 +03:00
Fahreddin Özcan
9523522d33
fix: reject GET requests on MCP endpoints to eliminate idle SSE timeouts (#2099)
* fix: reject GET requests on MCP endpoints to eliminate idle SSE timeouts

Stateless MCP server does not send server-initiated notifications, so
GET SSE streams sit idle until NGINX proxy_read_timeout (3600s) kills them.
Humio data shows ~4M GET timeouts vs 69 actual POST tool calls over 2 days,
accounting for 99.997% of all 5XX errors.

Returning 405 is spec-compliant per MCP StreamableHTTP (2025-03-26).

* chore: add changeset for MCP GET rejection fix

* refactor: move GET rejection into handleMcpRequest and fix error code

- Consolidate GET check into handleMcpRequest to avoid duplication
- Fix JSON-RPC error code from -32601 (method not found) to -32000 (server error)
2026-03-04 15:45:08 +03:00
github-actions[bot]
76d70a1223
chore(release): version packages (#1956)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-23 13:06:21 +03:00
enesgules
e81f7e3c8c fix: formatting 2026-02-23 13:04:15 +03:00
enesgules
617d8edb87 Remove unnecessary warning from encryption key validation and update tool descriptions for clarity. 2026-02-23 13:01:03 +03:00
enesgules
d2c34b04c3 Update installation commands across multiple languages to include the --scope user flag for Context7 in Claude Code. 2026-02-20 16:41:09 +03:00
Enes Gules
e3416985e8
Move explanation in tool responses into the description (#1892)
* Update tool descriptions in index.ts for clarity on library ID resolution process

* Move explanation in tool responses into the description
2026-02-19 06:01:25 -08:00
Enes Gules
1a52cb918e
Update tool descriptions in index.ts for clarity on library ID resolution process (#1890) 2026-02-18 14:35:45 -08:00
milosz-l
22057ba0f0
docs: add --scope user to Claude Code install commands (#1812) 2026-02-13 18:08:59 +03:00
enesakar
de4ae29933 update prompt for better privacy 2026-02-11 06:36:47 +03:00
enesakar
b3c7192173 update prompt for better privacy 2026-02-11 06:36:22 +03:00
github-actions[bot]
c21081c71a
chore(release): version packages (#1402)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-29 11:49:03 +03:00
Fahreddin Özcan
7ca9720ccf
Revert "fix: use stateless pattern for HTTP transport to prevent connection leaks (#1471)" (#1495)
This reverts commit 8a2ad1aba4cc2197327413c01eaf2efa076fb56e.
2026-01-28 14:32:41 +03:00
Enes Gules
8a2ad1aba4
fix: use stateless pattern for HTTP transport to prevent connection leaks (#1471)
* fix: use stateless pattern for HTTP transport to prevent connection leaks

* remove comments

* increase timeout

* changeset

---------

Co-authored-by: Fahreddin Özcan <ozcanfahrettinn@gmail.com>
2026-01-16 20:25:03 +03:00
Fahreddin Özcan
b5942ddade
docs: fix claude installation guides with correct args location (#1438) 2026-01-13 01:01:05 +03:00
Fahreddin Özcan
f0e42a9099
fix(docs): reoder claude installation guide (#1405)
* fix(docs): reoder claude installation guide

* fix(docs): reoder claude installation guide
2026-01-09 09:54:50 -08:00
dependabot[bot]
02148ff13c
chore(deps): bump zod from 3.25.76 to 4.3.4 (#1349)
* chore(deps): bump zod from 3.25.76 to 4.3.4

Bumps [zod](https://github.com/colinhacks/zod) from 3.25.76 to 4.3.4.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v3.25.76...v4.3.4)

---
updated-dependencies:
- dependency-name: zod
  dependency-version: 4.3.4
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: bump zod for mcp and tools-ai-sdk

* ci: update test .env source

* chore: match zod versions

* chore: add changeset

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fahreddin Özcan <ozcanfahrettinn@gmail.com>
2026-01-09 12:46:43 +03:00
github-actions[bot]
e5ccf1998d
chore(release): version packages (#1383)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-08 20:32:06 +03:00
Fahreddin Özcan
ef82f3057c
CTX7-884: OAuth Support for MCP (#1176)
Co-authored-by: enesgules <abdullah.enes.gules@gmail.com>
2026-01-08 20:17:19 +03:00
dependabot[bot]
d1252b75df
chore(deps-dev): bump @types/node from 22.19.1 to 25.0.3 (#1347)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.19.1 to 25.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 25.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fahreddin Özcan <ozcanfahrettinn@gmail.com>
2026-01-07 11:31:57 +03:00
github-actions[bot]
21d3da5107
chore(release): version packages (#1353)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-02 17:26:02 +03:00
Fahreddin Özcan
368b143356
CTX7-971: Client Metrics (#1305)
Co-authored-by: enesgules <abdullah.enes.gules@gmail.com>
2026-01-02 17:24:42 +03:00
github-actions[bot]
f8adfe4db1
chore(release): version packages (#1325)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-30 12:41:11 +03:00
Bryan Thompson
93a2d5be83
feat: Add tool annotations for improved LLM tool understanding (#1282)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: triepod-ai <noreply@github.com>
Co-authored-by: enesgules <abdullah.enes.gules@gmail.com>
2025-12-30 12:34:01 +03:00
github-actions[bot]
7a4d9a7105
chore(release): version packages (#1317)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: enesgules <abdullah.enes.gules@gmail.com>
2025-12-29 13:44:26 +03:00
Enes Akar
66ea0d6aad
new arch (#1283)
Co-authored-by: enesgules <abdullah.enes.gules@gmail.com>
2025-12-29 13:41:26 +03:00
github-actions[bot]
05f3e9ecf0
chore(release): version packages (#1256)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-17 22:12:23 +03:00
Enes Gules
a5228fde0d
fix: use fallback to globalApiKey in search tool (#1255) 2025-12-17 22:11:02 +03:00
Enes Gules
c4ce22595d
fix: update MCP Dockerfile to use pnpm monorepo setup and update schema version (#1252) 2025-12-17 16:15:15 +03:00
github-actions[bot]
4eb491a022
chore(release): version packages (#1127)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: enesgules <abdullah.enes.gules@gmail.com>
2025-12-17 15:34:33 +03:00
Enes Gules
aa123909ba
feat: parse error messages from API response body (#1250) 2025-12-17 15:28:14 +03:00
Enes Gules
6983b20173
fix: use absolute GitHub URL for cover image in README files (#1208) 2025-12-11 22:11:27 +03:00
Fahreddin Özcan
f820f7fecd
CTX7-879: Context7 Vercel AI SDK Tools (#1122)
* feat: context7 vercel ai sdk tools package

* ci: remove master target condition on test action

* ci: manual actions trigger for test

* ci: always run all tests

* update tests and imports

* ci: typecheck command

* fix: tests

* docs: add readme

* update folder structure and tool descriptions

* tests: fix test env vars

* ci: bump pnpm version

* update ai sdk step count api

* Add stopWhen to docstring examples

* update tests

* update prompt name

* update context7 agent name

* update tool description var to description

* make context7agent config optional

* ci: add changeset

* make context7-sdk peer deps

* update pnpm-lock.yaml

* update package name to @upstash/context7-tools-ai-sdk

* remove check workflow

* update pnpm lock

* make the agent a class instead of function

* replace all name instances

* add agent generate test

* simplify agent config

* fix refs
2025-12-09 14:45:01 -08:00
Fahreddin Özcan
ad2399641c
fix: remove detailed 401 response (#1124)
* fix: remove detailed 401 response

* ci: add changeset
2025-12-01 14:50:55 +03:00
github-actions[bot]
6cba71fde4
chore(release): version packages (#1107)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-28 15:23:11 +03:00