Skip to content

Commit 1f681ef

Browse files
authored
mcptools 0.2.0 (#85)
1 parent fa1b1ee commit 1f681ef

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: mcptools
22
Title: Model Context Protocol Servers and Clients
3-
Version: 0.1.1.9001
3+
Version: 0.2.0
44
Authors@R: c(
55
person("Simon", "Couch", , "[email protected]", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0001-5676-5107")),

NEWS.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
1-
# mcptools (development version)
1+
# mcptools 0.2.0
22

3-
* `mcp_tools()` now errors more informatively when an MCP server process exits unexpectedly (#82).
3+
## Server
44

55
* `mcp_server()` now supports HTTP transport in addition to stdio. Use `type = "http"` to start an HTTP server, with optional `host` and `port` arguments. For now, the implementation is authless.
66

7-
* JSON-RPC responses now retain an explicit `id = NULL` value, ensuring parse-error replies conform to the MCP specification.
8-
97
* `mcp_server()` now formats tool results in the same way as ellmer (#78 by @gadenbuie).
108

11-
* `mcp_tools()` now sends and receives a `"notifications/initialized"` (#77 by @galachad).
9+
* `mcp_server()` gains logical argument `session_tools`, allowing users to opt-out of presenting R session tools (that make it possible to communicate with `mcp_session()`s) to clients.
10+
11+
* Several tightenings-up of the implementation:
12+
- JSON-RPC responses now retain an explicit `id = NULL` value, ensuring parse-error replies conform to the MCP specification.
13+
- `mcp_tools()` now sends and receives a `"notifications/initialized"` (#77 by @galachad).
14+
- The implementation now supports the 2025-06-18 protocol version, updated from 2024-11-05.
1215

13-
* `mcp_session()` now returns invisibly the nanonext socket used for communicating with the server.
16+
* `mcp_session()` now invisibly returns the nanonext socket used for communicating with the server.
1417

15-
* `mcp_server()` gains logical argument `session_tools`, allowing users to opt-out of presenting R sessions tools to clients.
18+
## Client
19+
20+
- Notably, `mcp_tools()` did not gain an implementation of the HTTP transport. Instead, we now recommend the [mcp-remote](https://www.npmjs.com/package/mcp-remote) tool for serving local MCP servers via the HTTP transport in the documentation.
21+
22+
* `mcp_tools()` now errors more informatively when an MCP server process exits unexpectedly (#82).
1623

1724
# mcptools 0.1.1
1825

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
[![Lifecycle:
99
experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
10+
[![CRAN
11+
status](https://www.r-pkg.org/badges/version/mcptools)](https://CRAN.R-project.org/package=mcptools)
1012
[![R-CMD-check](https://github.com/posit-dev/mcptools/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/posit-dev/mcptools/actions/workflows/R-CMD-check.yaml)
1113
<!-- badges: end -->
1214

0 commit comments

Comments
 (0)