Convert gitgram/ and aitimemachine/ from embedded git repos (which showed as opaque submodule gitlinks on GitHub) into fully-tracked first-party content. AITM now merges its 7 vendored repos as first-party engines: - memory: beads (Go task DAG) + context7 (docs SDK), unified into saved_contexts - git: vendored C git (bundled binary) + gitnexus (in-process code intelligence) - agentic: a2a (@a2a-js/sdk) + pal (AITM-managed Python subprocess) Includes the full session's product build: Gitgram web/mobile/backend features, AITM website/CLI/MCP, the unified memory layer, engine build tooling (scripts/build-engines.sh, Dockerfile, CI), docs (README, ENGINES.md, ARCHITECTURE.md), and extensive test suites. Build artifacts, node_modules, external/, and gemini-cli are gitignored. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
6.3 KiB
6.3 KiB
@upstash/context7-mcp
2.2.5
Patch Changes
- 187287c: Accept hallucinated argument names on
tools/callrequests by rewriting them to the canonical names before validation.userQueryandquestionare mapped toqueryon either tool; onquery-docs,context7CompatibleLibraryID,libraryID, andlibraryNameare mapped tolibraryId. Some LLM clients produce these alternative names — likely echoing phrasing from each tool's description — and previously triggeredInvalid input: expected string, received undefinederrors.libraryNameis only rewritten onquery-docscalls because it is the canonical arg forresolve-library-id. Tool input schemas published viatools/listare unchanged: canonical names remain the documented required fields, the rewrite is purely a server-side compatibility shim that runs only ontools/calland only when the canonical key is absent. - 78b9826: Exit the stdio MCP server when the parent process closes its stdio. Previously, if the parent (e.g. Claude Code) was force-killed shortly after a tool call, an idle undici keep-alive socket to the Context7 API would keep libuv's event loop alive past stdin EOF, leaving an orphaned
nodeprocess that consumed memory until the kernel tore the socket down (which on Cloudflare-fronted endpoints can take hours). The server now listens forend/closeon stdin andSIGHUPand exits cleanly. Fixes #2542.
2.2.4
Patch Changes
- d0e4a48: Create a fresh
McpServerper HTTP request. Sharing one across requests let any concurrenttransport.closeclear the sharedProtocol._transport, which brokesendNotificationfor in-flight long-running tool calls. - 1aa3430: Remove research mode entirely from the MCP server and CLI. The
query-docsMCP tool no longer accepts or forwards aresearchModeparameter, and the CLI no longer exposes a--researchflag onctx7 docs.
2.2.3
Patch Changes
- 772da3a: Stream MCP tool responses over SSE so HTTP headers flush before client
fetchtimeouts. SwitchingenableJsonResponsetofalsemakes the SDK return the HTTP response synchronously after request validation, so headers are sent in milliseconds instead of being buffered until the tool completes. This fixes clients that cap the underlyingfetchwaiting for headers (e.g., Claude Code's 60swrapFetchWithTimeout).
2.2.2
Patch Changes
- 8274bd0: Add missing tool annotations
- ff6c1be: Remove the
researchModeparameter from thequery-docstool's input schema. The underlying API still supports research mode, but several MCP clients hit per-request timeouts (60s defaults) on long-running research calls in ways that can't always be solved server-side. Hiding the parameter prevents agents from invoking it through MCP until the timeout story is reliable across clients.
2.2.1
Patch Changes
- 1b0c211: Add endpoint for OpenAI Apps SDK domain verification.
2.2.0
Minor Changes
- 17b864f: Expose research mode through the MCP
researchModetool and the CLIdocs --researchflag for deep, agent-driven documentation answers.
2.1.8
Patch Changes
- 00833f9: Preserve Node's default trusted CAs when
NODE_EXTRA_CA_CERTSis configured, and add a regression test for custom CA loading.
2.1.7
Patch Changes
- 658ec67: Add --version/-v flag to MCP CLI
- 8322879: Improve resolve libryar id tool prompt to provide the libraryName query with proper format
2.1.6
Patch Changes
- a667712: Update search filter warning
- be1a39a: Update server metadata and instructions.
2.1.5
Patch Changes
- 2070cb1: Support NODE_EXTRA_CA_CERTS for enterprise MITM proxies by injecting custom CA certificates into undici's global dispatcher at runtime
2.1.4
Patch Changes
- 9de3f06: Display warning when public library access filter is being used to filter libraries.
2.1.3
Patch Changes
- 9523522: Reject GET requests on MCP endpoints with 405 to eliminate idle SSE connection timeouts
- 59d0327: Include source field in search result response
2.1.2
Patch Changes
- 617d8ed: Remove unnecessary warning and update tool descriptions
2.1.1
Patch Changes
- 02148ff: Bump zod from 3.x to 4.x
2.1.0
Minor Changes
- ef82f30: Add OAuth 2.0 authentication support for MCP server
- Add new
/mcp/oauthendpoint requiring JWT authentication - Implement JWT validation against authorization server JWKS
- Add OAuth Protected Resource Metadata endpoint (RFC 9728) at
/.well-known/oauth-protected-resource - Include
WWW-Authenticateheader for OAuth discovery
- Add new
2.0.2
Patch Changes
- 368b143: Collect client and server version metrics
2.0.1
Patch Changes
- 93a2d5b: Adds MCP tool annotations (readOnlyHint) to all tools to help MCP clients better understand tool behavior and make safer decisions about tool execution.
2.0.0
Major Changes
-
66ea0d6: Upgrade MCP server to v2.0.0 with intelligent query-based architecture
Breaking Changes
- Removed get-library-docs tool, replaced with new query-docs tool
- resolve-library-id now requires both query and libraryName parameters
- Removed mode, topic, page, and limit parameters from documentation fetching
- Renamed context7CompatibleLibraryID parameter to libraryId
New Features
- Intelligent reranked and deduplicated library selection based on user intent
- Smart snippet selection with relevance-based ranking for documentation retrieval
- Query-driven context fetching that understands what the user is trying to accomplish
- Added security warnings for sensitive data in query parameters
- Added tool call limits (max 3 calls per question) to prevent excessive context window usage
Improvements
- Simplified API key header extraction (removed redundant case variants)
- Removed unused actualPort variable and dead code
- Cleaner type definitions with new ContextRequest and ContextResponse types
- Better error messages for library search failures
1.0.33
Patch Changes
- a5228fd: Fix API key not being passed in resolve-library-id tool when using stdio transport
1.0.32
Patch Changes
- ad23996: Remove masked API key display from unauthorized error responses
- aa12390: Improve error message handling by using the responses from the server.
1.0.31
Patch Changes
- 6255e26: Migrate to pnpm monorepo structure