Crate foundry_mcp

Crate foundry_mcp 

Source
Expand description

§Foundry MCP

A comprehensive CLI tool and MCP server for deterministic project management and AI coding assistant integration.

This library provides the core functionality for managing project specifications and maintaining context for LLM-based coding assistants.

Re-exports§

pub use crate::core::filesystem::create_dir_all;
pub use crate::core::filesystem::file_exists;
pub use crate::core::filesystem::read_file;
pub use crate::core::filesystem::write_file_atomic;
pub use crate::core::project::create_project;
pub use crate::core::project::list_projects;
pub use crate::core::project::load_project;
pub use crate::core::project::project_exists;
pub use crate::core::spec::create_spec;
pub use crate::core::spec::delete_spec;
pub use crate::core::spec::list_specs;
pub use crate::core::spec::load_spec;
pub use crate::core::spec::update_spec_content;
pub use crate::core::spec::validate_spec_name;
pub use crate::core::validation::ContentType;
pub use crate::core::validation::parse_content_type;
pub use crate::core::validation::validate_content;
pub use crate::types::project::*;
pub use crate::types::responses::*;
pub use crate::types::spec::*;
pub use crate::utils::paths::*;
pub use crate::utils::timestamp::*;

Modules§

cli
CLI command definitions and routing
core
Core business logic modules
mcp
MCP Server Module
test_utils
Test utilities for Foundry CLI integration tests
types
Core type definitions for Foundry
utils
Utility functions

Macros§

impl_mcp_tool
The macro generates:

Constants§

VERSION
Version information

Functions§

foundry_dir
Get the foundry directory path (~/.foundry)