
avocado-technology/mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
AVCD MCP Server - Model Context Protocol implementation
概要
Exposes the Conta Azul Yoga Subgraph GraphQL API via Apollo MCP . No hand-maintained operation files — when the schema changes, refresh schema.graphql and restart. Uses the official Apollo MCP Server Docker image. - MCP endpoint: http://localhost:8001/mcp Clients explore the schema dynamically; maintain the Conta Azul Yoga subgraph GraphQL API. Guided workflows live in prompts/ as Markdown templates (Apollo MCP Server auto-loads them from the container working directory). Legacy AVCD prompts (manage_organization, manage_employee, manage_tips) remain in prompts/ for reference but target the main AVCD API schema. Example: *"Use the conta_azul_cashflow prompt with action daily_report"* — the client calls prompts/get, then follows the steps using execute / validate / introspect. See docs/PROMPTS.md and .cursor/skills/conta-azul-mcp/SKILL.md.
README
以下は原文 README の抜粋です。原文を見る。
Conta Azul GraphQL MCP Server
Exposes the Conta Azul Yoga Subgraph GraphQL API via Apollo MCP introspection tools. No hand-maintained operation files — when the schema changes, refresh schema.graphql and restart.
Uses the official Apollo MCP Server Docker image.
Quick Start
# 1. Start Conta Azul Yoga subgraph (required dependency)
cd ../conta-azul-yoga-subgraph && make dev
# 2. Start MCP server (refreshes schema + JWT)
cd ../mcp && make dev
- MCP endpoint: http://localhost:8001/mcp
MCP Tools
| Tool | Purpose |
|---|---|
search |
Find types and fields in the schema |
introspect |
Inspect a specific GraphQL type |
validate |
Check a query/mutation before running |
execute |
Run any GraphQL operation against the service |
Clients explore the schema dynamically; maintain the Conta Azul Yoga subgraph GraphQL API.
MCP Prompts
Guided workflows live in prompts/ as Markdown templates (Apollo MCP Server auto-loads them from the container working directory).
| Prompt | Actions |
|---|---|
conta_azul_auth |
get_authorization_url, setup_connection, validate, refresh, disconnect |
conta_azul_cashflow |
daily_report, multi_store_report, validate_then_report |
conta_azul_onboarding |
onboard_store |
Legacy AVCD prompts (manage_organization, manage_employee, manage_tips) remain in prompts/ for reference but target the main AVCD API schema.
Example: “Use the conta_azul_cashflow prompt with action daily_report” — the client calls prompts/get, then follows the steps using execute / validate / introspect.
See docs/PROMPTS.md and .cursor/skills/conta-azul-mcp/SKILL.md.
After editing prompt files: make dev-down && make dev.
Commands
| Command | Description |
|---|---|
make sync-auth |
Generate JWT for Conta Azul Service into .env |
make introspect |
Refresh schema.graphql from live service (Rover) |
make dev |
Sync auth, refresh schema, start MCP server |
make dev-build |
Pull fresh Apollo MCP Server image and start |
make health |
Check MCP + Conta Azul Service |
make test |
Run unit + e2e tests |
make dev-down |
Stop MCP |
After service schema changes
make introspect # or just `make dev` which runs introspect automatically
make dev-down && make dev
Project Layout
├── config/mcp.yaml # Server config (endpoint, auth, introspection tools)
├── prompts/ # MCP prompt templates (conta_azul_*, manage_*)
├── docs/PROMPTS.md # Prompt catalog
├── schema.graphql # Cached service schema (make introspect)
├── docker-compose.yml # Apollo MCP Server image and configuration
└── Makefile
Auth
MCP forwards a bearer JWT to the Conta Azul Service. For local dev:
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →