Commit Graph

36 Commits

Author SHA1 Message Date
Konstantin Konstantinov 8d52608e4e feat: MCP v2 (#2843)
Co-authored-by: enesgules <abdullah.enes.gules@gmail.com>
Co-authored-by: Fahreddin Özcan <ozcanfahrettinn@gmail.com>
2026-08-06 15:57:58 +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
Enes Gules eb7ac502f6 docs: add Manus to MCP clients list (#2905) 2026-07-13 16:43:37 +03:00
vadim s. sabinich c8cbf3ea87 Add AnythingLLM to all-clients.mdx (#2859) 2026-07-03 10:57:18 +03:00
Enes Gules b1fb8b5232 docs: update Docker MCP Toolkit to remote server (fixes #790) (#2839)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 13:24:24 +03:00
Enes Gules 195357db70 feat(docs): enhance documentation with improved titles, descriptions, and structured steps for clarity (#2778) 2026-06-17 10:18:21 +03:00
Enes Gules 98fc4b814c fix(docs): update terminology and improve clarity across multiple documentation filestur (#2777) 2026-06-16 18:26:37 +03:00
Enes Gules 574fc642ab feat(docs): add VS Code extension documentation and update all clients reference (#2757) 2026-06-12 16:39:14 +03:00
Yui(ゆい) 43e410645c docs: document Docker MCP Toolkit stdio transport (#2734) 2026-06-11 11:43:29 +03:00
Enes Gules c10f116765 feat: add Context7 Codex plugin with installation instructions and documentation (#2748) 2026-06-11 11:41:36 +03:00
Enes Gules 06843a6b84 fix copilot cli plugin compatability (#2743) 2026-06-10 13:29:14 +03:00
Enes Gules cc011a4707 feat: add Codex client documentation and update OAuth flow details for existing clients (#2742) 2026-06-09 15:51:14 +03:00
Enes Gules dbc4c78cca fix: update references from Windsurf to Devin Desktop in documentation and templates (#2736) 2026-06-09 12:48:42 +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 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
Fahreddin Özcan abf293eddc Add Hermes Agent guide to MCP clients docs (#2462)
* Add Hermes Agent MCP guide

* Move Hermes guide after Gemini CLI
2026-04-17 11:33:36 +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
Shannon Rumsey 7f7b7268c3 reorganize security docs (#2293) 2026-03-21 22:26:50 -07:00
Enes Gules d93157965e docs: update stale MCP client docs (#2273) 2026-03-20 01:48:55 +03:00
enesakar ce63d4b00c cli updates 2026-03-11 22:45:51 -07:00
Fahreddin Özcan 3d2372d479 fix: correct ping endpoint URL in troubleshooting docs (#2096) 2026-03-04 14:32:35 +03:00
Enes Gules dfe9863f30 refactor: update terminology from "team" to "teamspace" across documentation (#2012) 2026-02-26 01:01:42 +03:00
enesakar e866047baa enterprise page for docs 2026-02-20 08:33:06 -08: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
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
buggyhunter 67bb40b910 improve docs (#1779) 2026-02-11 09:44:59 +03:00
enesakar f80ce131d6 clarify query privacy 2026-02-11 07:35:43 +03:00
mamaruo 7d7e042795 docs: updated the Chinese README and Qwen Code installation guide (#1553)
Co-authored-by: mamaruo <37480168+mamaruo@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-01-28 14:33:37 +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 35611d5075 docs(CTX7-1039): fix broken links (#1423) 2026-01-11 23:22:51 +03:00
Fahreddin Özcan b41e7c8482 docs: add dedicated Cursor and Claude Code client guides with plugin marketplace (#1385)
* feat(plugins): add Context7 plugin for Claude Code

Add the context7 plugin with:
- MCP server configuration (.mcp.json)
- Plugin metadata (.claude-plugin/plugin.json)
- docs-researcher agent for focused documentation lookups
- /context7:docs command for manual queries
- documentation-lookup skill for auto-triggering

* docs(clients): add dedicated Cursor and Claude Code guides

Add comprehensive client-specific documentation:

Cursor:
- One-click and manual installation (remote/local)
- Rules setup via settings and .cursorrules
- Library IDs, version pinning, example prompts
- Tips for Composer integration

Claude Code:
- CLI installation commands
- Plugin installation (skills, agents, commands)
- docs-researcher agent usage
- /context7:docs command reference
- CLAUDE.md rules setup

Uses Mintlify components: Tabs, Steps, Cards, Accordions

* docs: add Clients navigation and cross-references

- Add "Clients" group to docs.json navigation
- Add note in all-clients.mdx linking to dedicated guides

* update warnings

* docs: redesign claude client docs

* docs: update cursor docs with images

* docs: update cursor installation ui

* feat: add claude marketplace docs

* update marketplace

* update mp-plugin name

* finalize cc plugin installation

* update using context7 section

* feat: make claude code oauth default
2026-01-10 10:47:09 -08:00
Enes Gules 84c546208c Reorder clients list (#1411) 2026-01-10 20:13:41 +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 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
enesakar 912b16fe5e update docs and readme 2025-12-30 14:23:45 -08:00