221 Commits

Author SHA1 Message Date
Enes Gules
069044e99e
Merge pull request #291 from ryanleecode/chore/deno-read-me 2025-06-13 20:20:54 +03:00
Ryan Lee
e58addd388
chore: update deno readme
There's no reason to allow broad based access to all environment variables. As of right now, there is only the downstream dependency depd (https://github.com/dougwilson/nodejs-depd) which require the NO_DEPRECATION, TRACE_DEPRECATION. Lets limit the env variables to just this alone.

Also it advisible to setup some sort of CI to ensure these always work.
2025-06-13 10:03:36 -04:00
Enes Gules
d2083b92a7
Merge pull request #283 from nielthiart/fix-initialize-result v1.0.14 2025-06-13 09:40:22 +03:00
Enes Gules
7005d7d123
Merge pull request #287 from jongalloway/add-visual-studio 2025-06-13 09:28:21 +03:00
Jon Galloway
a0a94eefe2 docs: add installation instructions for Visual Studio 2022 2025-06-12 21:07:45 +00:00
Niel Thiart
fd2a2d6299
fix: Fix InitializeResult schema mismatch in Context7 server response
The response from the server was not matching the expected `InitializeResult` schema [^1].

1. The `serverInfo` field contained a `description` that was not part of the schema.
2. The `capabilities` field was incorrectly nested in `serverInfo`.
3. The `capabilities` field in the response included `resources`, even though this server does not support resources.

This change also adds an `instructions` field to the response, which provides guidance on how to use the server.

The SDK takes care of registering capabilities [^2], so we don't need to add this when instantiating the `server` object.

Response does not match `InitializeResult` schema:

```json
{
  "capabilities": {
    "tools": {
      "listChanged": true
    }
  },
  "serverInfo": {
    "name": "Context7",
    "version": "1.0.13",
    "description": "Retrieves up-to-date documentation and code examples for any library.",
    "capabilities": {
      "resources": {},
      "tools": {}
    }
  }
}
```

Response matches `InitializeResult` schema:

```json
{
  "capabilities": {
    "tools": {
      "listChanged": true
    }
  },
  "serverInfo": {
    "name": "Context7",
    "version": "1.0.13"
  },
  "instructions": "Use this server to retrieve up-to-date documentation and code examples for any library."
}
```

[^1]: https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/schema/2025-03-26/schema.ts#L179-L193

[^2]: 2cf4f0ca86/src/server/mcp.ts (L101)

