Skip to content

Commit 65e0bac

Browse files
chore(internal): codegen related update
1 parent 947ee8e commit 65e0bac

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

packages/mcp-server/README.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,18 @@ For clients with a configuration JSON, it might look something like this:
3434

3535
### Cursor
3636

37-
If you use Cursor, you can install the MCP server by using the button below. You will need to set your environment variables
38-
in Cursor's `mcp.json`, which can be found in Cursor Settings > Tools & MCP > New MCP Server.
37+
If you use Cursor, you can install the MCP server by using the button below. You will need to set your environment variables
38+
in Cursor's `mcp.json`, which can be found in Cursor Settings > Tools & MCP > New MCP Server.
3939

40-
[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=conductor-node-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsImNvbmR1Y3Rvci1ub2RlLW1jcCJdLCJlbnYiOnsiQ09ORFVDVE9SX1NFQ1JFVF9LRVkiOiJTZXQgeW91ciBDT05EVUNUT1JfU0VDUkVUX0tFWSBoZXJlLiJ9fQ)
40+
[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=conductor-node-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsImNvbmR1Y3Rvci1ub2RlLW1jcCJdLCJlbnYiOnsiQ09ORFVDVE9SX1NFQ1JFVF9LRVkiOiJTZXQgeW91ciBDT05EVUNUT1JfU0VDUkVUX0tFWSBoZXJlLiJ9fQ)
4141

4242
## Exposing endpoints to your MCP Client
4343

44-
There are two ways to expose endpoints as tools in the MCP server:
44+
There are three ways to expose endpoints as tools in the MCP server:
4545

4646
1. Exposing one tool per endpoint, and filtering as necessary
4747
2. Exposing a set of tools to dynamically discover and invoke endpoints from the API
48+
3. Exposing a docs search tool and a code execution tool, allowing the client to write code to be executed against the TypeScript client
4849

4950
### Filtering endpoints and tools
5051

@@ -79,6 +80,18 @@ All of these command-line options can be repeated, combined together, and have c
7980

8081
Use `--list` to see the list of available tools, or see below.
8182

83+
### Code execution
84+
85+
If you specify `--tools=code` to the MCP server, it will expose just two tools:
86+
87+
- `search_docs` - Searches the API documentation and returns a list of markdown results
88+
- `execute` - Runs code against the TypeScript client
89+
90+
This allows the LLM to implement more complex logic by chaining together many API calls without loading
91+
intermediary results into its context window.
92+
93+
The code execution itself happens in a Deno sandbox that has network access only to the base URL for the API.
94+
8295
### Specifying the MCP Client
8396

8497
Different clients have varying abilities to handle arbitrary tools and schemas.

0 commit comments

Comments
 (0)