Skip to content

openwallet-foundation-labs/tmcp-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TMCP: TSP + MCP (rust)

Progress:

  • Read local wallet
  • Create new wallet with private vid if wallet does not exists
  • Check if generated my_did is published
  • Publish my_did
  • Seal TSP Message for MCP using correct wallet
  • Open TSP Message for MCP using correct wallet
  • TMCP Client testing
  • TMCP Server testing

Connecting Tmcp Python server Steps:

RUST_LOG=INFO ANTHROPIC_API_KEY=${anthropic_api_key} cargo run --example client ${server address} ${server's did}  

You may need to try a few times.

You should get a chat terminal:

Connected to server: Some("Demo")
intended_receiver: did:webvh:QmUzwbsRtCcXaNCpcrHDH49R3vV8H4Qra16xprFM7jSseV:did.teaspoon.world:endpoint:tmcp-2a831a23-f06c-4027-9691-6f5d4580fc74
Available tools: ["add", "favorite_animal_guesser", "show_roots"]

TMCP Client Started!
Type your queries or 'quit' to exit

Type 10 + 5

You should get:

I'll help you calculate 10 + 5 using the add function. intended_receiver: did:webvh:QmUzwbsRtCcXaNCpcrHDH49R3vV8H4Qra16xprFM7jSseV:did.teaspoon.world:endpoint:tmcp-2a831a23-f06c-4027-9691-6f5d4580fc74 [2025-12-29T09:28:23Z INFO client] Calling tool add with args {"a":10,"b":5} 15 Processing query: 10 + 15

Screen.Recording.2025-12-29.at.7.39.34.PM.mov

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages