forge-mcp

forge-mcp

Prototype MCP server enabling coding agents to manage Amigo Agent Forge operations, including org credentials, entity configurations, conversation simulations, and version sets.

Category
访问服务器

README

<p align="center"> <img src="./assets/readme/amigo-banner.png" alt="Amigo banner" width="100%" /> </p>

<h1 align="center">@amigo-ai/forge-tools</h1>

<p align="center">Prototype MCP server for Amigo Agent Forge workflows.</p>

<p align="center"> <a href="https://docs.amigo.ai">Product Docs</a> · <a href="https://github.com/amigo-ai/forge-mcp/issues">GitHub Issues</a> · <a href="https://github.com/amigo-ai/forge-mcp/blob/main/CONTRIBUTING.md">Contributing</a> · <a href="https://github.com/amigo-ai/forge-mcp/blob/main/SECURITY.md">Security</a> </p>

<p align="center"> <a href="https://www.npmjs.com/package/@amigo-ai/forge-tools"><img src="https://img.shields.io/npm/v/%40amigo-ai%2Fforge-tools?logo=npm" alt="npm version" /></a> <a href="https://github.com/amigo-ai/forge-mcp/actions/workflows/test.yml"><img src="https://github.com/amigo-ai/forge-mcp/actions/workflows/test.yml/badge.svg" alt="CI" /></a> <a href="https://github.com/amigo-ai/forge-mcp/actions/workflows/publish.yml"><img src="https://github.com/amigo-ai/forge-mcp/actions/workflows/publish.yml/badge.svg" alt="Publish" /></a> </p>

This package gives coding agents access to current Amigo Agent Forge operations: managing org credentials, reading and mutating entity configurations, running conversation tests, and working with version sets from Claude Code, Codex, Cursor, and other MCP clients.

Prototype status

@amigo-ai/forge-tools is an experimental product under active development. Expect rough edges, changing tool contracts, and a faster-moving surface than a locked production SDK. Use it for evaluation and early workflows, not as a long-term stability guarantee.

Prototype Context

Forge MCP is the agent-facing bridge for current Agent Forge workflows. It is useful when a coding agent needs an MCP surface for org switching, entity CRUD, conversation simulation, and version-set operations.

Forge MCP prototype architecture

For direct typed application integrations against the Platform API, use @amigo-ai/platform-sdk.

Documentation

Need Best entry point
Product and platform docs docs.amigo.ai
Prototype repo issues and feedback GitHub Issues
Contributor guidance CONTRIBUTING.md
Security reporting SECURITY.md

Installation

Add the server to your MCP configuration.

Via npm

{
  "mcpServers": {
    "forge": {
      "command": "npx",
      "args": ["-y", "@amigo-ai/forge-tools"]
    }
  }
}

From GitHub

{
  "mcpServers": {
    "forge": {
      "command": "npx",
      "args": ["-y", "github:amigo-ai/forge-mcp"]
    }
  }
}

From a local clone

git clone git@github.com:amigo-ai/forge-mcp.git
cd forge-mcp
npm install
npm run build
{
  "mcpServers": {
    "forge": {
      "command": "node",
      "args": ["/absolute/path/to/forge-mcp/dist/index.js"]
    }
  }
}

Credentials

Credentials are stored per org in ~/.amigo/credentials/{org_id}.json.

Recommended flow

Start the server without environment variables, then ask your coding agent to add org credentials:

Use forge_add_org to add credentials for org "acme"
Use forge_add_org to add credentials for org "acme-staging"

The tool validates credentials by signing in before saving them.

Bootstrap with environment variables

You can bootstrap one org on startup:

{
  "mcpServers": {
    "forge": {
      "command": "npx",
      "args": ["-y", "@amigo-ai/forge-tools"],
      "env": {
        "AMIGO_ORG_ID": "your-org",
        "AMIGO_API_KEY": "your-api-key",
        "AMIGO_API_KEY_ID": "your-api-key-id",
        "AMIGO_USER_ID": "your-user-id"
      }
    }
  }
}

What your agent can do

  • Add, remove, list, and switch active org credentials
  • Create, update, read, list, and delete Agent Forge entity types
  • Run smoke tests and multi-turn simulations
  • Inspect conversation insights and evaluations
  • Manage version sets and rollbacks

Multi-org support

All tools accept an optional org_id. Resolution order is:

  1. Explicit org_id on the tool call
  2. Session org set by forge_set_org
  3. Default org in ~/.amigo/config.json

Tool catalog

Org management

Tool Description
forge_set_org Set the active org for the session
forge_list_orgs List configured orgs with auth status
forge_add_org Add or update credentials for an org
forge_remove_org Remove stored credentials

Entity CRUD

Tool Description
forge_entity_list List entities of a type
forge_entity_get Get full entity details
forge_entity_create Create a new entity
forge_entity_update Update an entity
forge_entity_delete Delete an entity

Supported entity types: agent, context_graph, service, dynamic_behavior_set, tool, persona, scenario, metric, unit_test, unit_test_set, user_dimension

Conversation testing

Tool Description
forge_smoke_test Quick single-turn test against a service
forge_simulate Multi-turn automated simulation
forge_conversation_insights Inspect state transitions and memory
forge_conversation_evaluate Run on-demand metric evaluation

Version management

Tool Description
forge_version_set_list List version sets for a service
forge_version_set_upsert Create or update a version set
forge_version_set_promote Promote one version set to another
forge_version_rollback Roll back an entity to a previous version

MCP Resources

  • amigo://instructions for Agent Forge guidance
  • amigo://dependency-order for entity dependency ordering

Environment Variables

All variables are optional and only apply to startup bootstrap:

Variable Description
AMIGO_ORG_ID Org to bootstrap and set as session default
AMIGO_API_KEY API key for the bootstrapped org
AMIGO_API_KEY_ID API key identifier
AMIGO_USER_ID User ID
AMIGO_API_BASE_URL API base URL. Defaults to https://api.amigo.ai
FORGE_LOG_LEVEL Log verbosity: debug, info, warn, error

Development

npm install
npm run build
npm run lint
npm test

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选