Fixes https://github.com/upstash/context7/issues/282
2025-06-12 12:06:35 +02:00
Enes Akar
0bf9466a14
Merge pull request #278 from upstash/feat/replace-env-vars-with-cli-args
Feat/replace env vars with cli args
2025-06-11 22:17:47 +03:00
Enes Gules
6a3c48a89f
Merge branch 'master' into feat/replace-env-vars-with-cli-args 2025-06-11 15:14:22 +03:00
Enes Gules
f109390e00
Merge pull request #273 from ryof/master 2025-06-11 15:13:45 +03:00
Enes Gules
80e4aea67e
Merge branch 'master' into feat/replace-env-vars-with-cli-args 2025-06-11 15:01:13 +03:00
Abdusshh
4f04e02851 refactor: replace url.parse with URL API for session ID extraction and validate transports 2025-06-11 14:58:26 +03:00
Abdusshh
2e6c9a6c6b feat: replace env vars with CLI arguments, remove dotenv and add commander 2025-06-11 14:49:50 +03:00
ryof
2a3101dc43
docs: add installation instructions for Amazon Q Developer CLI 2025-06-11 10:11:12 +09:00
Enes Gules
00937fafef
Merge pull request #271 from viborc/patch-1 2025-06-10 09:19:37 +03:00
Vibor Cipan
62ee37d861
Adds instructions for Zencoder.ai 2025-06-09 14:45:00 +02:00
Enes Akar
1042650638
Merge pull request #265 from upstash/feat/improve-error-messages
feat: improve error handling
v1.0.13
2025-06-07 05:24:23 +03:00
Abdusshh
e66cdafe3c chore(format): run prettier 2025-06-07 00:24:20 +03:00
Abdusshh
a7b11bbee7 feat: improve error handling and response types for library search and documentation fetch 2025-06-07 00:20:52 +03:00
Enes Gules
f2f367d891
Merge pull request #262 from unbyte/docs/cursor-deeplink 2025-06-06 14:18:20 +03:00
Enes Gules
8a8cfa1c82
Merge pull request #248 from vaporif/update-lockfile 2025-06-05 22:15:48 +03:00
Enes Gules
6629783835
Merge pull request #249 from appleboy/docs 2025-06-05 22:06:12 +03:00
Enes Gules
be254b0f02
Merge pull request #255 from likweitan/master 2025-06-05 22:05:25 +03:00
unbyte
51ca970eeb docs: add deeplink for cursor 2025-06-06 01:01:03 +08:00
likweitan
71fb2eaeca docs: add installation instructions for Roo Code MCP integration 2025-06-03 21:43:13 +08:00
Bo-Yi Wu
8a275cb6da
chore: refactor codebase for improved maintainability and clarity
- No changes detected in the provided diff.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2025-06-02 11:40:15 +08:00
Bo-Yi Wu
f112d360c6
docs: refine documentation badges for Chinese language variants
- Add separate badges for Traditional Chinese and Simplified Chinese documentation in the main README
- Remove the multi-language badges line from the Traditional Chinese documentation file

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2025-06-02 11:39:15 +08:00
Bo-Yi Wu
b1445c2a40
docs: add Traditional Chinese documentation and setup guides
- Add Traditional Chinese (zh-TW) documentation for Context7 MCP, including installation, configuration, usage, troubleshooting, and platform-specific setup instructions.
- Provide detailed setup guides for multiple editors and environments, such as Cursor, Windsurf, VS Code, Zed, Claude, BoltAI, Docker, Windows, and Augment Code.
- Include environment variable configuration and troubleshooting tips for common issues.
- Add disclaimers regarding community contributions and project accuracy.
- List media coverage and community links for further information.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2025-06-02 11:37:11 +08:00
Abdusshh
2f74fa3893 docs: add installation instructions for Augment Code editor integration 2025-06-01 22:27:59 +03:00
Enes Gules
10c0a0dd33
Merge pull request #245 from Turtle-Hwan/patch-1 2025-06-01 21:56:57 +03:00
Dmytro Onypko
ae6618cd15
upd 2025-06-01 16:54:41 +01:00
Dmytro Onypko
beb04d3267
set branches 2025-06-01 16:46:00 +01:00
Dmytro Onypko
043bbd5fcc
concurrency cancel 2025-06-01 16:44:55 +01:00
Dmytro Onypko
5ac6fa1401
upd 2025-06-01 16:42:50 +01:00
Dmytro Onypko
e0775b3fa2
add simple ci 2025-06-01 16:41:55 +01:00
Dmytro Onypko
fcd166d95f
update lockfile 2025-06-01 16:22:37 +01:00
enesakar
c78b9bc54d organize readme 2025-06-01 09:56:18 +03:00
enesakar
49e05298a4 update readme, make installation steps collapbile 2025-06-01 09:45:10 +03:00
enesakar
b425c6d2ea update docs 2025-05-30 21:08:56 -07:00
enesakar
fce7023012 Merge branch 'get-library-id-from-user' 2025-05-30 14:00:55 -07:00
enesakar
93b06e17e3 json md 2025-05-30 13:58:16 -07:00
김지환 Jihwan Kim
7675df0999
docs: change VS Code usage snippet for context7 mcp server 2025-05-30 18:55:23 +09:00
Enes Gules
0a6273f6ac
Merge pull request #238 from arjunkmrm/master 2025-05-30 00:17:45 +03:00
arjunkmrm
1de2b52a55 Revert "update port to follow project defaults"
This reverts commit c55bfebb3fc9100cb93ffc73073916c0e34d35db.
2025-05-28 11:26:30 -07:00
arjunkmrm
c55bfebb3f update port to follow project defaults 2025-05-28 11:22:38 -07:00
arjunkmrm
6490a81afb feat: support http on smithery 2025-05-28 09:53:26 -07:00
Abdusshh
1755da4d49 docs: add remote server connection instructions for VS Code and Claude Code 2025-05-28 16:43:37 +03:00
Enes Gules
70b7b49d5f
Merge pull request #208 from upstash/sse-http-support 2025-05-28 14:42:06 +03:00
Abdusshh
d513d1a59f feat: add port fallback mechanism when initial port is in use 2025-05-28 14:37:30 +03:00
Abdusshh
f8472ff1ec docs: update and format README 2025-05-28 12:32:10 +03:00
Abdusshh
16d64493f3 chore: bump version to 1.0.13 and run formatter 2025-05-28 12:31:03 +03:00