• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tari-project / tari / 16425865230
62%

Build:
DEFAULT BRANCH: development
Ran 21 Jul 2025 08:33PM UTC
Jobs 1
Files 818
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Jul 2025 07:08PM UTC coverage: 54.071% (-3.7%) from 57.723%
16425865230

push

github

web-flow
feat: mcp servers (#7220)

Description
---
This feature introduces a comprehensive implementation of the Model
Context Protocol (MCP), enabling secure AI agent integration with the
Tari network. It adds three new crates to the workspace:

1. `minotari_mcp_common`: A robust, shared framework for building MCP
servers. It includes a security-first architecture with local-only
binding, permission levels (read-only vs. control), rate limiting, audit
logging, input sanitization, and utilities for auto-launching and
managing dependent Tari processes.
2. `minotari_mcp_node`: A new MCP server application that exposes
read-only base node functionality to AI agents. This allows AI to query
blockchain state, network status, and mempool information safely.
3. `minotari_mcp_wallet`: A new MCP server application that provides AI
agents with access to wallet operations. It supports both read-only
queries (e.g., checking balance) and protected control operations (e.g.,
sending funds), with an optional user confirmation layer for added
security.

Additionally, this PR includes:
- A minor fix in the console wallet's gRPC server to correct a filter
condition (`.clone()` was removed from a `Copy` type).
- Removal of an unstable Rust feature (`internal_output_capture`) from
the integration tests.
- Extensive documentation in the main `README.md` and a new
`docs/mcp/TARI_MCP_IMPLEMENTATION.md` file explaining the architecture
and usage.

Motivation and Context
---
The primary motivation is to allow AI agents (like Claude, GPT-4, etc.)
to securely and effectively interact with Tari blockchain functionality.
Direct gRPC access is often too complex and risky for AI models. The
Model Context Protocol provides a standardized, secure, and
agent-friendly interface.

This implementation opens up new possibilities for building AI-powered
applications on top of Tari, such as:
- Automated network monitoring and analysis.
- AI-driven blockchain exploration and reporting.
- Controlled w... (continued)

4600 of 15255 new or added lines in 67 files covered. (30.15%)

10 existing lines in 2 files now uncovered.

74699 of 138149 relevant lines covered (54.07%)

197244.98 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
98.77
applications/minotari_mcp_common/src/conversion_registry_factory.rs
8
0.0
applications/minotari_mcp_wallet/src/resources/mod.rs
17
0.0
applications/minotari_mcp_node/src/resources/mod.rs
26
0.0
applications/minotari_mcp_wallet/src/resources/simple_balance.rs
29
0.0
applications/minotari_mcp_node/src/resources/peer_list.rs
29
0.0
applications/minotari_mcp_node/src/resources/sync_progress.rs
30
0.0
applications/minotari_mcp_node/src/resources/mempool_stats.rs
31
0.0
applications/minotari_mcp_node/src/resources/network_status.rs
32
0.0
applications/minotari_mcp_node/src/resources/block_info.rs
35
0.0
applications/minotari_mcp_node/src/resources/network_difficulty.rs
37
71.09
applications/minotari_mcp_common/src/method_implementations.rs
37
0.0
applications/minotari_mcp_node/src/resources/transaction_info.rs
41
0.0
applications/minotari_mcp_node/src/resources/chain_metadata.rs
44
0.0
applications/minotari_mcp_node/src/tools/mod.rs
44
0.0
applications/minotari_mcp_wallet/src/tools/mod.rs
45
97.78
applications/minotari_mcp_common/src/grpc_discovery.rs
54
80.15
applications/minotari_mcp_node/src/grpc_config_parser.rs
55
57.03
applications/minotari_mcp_common/src/parameter_converter.rs
62
0.0
applications/minotari_mcp_common/src/prompts.rs
62
0.0
applications/minotari_mcp_node/src/tools/submit_block.rs
65
0.0
applications/minotari_mcp_common/src/tools.rs
66
0.0
applications/minotari_mcp_node/src/config.rs
69
78.7
applications/minotari_mcp_common/src/input_sanitizer.rs
80
0.0
applications/minotari_mcp_wallet/src/config.rs
81
0.0
applications/minotari_mcp_node/src/tools/submit_transaction.rs
83
0.0
applications/minotari_mcp_common/src/config.rs
87
71.0
applications/minotari_mcp_common/src/response_converter.rs
87
0.0
applications/minotari_mcp_node/src/main.rs
87
0.0
applications/minotari_mcp_wallet/src/main.rs
93
62.04
applications/minotari_mcp_common/src/protobuf_reflector_simple.rs
95
67.35
applications/minotari_mcp_common/src/cli_integration.rs
101
36.48
applications/minotari_mcp_common/src/health_monitor.rs
101
0.0
applications/minotari_mcp_common/src/transport.rs
104
0.0
applications/minotari_mcp_common/src/resources.rs
110
0.0
applications/minotari_mcp_node/src/prompts/mod.rs
118
4.84
applications/minotari_mcp_common/src/error.rs
119
0.0
applications/minotari_mcp_wallet/src/prompts/mod.rs
123
0.0
applications/minotari_mcp_wallet/src/tools/simple_transfer.rs
129
0.0
applications/minotari_mcp_wallet/src/server.rs
161
27.15
applications/minotari_mcp_common/src/executable_finder.rs
161
0.0
applications/minotari_mcp_wallet/src/cli.rs
163
0.0
applications/minotari_mcp_node/src/cli.rs
168
65.71
applications/minotari_mcp_common/src/schema_generator.rs
172
25.54
applications/minotari_mcp_common/src/stdio_transport.rs
175
0.0
applications/minotari_mcp_common/src/security.rs
175
46.97
applications/minotari_mcp_common/src/tool_metadata.rs
185
37.71
applications/minotari_mcp_common/src/health_checker.rs
216
0.0
applications/minotari_mcp_node/src/server.rs
220
0.0
applications/minotari_mcp_common/src/server.rs
222
9.02
applications/minotari_mcp_common/src/process_manager.rs
241
0.0
applications/minotari_mcp_common/src/grpc_client_implementations.rs
247
32.14
applications/minotari_mcp_common/src/grpc_executor.rs
249
0.0
applications/minotari_mcp_wallet/src/tools/wallet_state.rs
286
33.95
applications/minotari_mcp_common/src/grpc_error_mapper.rs
287
19.15
applications/minotari_mcp_common/src/process_launcher.rs
290
0.0
applications/minotari_mcp_node/src/tools/mempool_tools.rs
312
21.41
applications/minotari_mcp_common/src/connection_manager.rs
363
19.15
applications/minotari_mcp_common/src/auto_registry.rs
370
0.0
applications/minotari_mcp_wallet/src/tools/address_tools.rs
423
0.0
applications/minotari_mcp_node/src/tools/network_tools.rs
432
0.0
applications/minotari_mcp_wallet/src/tools/balance_tools.rs
437
0.0
applications/minotari_mcp_wallet/src/tools/atomic_swap_tools.rs
444
0.0
applications/minotari_mcp_node/src/tools/mining_tools.rs
455
8.27
applications/minotari_mcp_common/src/startup_diagnostics.rs
523
0.0
applications/minotari_mcp_node/src/tools/blockchain_tools.rs
761
0.0
applications/minotari_mcp_wallet/src/tools/transaction_tools.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.35
-0.18% base_layer/core/src/proof_of_work/monero_rx/merkle_tree.rs
9
59.84
-1.2% comms/dht/src/connectivity/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 16425865230.1 21 Jul 2025 08:33PM UTC 818
54.07
GitHub Action Run
Source Files on build 16425865230
  • Tree
  • List 818
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16425865230
  • 24a856c3 on github
  • Prev Build on development (#16422558491)
  • Next Build on development (#16437243364)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc