File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,56 @@ npm install unstructured-client --include=dev
3131``` bash
3232yarn add unstructured-client --dev
3333```
34+
35+ ### Model Context Protocol (MCP) Server
36+
37+ This SDK is also an installable MCP server where the various SDK methods are
38+ exposed as tools that can be invoked by AI applications.
39+
40+ > Node.js v20 or greater is required to run the MCP server.
41+
42+ <details >
43+ <summary >Claude installation steps</summary >
44+
45+ Add the following server definition to your ` claude_desktop_config.json ` file:
46+
47+ ``` json
48+ {
49+ "mcpServers" : {
50+ "Unstructured" : {
51+ "command" : " npx" ,
52+ "args" : [
53+ " -y" , " --package" , " unstructured-client" ,
54+ " --" ,
55+ " mcp" , " start" ,
56+ ]
57+ }
58+ }
59+ }
60+ ```
61+
62+ </details >
63+
64+ <details >
65+ <summary >Cursor installation steps</summary >
66+
67+ Go to ` Cursor Settings > Features > MCP Servers > Add new MCP server ` and use the following settings:
68+
69+ - Name: Unstructured
70+ - Type: ` command `
71+ - Command:
72+ ``` sh
73+ npx -y --package unstructured-client -- mcp start
74+ ```
75+
76+ </details >
77+
78+ For a full list of server arguments, run:
79+
80+ ``` sh
81+ npx -y --package unstructured-client -- mcp start --help
82+ ```
83+
3484<!-- No SDK Installation -->
3585
3686## SDK Example Usage
You can’t perform that action at this time.
0 commit comments