NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
server.h File Reference

Reusable MCP 2025-11-25 stdio server substrate. More...

#include <neograph/api.h>
#include <neograph/graph/cancel.h>
#include <neograph/mcp/types.h>
#include <cstddef>
#include <functional>
#include <istream>
#include <memory>
#include <optional>
#include <ostream>
#include <string>
Include dependency graph for server.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  neograph::mcp::MCPServer
 Local, stdio-first MCP server with typed tools and bounded execution. More...
 

Variables

constexpr const char * neograph::mcp::MCP_PROTOCOL_VERSION = "2025-11-25"
 The newest revision the server negotiates.
 

Detailed Description

Reusable MCP 2025-11-25 stdio server substrate.

This is the northbound server role. It is intentionally separate from MCPClient, which connects NeoGraph to downstream MCP servers.

Definition in file server.h.

Variable Documentation

◆ MCP_PROTOCOL_VERSION

constexpr const char* neograph::mcp::MCP_PROTOCOL_VERSION = "2025-11-25"
inlineconstexpr

The newest revision the server negotiates.

It also answers the older revisions in MCP_SUPPORTED_PROTOCOL_VERSIONS (types.h) when a client asks for one of them.

Definition at line 27 of file server.h.