Commit Graph

259 Commits

Author SHA1 Message Date
Fahreddin Özcan 9c7068a973 docs: remove broken Smithery badge and Star History chart from READMEs (#3004)
* docs: remove broken Smithery badge from READMEs

The smithery.ai/badge endpoint returns HTTP 500 with an empty body for
every server, not just Context7. Smithery also removed all badge
documentation from their docs, so the feature looks retired.

The Smithery listing itself is still live and the install section keeps
linking to it, which satisfies Smithery's backlink verification.

* docs: remove broken Star History chart from READMEs

GitHub restricted the stargazers API to repo admins and collaborators on
2026-06-30, so star-history.com can no longer build the chart. The SVG
still returns 200 but renders "GitHub restricted access to star data".

Restoring it would mean embedding a GitHub access token in the chart URL
and handing it to a third party, which we do not want to do.
2026-08-10 10:12:55 +03:00
Fahreddin Özcan b89a04e620 fix(cli): write the API key as an Authorization header (#2957)
* fix(cli): write the API key as an Authorization header

Codex resolves a server's auth mode by checking only for
`bearer_token_env_var` or a header literally named `Authorization`
(`auth_status_before_discovery` in codex-rs/rmcp-client/src/auth_status.rs,
mirrored in `create_transport` in rmcp_client.rs). The custom
`CONTEXT7_API_KEY` header matched neither, so Codex fell through to any OAuth
credential stored for the same server name and URL and refreshed it during
startup. A dead refresh token then failed the server with `invalid_grant`
before the API key was ever sent, and re-running setup could not recover it
because setup writes config.toml and never touches the credential store.

The hosted endpoint accepts both header forms, so existing configs keep
working.

Two places keep the legacy header deliberately: the plugin .mcp.json files
default to `${CONTEXT7_API_KEY:-}`, and the server rejects `Bearer` with an
empty token while treating a missing header as anonymous; and `env` blocks in
stdio configs, where the name is an environment variable rather than a header.

* fix(plugins): send the API key via the Authorization header

The Claude and Copilot plugin configs default to `${CONTEXT7_API_KEY:-}`, and
both plugins document that an unset key still works over the anonymous tier.
The Bearer form cannot express that: the server rejects `Bearer` with an empty
token while treating an empty or missing Authorization header as anonymous.

The raw-key form satisfies both states. It is genuinely parsed rather than
ignored, verified by an invalid raw key being rejected, so a set key still
authenticates while an unset one falls back to anonymous as documented.

Once the server treats an empty-token Bearer as no header, these can move to
the `Bearer <key>` form used everywhere else.

* refactor(cli): narrow the Codex OAuth probe and trim its surface

Only `oauth` proves a stored credential exists. `not_logged_in` also covers
"no credential, server merely advertises OAuth", which is the normal state for
anyone who never logged in, so treating it as stale told most users their
config held a credential it did not.

Collapse the module to the two functions the call site needs, derive nothing
from a hand-maintained status list, and skip the subprocess entirely when the
server is not already in Codex's config. Drop the probe timeout to 1.5s and
kill with SIGKILL so it is a real ceiling rather than an intent, since the
result is only an advisory hint.

Lock the plugin manifests' raw-key form behind a test, so normalizing them to
`Bearer` for consistency with the CLI fails loudly instead of silently
breaking anonymous access.

* refactor(cli): drop the Codex OAuth cleanup note

The note existed because re-running setup could not rescue a stuck user. The
Authorization header change in this same branch makes it rescue them: Codex
never reads the stored credential once that header is present, so the
credential is inert and the hint only offered cosmetic cleanup.

Removing it drops a subprocess spawn from a user-facing path and a dependency
on the shape of `codex mcp get --json`, an external contract this repo does not
pin. The reason the header name matters moves to `withHeaders`, where the
decision is encoded.
2026-07-29 18:38:10 +03:00
S;Co 93af8bfd27 docs: mention Node requirement for ctx7 setup (#2640) 2026-06-04 11:41:19 +03:00
Enes Gules f91b40c45c feat: pi context7 extension (#2666)
Co-authored-by: Fahreddin Özcan <ozcanfahrettinn@gmail.com>
2026-05-25 13:32:34 +03:00
Fahreddin Özcan f056b14cde CTX7-1542: add uninstall command for Context7 setup (#2473)
* CTX7-1542: add uninstall command for Context7 setup

* CTX7-1542: refine uninstall mode flags

* CTX7-1542: rename uninstall command to remove

* CTX7-1542: rename remove command files and add tests

* CTX7-1542: show detected agents in remove prompt

* CTX7-1542: tighten remove detection and cleanup coverage

* CTX7-1542: add remove command changeset
2026-04-21 12:41:32 +03:00
Fahreddin Özcan b4f77af910 docs: add server URL reference to README and all-clients page (#2347)
* docs: add server URL reference to README and all-clients page

The remote server URL was not easily discoverable in the docs.
This surfaces it in the README installation section and in the
all-clients page intro so users can find it without digging
through individual client configurations.

* docs: align all-clients intro with README wording

* docs: restore unlisted client fallback sentence
2026-03-30 12:15:53 +03:00
enesakar 800afc31fc fix images 2026-03-14 18:44:43 -07:00
enesakar e4be37a880 readme update 2026-03-11 22:47:45 -07:00
enesakar ce63d4b00c cli updates 2026-03-11 22:45:51 -07:00
Enes Akar 96bee80768 Update project name in README 2026-03-09 12:50:23 -07:00
enesgules 98e4209203 Update README and all-clients documentation to include detailed installation instructions for Context7 in ChatGPT (Web and Desktop) via Developer Mode. 2026-02-18 17:53:56 +03:00
Enes Gules 3a051f382f Add ChatGPT web and desktop app MCP client examples (#1876)
* Add ChatGPT web and desktop app MCP client examples

Add installation instructions for connecting Context7 as an MCP
connector in ChatGPT (Web) and ChatGPT (Desktop) via Developer Mode.

https://claude.ai/code/session_01GRs4CVcBFNZt1otbGqZKH3

* Add ChatGPT web and desktop app MCP client examples

Add installation instructions for connecting Context7 as an MCP
connector in ChatGPT (Web) and ChatGPT (Desktop) via Developer Mode.
Uses the /mcp/oauth endpoint for seamless OAuth authorization since
ChatGPT connectors natively support OAuth and don't allow custom headers.

https://claude.ai/code/session_01GRs4CVcBFNZt1otbGqZKH3

* Update README.md to reflect changes in Developer Mode and app terminology

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-02-18 17:45:52 +03:00
Fahreddin Özcan 3d6619128c add ctx7 setup command (#1851)
* add `ctx7 setup` command for configuring MCP and rules

Adds an interactive setup command that configures the Context7 MCP server
and agent rules for Claude Code, Cursor, and OpenCode. Authenticates via
OAuth, generates an API key, and writes per-agent config files.<noreply@anthropic.com>

* revert auth.ts client ID change

* add changeset for setup command

* fix lint: format import line
2026-02-16 17:17:33 +03:00
milosz-l 22057ba0f0 docs: add --scope user to Claude Code install commands (#1812) 2026-02-13 18:08:59 +03:00
enesgules 83c91b6885 docs: reorder add-mcp installation instructions in README 2026-02-10 09:26:56 +03:00
Andre Landgraf 1aa29f7bc5 docs: add add-mcp install snippet (#1707) 2026-02-09 15:09:27 +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 8edda6b070 docs: remove invalid oauth warning (#1407) 2026-01-09 12:23:03 -08: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
Fahreddin Özcan 1633a79f5b chore: update oauth readme (#1398) 2026-01-08 20:29:10 +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
이동현 4789e1eb26 docs(i18n): synchronize README.ko.md with README.md (#1374) 2026-01-07 10:37:26 +03:00
enesakar 43eae3716b replace vscode with opencode 2026-01-02 10:03:16 -08:00
zepxtor c11f24f5c6 Fix link to Claude Code MCP docs (#1350)
Updated the link to Claude Code MCP documentation (previous was broken).
2026-01-01 19:02:59 -08:00
enesakar be4a09d6d2 fix docs urls 2025-12-31 15:35:39 -08:00
Yann Cohen 7ce6c93de9 readme: fixing broken link (#1331)
Fixing two broken links to Other Cli configurations
2025-12-31 11:29:02 +03:00
enesakar 912b16fe5e update docs and readme 2025-12-30 14:23:45 -08:00
enesakar f13e3a1bec docs fixes 2025-12-29 21:51:20 -08:00
Enes Akar 66ea0d6aad new arch (#1283)
Co-authored-by: enesgules <abdullah.enes.gules@gmail.com>
2025-12-29 13:41:26 +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
enesgules 53fa8c3e96 chore: format 2025-11-19 13:40:31 +03:00
skanderkaroui 32c7af24bf docs: add Google Antigravity installation instructions 2025-11-19 10:03:52 +01:00
arnestrickmann dbee248b5c Add Emdash integration section to README
- Add Emdash as an orchestration layer for multiple coding agents
- Document Context7 MCP support in Emdash (global toggle, per-workspace enable)
- Reference existing MCP client configuration sections
- Link to Emdash repository
2025-11-18 15:24:01 -08:00
enesgules dea13d122b docs: update get-library-docs parameter from tokens to page 2025-11-17 19:40:53 +03:00
Enes Gules 0859fb8108 Merge pull request #1009 from upstash/CTX7-818/paging-for-mcp 2025-11-17 10:15:09 +03:00
Enes Gules 6706bab034 Merge pull request #998 from hammadzafar05/master 2025-11-17 09:49:06 +03:00
enesakar 3aa64f7119 improve the readme 2025-11-14 15:14:27 -08:00
enesakar e276bfc2aa enable paging and update readme 2025-11-14 14:56:19 -08:00
enesgules ad04b1e643 chore: format 2025-11-14 17:56:41 +03:00
Hammad Zafar 0ba99f701f Added context7 mcp setup for Kilo Cpde
Added installation instructions for configuring the Context7 MCP server in Kilo Code.
2025-11-14 15:10:54 +05:00
enesgules edd425a753 Merge remote-tracking branch 'origin' into docs 2025-11-12 17:07:23 +03:00
Aleksander Fidelus 4a09184731 Improve line formatting in README.md to avoid a scroll tab
Split long lines in README for better readability.
2025-11-09 13:43:21 +01:00
enesgules 35dca3b8b2 feat: update documentation links and content, fix duplicate contact page 2025-11-06 10:33:44 +03:00
enesgules 7bc0f4fc32 Merge remote-tracking branch 'origin' into docs 2025-11-06 10:03:27 +03:00
Ben Tossell 06a946d6a9 docs: add Factory installation instructions
Add Factory as one of the supported MCP client installation options.
Factory's droid CLI supports both HTTP (remote) and stdio (local)
MCP server connections.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
2025-11-03 16:30:38 +00:00
Kc 99258f88ca Fix config file reference in installation instructions
Corrected the file name from 'settings.json' to 'mcp-config.json' in the Copilot CLI installation steps to avoid confusion.
2025-11-03 13:08:19 +08:00
Kc b7e129b046 Add Copilot CLI installation instructions to README
Added a new section with step-by-step instructions for configuring Copilot CLI with a remote or local MCP server in the README. This helps users set up the required configuration for using context7 tools with Copilot CLI.
2025-11-03 13:00:42 +08:00
buggyhunter 99b7d363b9 Merge pull request #861 from upstash/refactor/update-mcp
feat: migrate HTTP server to Express and deprecate sse
2025-10-31 11:15:32 +03:00
enesgules a38a95c96e chore: format 2025-10-31 10:53:58 +03:00
enesgules c910377e7c feat: remove SSE transport support in docs 2025-10-31 09:45:43 +03:00