mcp

package
v0.4.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package mcp exposes Atlas read-only project tools through the MCP protocol.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg Server) *server.MCPServer

New creates a mark3labs MCP server with Atlas tools registered.

func ServeStdio

func ServeStdio(cfg Server) error

ServeStdio starts the Atlas MCP server over stdio.

Types

type Inventory

type Inventory struct {
	Routes     map[string][]string
	Schedules  map[string][]string
	Commands   map[string][]string
	Queues     []string
	Caches     []string
	Disks      []string
	EventBuses []string
	Resources  []workflows.ResourceLink
}

Inventory contains app-aware read-only project facts exposed by Atlas.

type Server

type Server struct {
	Project     project.Project
	Docs        atlasdocs.Provider
	Diagnostics diagnostics.Provider
	Inventory   Inventory
	Version     string
}

Server exposes Atlas MCP tools for one GoForj project.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL