agents.mcp

command module
v0.0.0-...-0219bab Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: Unlicense Imports: 5 Imported by: 0

README

agents.mcp

A minimal MCP server that reads AGENTS.md from the working directory and serves its contents as the server's instructions field. This lets MCP clients automatically pick up project-level agent instructions without any extra configuration.

The server exposes no tools, prompts, or resources — it only provides instructions.

Install

go install github.com/karashiiro/agents.mcp@latest

Usage

Add the server to your MCP client configuration, setting the working directory to your project root:

{
  "mcpServers": {
    "agents-mcp": {
      "command": "agents-mcp",
      "cwd": "/path/to/your/project"
    }
  }
}

When the server starts, it reads AGENTS.md from the working directory and wraps the contents with delimiters:

=== AGENTS.md ===
<contents of AGENTS.md>
=== AGENTS.md ===

If AGENTS.md is not found, the server logs a warning to stderr and starts with empty instructions.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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