Skip to content

Commit ff96698

Browse files
committed
fix: add language tags to code blocks and fix markdown formatting
- Add 'text' language tag to log output and ASCII art code blocks - Add blank lines before lists per markdownlint rules - Fixes markdownlint MD040 errors
1 parent aa942fa commit ff96698

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

examples/servers/simple-proxy/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ A simple MCP proxy server that demonstrates the `mcp_proxy()` pattern by forward
1212
## Use Cases
1313

1414
This proxy pattern is useful for:
15+
1516
- **Debugging**: Inspect MCP protocol messages between client and server
1617
- **Monitoring**: Log and track MCP interactions
1718
- **Gateway**: Add authentication, rate limiting, or other middleware
@@ -72,7 +73,7 @@ asyncio.run(main())
7273

7374
When inspection is enabled, the proxy logs messages flowing through it:
7475

75-
```
76+
```text
7677
INFO:__main__:Starting MCP proxy to: uv run mcp-simple-tool
7778
INFO:__main__:Proxy connections established
7879
INFO:__main__:Proxy is running. Press Ctrl+C to stop.
@@ -109,7 +110,7 @@ async with mcp_proxy(
109110

110111
## Architecture
111112

112-
```
113+
```text
113114
┌─────────┐ ┌───────────────┐ ┌─────────┐
114115
│ MCP │◄───────►│ MCP Proxy │◄───────►│ MCP │
115116
│ Client │ stdio │ (this) │ stdio │ Server │
@@ -120,6 +121,7 @@ async with mcp_proxy(
120121
```
121122

122123
The proxy creates two transport connections:
124+
123125
- **Client-facing**: Communicates with the MCP client via stdin/stdout
124126
- **Server-facing**: Communicates with the backend MCP server via stdio_client
125127

0 commit comments

Comments
 (0)