Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
mcp_json_discovery.h File Reference

Discovers external MCP servers from .mcp.json files. More...

#include <entropic/types/config.h>
#include <nlohmann/json_fwd.hpp>
#include <filesystem>
#include <map>
#include <set>
#include <string>
#include <vector>
Include dependency graph for mcp_json_discovery.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  entropic::ExternalServerConfig
 Parsed server entry from .mcp.json. More...
 
class  entropic::MCPJsonDiscovery
 Discovers external MCP servers from .mcp.json files. More...
 

Namespaces

namespace  entropic
 Activate model on GPU (WARM → ACTIVE).
 

Functions

std::filesystem::path entropic::compute_socket_path (const std::filesystem::path &project_dir)
 Compute project-unique Unix socket path for self-detection.
 
bool entropic::is_blocked_env_var (const std::string &key)
 Environment variable blocklist for .mcp.json env field.
 

Detailed Description

Discovers external MCP servers from .mcp.json files.

Searches project-level and global .mcp.json files. Produces ExternalServerConfig entries ready for connection. Handles self-detection (skip own socket) and shadow warnings.

Version
1.8.7

Definition in file mcp_json_discovery.h.