Skip to main content
Glama

tfmcp

by nwiizo
# Rust Coding Style Guide ## Code Style - Follow the Rust style guide as enforced by `rustfmt` and `cargo fmt`. - Use 4 spaces for indentation, not tabs. - Maximum line length is 100 characters. - Always run `cargo fmt` before committing code. ## Error Handling - Use `Result` and `Option` types appropriately. - Propagate errors with the `?` operator where appropriate. - Create custom error types in modules with complex error handling. - Use `thiserror` for defining error types. - Use `anyhow` for error propagation in application code. ## Documentation - Document all public functions, methods, and types with rustdoc comments. - Include examples in documentation when useful. - Document complex or non-obvious code sections. ## Best Practices - Prefer immutable variables (`let` instead of `let mut`) when possible. - Use strong typing rather than type aliases for clarity. - Leverage Rust's ownership system properly. - Avoid `unsafe` code unless absolutely necessary. - Use `clippy` to catch common mistakes.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nwiizo/tfmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server