Skip to content

Roxxust/mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

local rust mcp server designed to easily implement new tools.

create a new tool in /tools and add the router block/line in main.rs and mod.rs using the boilerplate_example.rs to structure the tool.
tool args are defined in the code.
sloppy/simple approach but seems to work..

replace insertuserhere in the path with yours in the mcp.json for lm studio(needs to be double slashed)

.exe doesn't need to be running, just needs to exist at the path.

server address in .env so it doesn't need to be re-compiled to change it.

current tools:

boilerplate_example.rs:

an example of the boilerplate for the tools main.rs expects. simple echo back if tool used.

get_time.rs:

gets the user's time in local format, 12hr by default or the supported formats if requested.

query_rustdocs.rs:

attempts to parse current rust crate version for the crate the llm intends to use and pull some hopefully updated documentation. (experimental, works better if you tell it which crates you want info on)

About

local rust mcp server with a tool boilerplate.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages