diff --git a/src/lib/docs/cli/mcp.md b/src/lib/docs/cli/mcp.md index 0bc5abd..cb9cfee 100644 --- a/src/lib/docs/cli/mcp.md +++ b/src/lib/docs/cli/mcp.md @@ -16,6 +16,12 @@ Start an the MCP server: jsrepo mcp ``` +Start an the MCP server for a specific registry: + +```sh +jsrepo mcp @ieedan/std +``` + Inspect and test the MCP server: ```sh diff --git a/src/lib/docs/map.ts b/src/lib/docs/map.ts index 013e444..9d78b4f 100644 --- a/src/lib/docs/map.ts +++ b/src/lib/docs/map.ts @@ -46,8 +46,7 @@ const tempMap: Record = { children: [ { title: 'jsrepo.com', - slug: 'jsrepo', - tag: 'New' + slug: 'jsrepo' }, { title: 'GitHub', @@ -73,8 +72,7 @@ const tempMap: Record = { }, { title: 'MCP Server', - slug: 'mcp', - tag: 'New' + slug: 'mcp' }, { title: 'Language Support', @@ -97,8 +95,7 @@ const tempMap: Record = { 'jsrepo.com': [ { title: 'Introduction', - slug: 'jsrepo-com', - tag: 'New' + slug: 'jsrepo-com' }, [ { @@ -136,8 +133,7 @@ const tempMap: Record = { }, { title: 'mcp', - slug: 'mcp', - tag: 'New' + slug: 'mcp' }, { title: 'publish', diff --git a/src/lib/docs/registry/mcp.md b/src/lib/docs/registry/mcp.md index ed0571b..14573d2 100644 --- a/src/lib/docs/registry/mcp.md +++ b/src/lib/docs/registry/mcp.md @@ -31,6 +31,19 @@ Add the following code to your `.cursor/mcp.json` file: } ``` +Optionally, you can specify a registry to use: + +```jsonc +{ + "mcpServers": { + "jsrepo": { + "command": "npx", + "args": ["jsrepo", "mcp", "@ieedan/std"] + } + } +} +``` + ## Windsurf Usage Add the following code to your `.codeium/windsurf/mcp_config.json` file: