Add shared MCP server registry
This commit is contained in:
parent
ae1cdf8ac1
commit
944724dcaf
7 changed files with 288 additions and 11 deletions
29
AGENTS.md
29
AGENTS.md
|
|
@ -11,11 +11,12 @@ At the beginning of work:
|
|||
1. Read this file.
|
||||
2. Read `projects/index.md`.
|
||||
3. Read `locations/index.md`.
|
||||
4. Identify the active project from the user request or `projects/index.md`.
|
||||
5. Search global knowledge first: `skills/`, `problems/`, and `locations/`.
|
||||
6. Read the active project's `status.md`, `technical-spec.md`, `decisions.md`, `notes.md`, and `agent-log.md` when they exist.
|
||||
7. Read the active project's `repositories.md` when it exists.
|
||||
8. Update project status when a meaningful change happens.
|
||||
4. Read `mcp-servers/index.md`.
|
||||
5. Identify the active project from the user request or `projects/index.md`.
|
||||
6. Search global knowledge first: `skills/`, `problems/`, `locations/`, and `mcp-servers/`.
|
||||
7. Read the active project's `status.md`, `technical-spec.md`, `decisions.md`, `notes.md`, and `agent-log.md` when they exist.
|
||||
8. Read the active project's `repositories.md` when it exists.
|
||||
9. Update project status when a meaningful change happens.
|
||||
|
||||
## Agent Self-Learning Loop
|
||||
|
||||
|
|
@ -54,6 +55,7 @@ Record only durable knowledge:
|
|||
- paths, commands, ports, dependencies, and integration notes;
|
||||
- reusable agent procedures.
|
||||
- user clarifications that affect a project's technical specification or workflow.
|
||||
- MCP servers, installation notes, configuration snippets, and verification steps.
|
||||
|
||||
## Global Knowledge First
|
||||
|
||||
|
|
@ -74,10 +76,24 @@ Use global folders for reusable knowledge:
|
|||
- `skills/` for repeatable procedures, workflows, and agent habits;
|
||||
- `problems/` for solved issues, root causes, failed approaches, and fixes;
|
||||
- `locations/` for machine, environment, and access facts;
|
||||
- `mcp-servers/` for shared MCP server registry and setup guidance;
|
||||
- `templates/` for reusable document structures.
|
||||
|
||||
If a solution is discovered while working on one project but could help another project, record it in `problems/` or `skills/` and link to it from the project file if needed. Do not leave reusable knowledge only in `projects/<project>/`.
|
||||
|
||||
## MCP Server Registry
|
||||
|
||||
Agents should keep a shared MCP registry in `mcp-servers/index.md`.
|
||||
|
||||
Rules:
|
||||
|
||||
1. Prefer free official MCP servers.
|
||||
2. Add unofficial MCP servers only when there is a clear need and the source is documented.
|
||||
3. Do not store secrets, tokens, API keys, or private credentials in MCP configuration examples.
|
||||
4. When a useful MCP server is discovered during work, add it to `mcp-servers/index.md` with purpose, source, install notes, config snippet, and verification.
|
||||
5. When setting up a new machine, read `mcp-servers/index.md` and install/configure the baseline MCP servers that are compatible with that machine.
|
||||
6. If automatic installation is not possible, produce exact manual setup steps.
|
||||
|
||||
Do not record:
|
||||
|
||||
- secrets or credentials;
|
||||
|
|
@ -141,7 +157,8 @@ Agents should communicate asynchronously through:
|
|||
- `projects/<project>/repositories.md` for local and remote repositories that belong to the project;
|
||||
- `projects/<project>/decisions.md` for durable decisions;
|
||||
- `problems/` for solved issues and reusable fixes that may apply across projects;
|
||||
- `skills/` for repeatable procedures that may apply across projects.
|
||||
- `skills/` for repeatable procedures that may apply across projects;
|
||||
- `mcp-servers/` for the common MCP server set and setup instructions.
|
||||
|
||||
Before starting work, pull or fetch the latest repository state when possible. After meaningful work, commit and push updates promptly. If two agents edit the same file, preserve both useful entries and resolve conflicts by date and topic.
|
||||
|
||||
|
|
|
|||
14
README.md
14
README.md
|
|
@ -8,11 +8,12 @@ The purpose is to let agents improve over time by saving verified knowledge, kee
|
|||
|
||||
1. Start every session by reading `AGENTS.md`.
|
||||
2. Check the current machine and location in `locations/`.
|
||||
3. Check active projects in `projects/`.
|
||||
4. Before solving a repeated issue, search global knowledge in `problems/`, `skills/`, and `locations/`.
|
||||
5. After finding a useful solution, add or update a global text entry first, then link it from a project if needed.
|
||||
6. Update project technical specifications, status, repository maps, and handoff logs when the dialogue or implementation changes them.
|
||||
7. Keep files small, factual, and easy to search.
|
||||
3. Check the shared MCP server registry in `mcp-servers/`.
|
||||
4. Check active projects in `projects/`.
|
||||
5. Before solving a repeated issue, search global knowledge in `problems/`, `skills/`, and `locations/`.
|
||||
6. After finding a useful solution, add or update a global text entry first, then link it from a project if needed.
|
||||
7. Update project technical specifications, status, repository maps, and handoff logs when the dialogue or implementation changes them.
|
||||
8. Keep files small, factual, and easy to search.
|
||||
|
||||
Private repository access is required. A link lets an agent locate the repository, but a private repository still needs GitHub permissions and authentication before an agent can read or push updates.
|
||||
|
||||
|
|
@ -26,6 +27,7 @@ Private repository access is required. A link lets an agent locate the repositor
|
|||
- `projects/<project>/agent-log.md` - cross-agent handoff log for a specific project.
|
||||
- `problems/` - solved problems, symptoms, root causes, and fixes that can be reused across projects.
|
||||
- `locations/` - physical locations, computers, access notes, and environment facts.
|
||||
- `mcp-servers/` - shared registry of MCP servers agents should know how to install and configure.
|
||||
- `templates/` - copyable text templates for new entries.
|
||||
|
||||
## File Rules
|
||||
|
|
@ -36,6 +38,7 @@ Private repository access is required. A link lets an agent locate the repositor
|
|||
- Prefer one topic per file.
|
||||
- Use ISO dates: `YYYY-MM-DD`.
|
||||
- Store reusable knowledge globally, even when it was discovered inside a specific project.
|
||||
- Prefer free official MCP servers; document any unofficial or paid MCP server before using it.
|
||||
|
||||
## Naming
|
||||
|
||||
|
|
@ -43,3 +46,4 @@ Private repository access is required. A link lets an agent locate the repositor
|
|||
- Problems: `problems/YYYY-MM-DD-short-problem-name.md`
|
||||
- Projects: `projects/<project-name>/status.md`
|
||||
- Locations: `locations/<location-or-machine-name>.md`
|
||||
- MCP servers: `mcp-servers/index.md`
|
||||
|
|
|
|||
|
|
@ -18,6 +18,8 @@
|
|||
- Codex MCP config is stored at `/Users/post/.codex/config.toml`.
|
||||
- On 2026-05-24, the non-official Blender MCP section `[mcp_servers.blender]` using `uvx blender-mcp` was removed from Codex config.
|
||||
- The remaining Blender MCP server is `[mcp_servers.blender-ai]`, using `/Users/post/.codex/vendor_imports/blender-ai-mcp`.
|
||||
- MCP servers currently recorded for this machine: `node_repl`, `blender-ai`, `mcp-unity`, and `maya`.
|
||||
- Shared MCP registry: `mcp-servers/index.md`.
|
||||
|
||||
## Backups
|
||||
|
||||
|
|
|
|||
124
mcp-servers/index.md
Normal file
124
mcp-servers/index.md
Normal file
|
|
@ -0,0 +1,124 @@
|
|||
# MCP Server Registry
|
||||
|
||||
## Purpose
|
||||
|
||||
Shared registry of MCP servers that agents should know how to install and configure across machines.
|
||||
|
||||
## Policy
|
||||
|
||||
- Prefer free official MCP servers.
|
||||
- Use unofficial MCP servers only when there is a clear need and the source is documented.
|
||||
- Keep secrets out of this repository.
|
||||
- Add newly useful MCP servers here before asking other machines to install them.
|
||||
- When a machine is set up, update its file under `locations/`.
|
||||
|
||||
## Baseline From Current Codex Desktop
|
||||
|
||||
Observed on 2026-05-24 from `/Users/post/.codex/config.toml`.
|
||||
|
||||
### `node_repl`
|
||||
|
||||
- Status: baseline.
|
||||
- Purpose: persistent JavaScript/Node execution and browser-related helper runtime for Codex.
|
||||
- Source: bundled with Codex app.
|
||||
- Command on current machine: `/Applications/Codex.app/Contents/Resources/node_repl`.
|
||||
- Notes: machine-specific path; other machines may need their local Codex app path.
|
||||
- Verification: Node REPL tools should be available through the agent runtime when enabled.
|
||||
|
||||
Config pattern:
|
||||
|
||||
```toml
|
||||
[mcp_servers.node_repl]
|
||||
args = []
|
||||
command = "/Applications/Codex.app/Contents/Resources/node_repl"
|
||||
startup_timeout_sec = 120
|
||||
```
|
||||
|
||||
### `blender-ai`
|
||||
|
||||
- Status: baseline for Blender/3D tasks.
|
||||
- Purpose: guided Blender MCP surface for creating, inspecting, and modifying Blender scenes.
|
||||
- Source on current machine: `/Users/post/.codex/vendor_imports/blender-ai-mcp`.
|
||||
- Command on current machine: `/Users/post/.codex/vendor_imports/blender-ai-mcp/.venv/bin/python`.
|
||||
- Notes: this is the remaining Blender MCP after removing the older `uvx blender-mcp` entry.
|
||||
- Verification: Blender AI tools should be discoverable under the Blender MCP surface after agent restart/reload.
|
||||
|
||||
Config pattern:
|
||||
|
||||
```toml
|
||||
[mcp_servers.blender-ai]
|
||||
enabled = true
|
||||
command = "/Users/post/.codex/vendor_imports/blender-ai-mcp/.venv/bin/python"
|
||||
args = ["-m", "server.main"]
|
||||
cwd = "/Users/post/.codex/vendor_imports/blender-ai-mcp"
|
||||
|
||||
[mcp_servers.blender-ai.env]
|
||||
PYTHONPATH = "/Users/post/.codex/vendor_imports/blender-ai-mcp"
|
||||
ROUTER_ENABLED = "true"
|
||||
MCP_SURFACE_PROFILE = "llm-guided"
|
||||
BLENDER_RPC_HOST = "127.0.0.1"
|
||||
BLENDER_RPC_PORT = "8765"
|
||||
PYTHONUNBUFFERED = "1"
|
||||
```
|
||||
|
||||
### `mcp-unity`
|
||||
|
||||
- Status: optional baseline for Unity projects.
|
||||
- Purpose: Unity project/editor integration.
|
||||
- Source on current machine: `/Users/post/.codex/vendor_imports/mcp-unity`.
|
||||
- Command: `node`.
|
||||
- Args on current machine: `/Users/post/.codex/vendor_imports/mcp-unity/Server~/build/index.js`.
|
||||
- Verification: Unity MCP tools should be discoverable when the server and Unity integration are available.
|
||||
|
||||
Config pattern:
|
||||
|
||||
```toml
|
||||
[mcp_servers.mcp-unity]
|
||||
enabled = true
|
||||
command = "node"
|
||||
args = ["/Users/post/.codex/vendor_imports/mcp-unity/Server~/build/index.js"]
|
||||
```
|
||||
|
||||
### `maya`
|
||||
|
||||
- Status: optional baseline for Maya projects.
|
||||
- Purpose: Maya integration.
|
||||
- Source on current machine: `/Users/post/.codex/vendor_imports/MayaMCP`.
|
||||
- Command on current machine: `/Users/post/.codex/vendor_imports/MayaMCP/.venv/bin/python`.
|
||||
- Args on current machine: `/Users/post/.codex/vendor_imports/MayaMCP/src/maya_mcp_server.py`.
|
||||
- Verification: Maya MCP tools should be discoverable when Maya and the server environment are available.
|
||||
|
||||
Config pattern:
|
||||
|
||||
```toml
|
||||
[mcp_servers.maya]
|
||||
enabled = true
|
||||
command = "/Users/post/.codex/vendor_imports/MayaMCP/.venv/bin/python"
|
||||
args = ["/Users/post/.codex/vendor_imports/MayaMCP/src/maya_mcp_server.py"]
|
||||
```
|
||||
|
||||
## Removed Or Avoided
|
||||
|
||||
### `blender`
|
||||
|
||||
- Status: removed from current Codex desktop config on 2026-05-24.
|
||||
- Previous command: `uvx`.
|
||||
- Previous args: `["blender-mcp"]`.
|
||||
- Reason: user requested removing the unnecessary unofficial Blender MCP so only the preferred Blender AI server remains.
|
||||
|
||||
## New MCP Server Intake Template
|
||||
|
||||
Use this checklist before adding a new server:
|
||||
|
||||
- Name:
|
||||
- Purpose:
|
||||
- Baseline or optional:
|
||||
- Free:
|
||||
- Official:
|
||||
- Source URL or local path:
|
||||
- Install command:
|
||||
- Config snippet:
|
||||
- Required env vars:
|
||||
- Verification:
|
||||
- Machines installed:
|
||||
- Known issues:
|
||||
|
|
@ -8,3 +8,4 @@
|
|||
- `live-technical-spec.md` - how to maintain and return project technical specifications.
|
||||
- `multi-repository-projects.md` - how to coordinate and merge multiple local git repositories into one project.
|
||||
- `self-learning-agent-loop.md` - required loop for agents to learn from work and update shared memory.
|
||||
- `mcp-server-management.md` - how agents keep a shared MCP server set synchronized across machines.
|
||||
|
|
|
|||
79
skills/mcp-server-management.md
Normal file
79
skills/mcp-server-management.md
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
# MCP Server Management
|
||||
|
||||
## Purpose
|
||||
|
||||
Keep a shared, reusable MCP server registry so agents on different computers can install the same useful MCP capabilities.
|
||||
|
||||
## Core Rule
|
||||
|
||||
The common MCP server set is documented in:
|
||||
|
||||
```text
|
||||
mcp-servers/index.md
|
||||
```
|
||||
|
||||
Agents should read that file when setting up a new machine or when a task may benefit from additional MCP tooling.
|
||||
|
||||
## Selection Priority
|
||||
|
||||
Prefer MCP servers in this order:
|
||||
|
||||
1. Free official MCP servers from the product/vendor or platform owner.
|
||||
2. Free well-maintained open-source MCP servers with clear source links.
|
||||
3. Project-specific MCP servers when the project requires them.
|
||||
4. Paid or unofficial MCP servers only after documenting why they are needed.
|
||||
|
||||
## What To Record
|
||||
|
||||
For each MCP server, record:
|
||||
|
||||
- name;
|
||||
- purpose;
|
||||
- priority;
|
||||
- official/free status;
|
||||
- source or local path;
|
||||
- install command or plugin source;
|
||||
- config snippet;
|
||||
- required environment variables, with secrets redacted;
|
||||
- verification command or expected tool namespace;
|
||||
- machines where it is installed;
|
||||
- known issues.
|
||||
|
||||
## Setup Procedure On A New Machine
|
||||
|
||||
1. Read `mcp-servers/index.md`.
|
||||
2. Check the local agent config path, usually `$CODEX_HOME/config.toml` or `~/.codex/config.toml`.
|
||||
3. Install baseline MCP server dependencies that are compatible with the machine.
|
||||
4. Add only non-secret config snippets.
|
||||
5. Restart or reload the agent so MCP tools are discovered.
|
||||
6. Verify each server appears in the available tools or tool discovery.
|
||||
7. Update `locations/<machine>.md` with what was installed.
|
||||
|
||||
## Adding A Newly Found MCP Server
|
||||
|
||||
When a useful MCP server is found during work:
|
||||
|
||||
1. Verify it is needed.
|
||||
2. Prefer an official/free option.
|
||||
3. Add the server to `mcp-servers/index.md`.
|
||||
4. Add setup and verification steps.
|
||||
5. Note whether it is baseline or optional.
|
||||
6. Update machine/location docs after installation.
|
||||
7. Commit and push the memory update.
|
||||
|
||||
## Safety
|
||||
|
||||
Never store:
|
||||
|
||||
- API keys;
|
||||
- tokens;
|
||||
- passwords;
|
||||
- private keys;
|
||||
- local secrets;
|
||||
- cookies.
|
||||
|
||||
Use placeholders such as `<REDACTED_TOKEN>` for examples.
|
||||
|
||||
## Current Baseline Source
|
||||
|
||||
The initial baseline was copied from the current Codex desktop machine on 2026-05-24 after removing the old `uvx blender-mcp` configuration.
|
||||
50
templates/mcp-server.md
Normal file
50
templates/mcp-server.md
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# MCP Server Entry
|
||||
|
||||
## Name
|
||||
|
||||
Server name.
|
||||
|
||||
## Purpose
|
||||
|
||||
What capability this MCP server adds.
|
||||
|
||||
## Priority
|
||||
|
||||
Baseline or optional.
|
||||
|
||||
## Official And Cost Status
|
||||
|
||||
- Free:
|
||||
- Official:
|
||||
- Source:
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
# install command
|
||||
```
|
||||
|
||||
## Config Snippet
|
||||
|
||||
```toml
|
||||
[mcp_servers.example]
|
||||
enabled = true
|
||||
command = "example"
|
||||
args = []
|
||||
```
|
||||
|
||||
## Environment Variables
|
||||
|
||||
- `NAME`: purpose. Do not store secrets.
|
||||
|
||||
## Verification
|
||||
|
||||
How to confirm the MCP server is available.
|
||||
|
||||
## Machines Installed
|
||||
|
||||
- Machine:
|
||||
|
||||
## Known Issues
|
||||
|
||||
- None recorded.
|
||||
Reference in a new issue