tailscale-mcp 2.0.3

MCP server for Tailscale: the local node through the CLI, the tailnet through the control-plane API
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "tailscale-mcp"
version = "2.0.3"
authors = ["The tailscale-mcp authors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "tailscale-mcp"
description = "MCP server for Tailscale: the local node through the CLI, the tailnet through the control-plane API"
homepage = "https://github.com/tailscale-mcp/tailscale-mcp"
readme = false
keywords = [
    "tailscale",
    "mcp",
    "mcp-server",
    "agent",
    "tailnet",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/tailscale-mcp/tailscale-mcp"

[lib]
name = "tailscale_mcp"
path = "src/lib.rs"

[[bin]]
name = "tailscale-mcp"
path = "src/main.rs"

[[test]]
name = "a_bundle_on_the_search_path_still_has_to_answer"
path = "tests/a_bundle_on_the_search_path_still_has_to_answer.rs"

[[test]]
name = "a_device_can_be_named_rather_than_numbered"
path = "tests/a_device_can_be_named_rather_than_numbered.rs"

[[test]]
name = "a_slot_can_be_completed"
path = "tests/a_slot_can_be_completed.rs"

[[test]]
name = "advisories_are_asked_on_a_clock"
path = "tests/advisories_are_asked_on_a_clock.rs"

[[test]]
name = "ci_needs_no_credential"
path = "tests/ci_needs_no_credential.rs"

[[test]]
name = "contract"
path = "tests/contract.rs"

[[test]]
name = "crates_io_will_accept_the_manifests"
path = "tests/crates_io_will_accept_the_manifests.rs"

[[test]]
name = "docs_are_current"
path = "tests/docs_are_current.rs"

[[test]]
name = "end_to_end"
path = "tests/end_to_end.rs"

[[test]]
name = "every_parameter_says_what_it_is"
path = "tests/every_parameter_says_what_it_is.rs"

[[test]]
name = "every_target_is_distributed"
path = "tests/every_target_is_distributed.rs"

[[test]]
name = "fixtures_are_redacted"
path = "tests/fixtures_are_redacted.rs"

[[test]]
name = "http_transport"
path = "tests/http_transport.rs"

[[test]]
name = "minted_secrets"
path = "tests/minted_secrets.rs"

[[test]]
name = "no_ticket_waits_on_a_shipped_version"
path = "tests/no_ticket_waits_on_a_shipped_version.rs"

[[test]]
name = "nothing_names_a_hidden_toolset"
path = "tests/nothing_names_a_hidden_toolset.rs"

[[test]]
name = "plugin_manifest_is_valid"
path = "tests/plugin_manifest_is_valid.rs"

[[test]]
name = "policy_subcommands"
path = "tests/policy_subcommands.rs"

[[test]]
name = "registry_listing_is_valid"
path = "tests/registry_listing_is_valid.rs"

[[test]]
name = "release_is_one_version"
path = "tests/release_is_one_version.rs"

[[test]]
name = "resources_and_prompts"
path = "tests/resources_and_prompts.rs"

[[test]]
name = "stdio_session"
path = "tests/stdio_session.rs"

[[test]]
name = "stdout_is_the_protocol"
path = "tests/stdout_is_the_protocol.rs"

[[test]]
name = "subcommands"
path = "tests/subcommands.rs"

[[test]]
name = "tailnet_surface"
path = "tests/tailnet_surface.rs"

[[test]]
name = "the_release_pokes_the_tap"
path = "tests/the_release_pokes_the_tap.rs"

[[test]]
name = "the_schema_is_asked_about_on_a_clock"
path = "tests/the_schema_is_asked_about_on_a_clock.rs"

[[test]]
name = "the_session_scrubs_its_own_credential"
path = "tests/the_session_scrubs_its_own_credential.rs"

[[test]]
name = "the_tier_is_a_floor_only_where_it_is_documented"
path = "tests/the_tier_is_a_floor_only_where_it_is_documented.rs"

[[test]]
name = "trusted_publishing_matches"
path = "tests/trusted_publishing_matches.rs"

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"
features = [
    "http1",
    "tokio",
    "json",
]
default-features = false

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.rmcp]
version = "3.2.0"
features = [
    "server",
    "macros",
    "transport-io",
    "transport-streamable-http-server",
]

[dependencies.schemars]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.tailscale-cli]
version = "2.0.3"

[dependencies.tailscale-rest]
version = "2.0.3"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "signal",
    "sync",
    "time",
]

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
]

[dev-dependencies.boon]
version = "0.6"

[dev-dependencies.rmcp]
version = "3.2.0"
features = ["client"]

[dev-dependencies.serde_norway]
version = "0.9"

[dev-dependencies.tailscale-cli]
version = "2.0.3"
features = ["testing"]

[dev-dependencies.tailscale-rest]
version = "2.0.3"
features = ["testing"]

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "time",
]

[dev-dependencies.toml]
version = "1"
features = [
    "parse",
    "serde",
]
default-features = false

[lints.clippy]
expect_used = "warn"
print_stderr = "allow"
print_stdout = "deny"
unwrap_used = "deny"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"