You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(mcp_dart_cli): enhance CLI with serve command, docs, and tests (#55)
* feat(mcp_dart_cli): enhance CLI with serve command, docs, and tests
* fix(mcp_dart): correct StdioClientTransport stderr handling (v1.1.2)
- Always use ProcessStartMode.normal for proper stdin/stdout piping
- Fix inverted stderr mode logic: 'normal' now exposes stderr via getter
without internal listening, 'inheritStdio' now pipes to parent stderr
- Update version to 1.1.2
* feat(mcp_dart_cli): add doctor and inspect commands (v0.1.2)
- Add 'doctor' command to check project configuration and test connectivity
- Add 'inspect' command to interact with MCP servers:
- List capabilities (tools, resources, prompts)
- Execute tools, read resources, get prompts
- Support local projects and external servers (stdio/HTTP)
- Support sampling/createMessage requests from servers
- Add utility classes: McpConnection, InspectPrinter, InspectHandlers
- Update documentation with command usage examples
- Update version to 0.1.2
* docs(templates): add mcp_dart serve option to simple template README
* ci: unify publish workflows with auto version detection
- Merge publish_core.yml and publish_cli.yml into single publish.yml
- Add workflow_dispatch trigger with package selection dropdown
- Auto-read version from pubspec.yaml (no manual input needed)
- Add tag existence check to fail early on duplicate releases
- Add dry_run option to test without publishing to pub.dev
- Auto-generate GitHub releases with release notes
* docs: update README with CLI quick start guide
- Replace inline code example with CLI-based quick start
- Add CLI commands table (create, serve, doctor, inspect)
- Show Claude Desktop configuration example
* fix pana
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,7 @@
1
+
## 1.1.2
2
+
3
+
-**Fixed StdioClientTransport stderr handling**: Corrected process mode to always use `ProcessStartMode.normal` to ensure stdin/stdout piping works correctly. Fixed inverted stderr mode logic where `stderrMode: normal` now properly exposes stderr via getter (without internal listening), and `stderrMode: inheritStdio` now manually pipes stderr to parent process.
4
+
1
5
## 1.1.1
2
6
3
7
-**Structured Content Support**: Added explicit `structuredContent` field to `CallToolResult` with automatic backward compatibility support.
To configure your server with AI hosts like Claude Desktop:
114
+
Configure your server with AI hosts like Claude Desktop:
150
115
151
116
```json
152
117
{
153
118
"mcpServers": {
154
-
"calculator_jit": {
155
-
"command": "path/to/dart",
156
-
"args": [
157
-
"/path/to/server_stdio.dart"
158
-
]
159
-
},
160
-
"calculator_aot": {
161
-
"command": "path/to/compiled/server_stdio",
162
-
},
119
+
"my_server": {
120
+
"command": "mcp_dart",
121
+
"args": ["serve"],
122
+
"cwd": "/path/to/my_server"
123
+
}
163
124
}
164
125
}
165
126
```
166
127
128
+
> [!TIP]
129
+
> For manual server implementation or advanced use cases, see the [Server Guide](https://github.com/leehack/mcp_dart/blob/main/doc/server-guide.md).
130
+
167
131
## Authentication
168
132
169
133
This library supports OAuth2 authentication with PKCE for both clients and servers. For complete authentication guides and examples, see the [OAuth Authentication documentation](https://github.com/leehack/mcp_dart/blob/main/example/authentication/).
Copy file name to clipboardExpand all lines: llms.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
MCP Dart is the official Dart implementation of the Model Context Protocol, enabling seamless integration between AI applications and external data sources, tools, and services. Build production-ready MCP servers and clients for Dart VM, Flutter, and web platforms.
8
8
9
-
**Version**: 1.1.0
9
+
**Version**: 1.1.2
10
10
**Protocol**: MCP 2025-06-18 (backward compatible with 2025-03-26, 2024-11-05, 2024-10-07)
0 commit comments