update the docs

This commit is contained in:
Brian 'bdougie' Douglas 2025-06-24 12:05:56 -07:00
parent 79d74977d3
commit a2b62aafc6
3 changed files with 19 additions and 3 deletions

View file

@ -110,6 +110,7 @@ MCP blocks follow the established syntax for blocks, with a few additional prope
- `type` (optional): The type of the MCP server: `sse`, `stdio`, `streamable-http`
- `args` (optional): Arguments to pass to the command.
- `env` (optional): Secrets to be injected into the command as environment variables.
- `cwd` (optional): Working directory to run the command in. Can be absolute or relative path.
### Transport Types
@ -132,12 +133,22 @@ For local MCP servers that communicate via standard input and output:
```yaml
mcpServers:
- name: Name
- name: SQLite Server
type: stdio
command: npx
args:
- "@modelcontextprotocol/server-sqlite"
- "/path/to/your/database.db"
- "./database.db"
cwd: "/path/to/project"
- name: Local Project Server
command: npm
args:
- "run"
- "mcp-server"
cwd: "./my-project"
env:
NODE_ENV: "production"
```
#### Streamable HTTP Transport

View file

@ -384,6 +384,7 @@ prompts, context, and tool use. Continue supports any MCP server with the MCP co
- `command` (**required**): The command used to start the server.
- `args`: An optional array of arguments for the command.
- `env`: An optional map of environment variables for the server process.
- `cwd`: An optional working directory to run the command in. Can be absolute or relative path.
- `connectionTimeout`: An optional connection timeout number to the server in milliseconds.
**Example:**
@ -395,7 +396,10 @@ mcpServers:
args:
- mcp-server-sqlite
- --db-path
- /Users/NAME/test.db
- ./test.db
cwd: /Users/NAME/project
env:
NODE_ENV: production
```
### `data`

View file

@ -288,6 +288,7 @@ docs:
- `command` (**required**): The command used to start the server.
- `args`: An optional array of arguments for the command.
- `env`: An optional map of environment variables for the server process.
- `cwd`: An optional working directory to run the command in. Can be absolute or relative path.
**Before**