@@ -71,90 +71,6 @@ yarn add @scalar/sdk zod
7171
7272> [ !NOTE]
7373> This package is published with CommonJS and ES Modules (ESM) support.
74-
75-
76- ### Model Context Protocol (MCP) Server
77-
78- This SDK is also an installable MCP server where the various SDK methods are
79- exposed as tools that can be invoked by AI applications.
80-
81- > Node.js v20 or greater is required to run the MCP server from npm.
82-
83- <details >
84- <summary >Claude installation steps</summary >
85-
86- Add the following server definition to your ` claude_desktop_config.json ` file:
87-
88- ``` json
89- {
90- "mcpServers" : {
91- "Scalar" : {
92- "command" : " npx" ,
93- "args" : [
94- " -y" , " --package" , " @scalar/sdk" ,
95- " --" ,
96- " mcp" , " start" ,
97- " --bearer-auth" , " ..."
98- ]
99- }
100- }
101- }
102- ```
103-
104- </details >
105-
106- <details >
107- <summary >Cursor installation steps</summary >
108-
109- Create a ` .cursor/mcp.json ` file in your project root with the following content:
110-
111- ``` json
112- {
113- "mcpServers" : {
114- "Scalar" : {
115- "command" : " npx" ,
116- "args" : [
117- " -y" , " --package" , " @scalar/sdk" ,
118- " --" ,
119- " mcp" , " start" ,
120- " --bearer-auth" , " ..."
121- ]
122- }
123- }
124- }
125- ```
126-
127- </details >
128-
129- You can also run MCP servers as a standalone binary with no additional dependencies. You must pull these binaries from available Github releases:
130-
131- ``` bash
132- curl -L -o mcp-server \
133- https://github.com/{org}/{repo}/releases/download/{tag}/mcp-server-bun-darwin-arm64 && \
134- chmod +x mcp-server
135- ```
136-
137- If the repo is a private repo you must add your Github PAT to download a release ` -H "Authorization: Bearer {GITHUB_PAT}" ` .
138-
139-
140- ``` json
141- {
142- "mcpServers" : {
143- "Todos" : {
144- "command" : " ./DOWNLOAD/PATH/mcp-server" ,
145- "args" : [
146- " start"
147- ]
148- }
149- }
150- }
151- ```
152-
153- For a full list of server arguments, run:
154-
155- ``` sh
156- npx -y --package @scalar/sdk -- mcp start --help
157- ```
15874 <!-- End SDK Installation [installation] -->
15975
16076<!-- Start Requirements [requirements] -->
0 commit comments