dir-mcp
v1.3.4MCP server for working with OASF agent records in the Agntcy Directory.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
agntcy_dir_pull_record
Pulls an OASF agent record from the local Directory node by its CID (Content Identifier). The pulled record is content-addressable and can be validated against its hash. Server configuration is set via environment variables (DIRECTORY_CLIENT_SERVER_ADDRESS). Use this tool to retrieve agent records by their CID for inspection or validation.
| Parameter | Type | Description |
|---|---|---|
cid * | string | Content Identifier (CID) of the record to pull (required) |
agntcy_dir_push_record
Pushes an OASF agent record to a Directory server. This tool validates and uploads the record to the configured Directory server, returning: - Content Identifier (CID) for the pushed record - Server address where the record was stored The record must be a valid OASF agent record. Server configuration is set via environment variables (DIRECTORY_CLIENT_SERVER_ADDRESS). Use this tool after validating your record to store it in the Directory.
| Parameter | Type | Description |
|---|---|---|
record_json * | string | JSON string of the OASF agent record to push to Directory server |
agntcy_dir_search_local
Searches for agent records on the local directory node using structured query filters. This tool supports flexible wildcard patterns for matching records based on: - Agent names (e.g., "gpt*", "agent-?", "web-*") - Versions (e.g., "v1.*", "*-beta", "v?.0.?") - Skill IDs (exact match only, e.g., "10201") - Skill names (e.g., "*python*", "Image*") - Locators (e.g., "docker-image:*", "http*") - Modules (e.g., "*-plugin", "core*") Multiple filters are combined with OR logic (matches any filter). Results are streamed and paginated for efficient handling of large result sets. Server configuration…
| Parameter | Type | Description |
|---|---|---|
authors | array | Author name patterns (supports wildcards: * ? []) |
created_ats | array | Created_at timestamp patterns (supports wildcards: * ? []) |
domain_ids | array | Domain ID patterns (exact match only) |
domain_names | array | Domain name patterns (supports wildcards: * ? []) |
limit | integer | Maximum number of results to return (default: 100 max: 1000) |
locators | array | Locator patterns (supports wildcards: * ? []) |
module_ids | array | Module ID patterns (exact match only) |
module_names | array | Module name patterns (supports wildcards: * ? []) |
names | array | Agent name patterns (supports wildcards: * ? []) |
offset | integer | Pagination offset (default: 0) |
schema_versions | array | Schema version patterns (supports wildcards: * ? []) |
skill_ids | array | Skill ID patterns (exact match only) |
skill_names | array | Skill name patterns (supports wildcards: * ? []) |
versions | array | Version patterns (supports wildcards: * ? []) |
agntcy_dir_verify_name
Verifies that a record's name is owned by the domain it claims. This tool checks that the record was signed with a key published in the domain's well-known JWKS file (/.well-known/jwks.json). You can verify by: - CID: Directly verify a specific record by its Content Identifier - Name: Verify a record by its human-readable name (e.g., "example.com/my-agent") - Name + Version: Verify a specific version (e.g., "example.com/my-agent" + "v1.0.0") Returns verification status and domain verification details including: - The verified domain - The verification method used - The matched key ID from t…
| Parameter | Type | Description |
|---|---|---|
cid | string | Content Identifier (CID) of the record to verify |
name | string | Human-readable name of the record (e.g., 'example.com/my-agent') |
version | string | Optional version to verify (e.g., 'v1.0.0'). If omitted, verifies the latest version. |
agntcy_dir_verify_record
Verifies the digital signature of a record in the Directory by its CID. This tool performs a server-side verification of the record's integrity and authenticity. Returns the verification status (trusted/not trusted). Use this tool to ensure a record has been properly signed and hasn't been tampered with.
| Parameter | Type | Description |
|---|---|---|
cid * | string | Content Identifier (CID) of the record to verify (required) |
agntcy_oasf_export_record
Exports an OASF agent record to a different format using the OASF SDK translator. This tool takes an OASF record in JSON format and converts it to the specified target format. Currently supported target formats: - "a2a": Agent-to-Agent (A2A) format - "ghcopilot": GitHub Copilot MCP configuration format - "agentskills": Agent Skills SKILL.md markdown format **Input Format**: Provide the OASF record as a standard JSON object (no wrapper needed). **Output Format**: The output structure depends on the target format: - For "a2a": Returns the A2A card directly as a JSON object - For "ghcopilot":…
| Parameter | Type | Description |
|---|---|---|
record_json * | string | JSON string of the OASF agent record to export (required) |
target_format * | string | Target format to export to (a2a, ghcopilot, agentskills) (required) |
agntcy_oasf_get_schema
Retrieves the complete OASF schema JSON content for the specified version. This tool provides direct access to the full schema definition including: - All domain definitions and their IDs - All skill definitions and their IDs - Complete validation rules and constraints - Schema structure and required fields Use this tool to get the complete schema for reference when creating or validating agent records.
| Parameter | Type | Description |
|---|---|---|
version * | string | OASF schema version to retrieve (e.g., 0.7.0, 0.8.0, 1.0.0) |
agntcy_oasf_get_schema_domains
Retrieves domains from the OASF schema for the specified version. This tool supports hierarchical domain navigation: - Without parent_domain: Returns all top-level domain categories (e.g., "artificial_intelligence", "software_development") - With parent_domain: Returns sub-domains under that parent (e.g., parent="artificial_intelligence" returns its children) Each domain includes: - name: The domain identifier used in OASF records - caption: Human-readable display name - id: Numeric domain identifier Use this tool to discover valid domains when creating or enriching agent records. Essential…
| Parameter | Type | Description |
|---|---|---|
version * | string | OASF schema version to retrieve domains from (e.g., 0.7.0, 0.8.0) |
parent_domain | string | Optional parent domain name to filter sub-domains (e.g., 'artificial_intelligence') |
agntcy_oasf_get_schema_skills
Retrieves skills from the OASF schema for the specified version. This tool supports hierarchical skill navigation: - Without parent_skill: Returns all top-level skill categories (e.g., "analytical_skills", "natural_language_processing") - With parent_skill: Returns sub-skills under that parent (e.g., parent="retrieval_augmented_generation" returns its children) Each skill includes: - name: The skill identifier used in OASF records - caption: Human-readable display name - id: Numeric skill identifier Use this tool to discover valid skills when creating or enriching agent records. Essential fo…
| Parameter | Type | Description |
|---|---|---|
version * | string | OASF schema version to retrieve skills from (e.g., 0.7.0, 0.8.0) |
parent_skill | string | Optional parent skill name to filter sub-skills (e.g., 'retrieval_augmented_generation') |
agntcy_oasf_import_record
Imports data from a different format to an OASF agent record using the OASF SDK translator. This tool takes data in a source format and converts it to OASF record format. Currently supported source formats: - "mcp": Model Context Protocol format - "a2a": Agent-to-Agent (A2A) format - "agentskills": Agent Skills SKILL.md markdown format **CRITICAL - Input Format Requirements**: For "mcp" format, provide source_data as: { "server": { "name": "example-server", "version": "1.0.0", ... (rest of MCP server data) } } For "a2a" format, provide source_data as either: 1) wrapped objec…
| Parameter | Type | Description |
|---|---|---|
source_data * | string | Source data to import as JSON string (mcp wrapper {server:{...}}, a2a card object/wrapper, or agentskills wrapper {skillMarkdown:"..."}) (required) |
source_format * | string | Source format to import from (mcp, a2a, agentskills) (required) |
agntcy_oasf_list_versions
Lists all available OASF schema versions supported by the server. This tool provides a simple way to discover what schema versions are available without having to make requests with specific version numbers. Use this tool to see what OASF schema versions you can work with.
agntcy_oasf_validate_record
Validates an AGNTCY OASF agent record against the OASF schema. This tool performs comprehensive validation including: - Required fields check - Field type validation - Schema-specific constraints - Domain and skill taxonomy validation Returns detailed validation errors to help fix issues. Use this tool to ensure a record meets all OASF requirements before pushing.
| Parameter | Type | Description |
|---|---|---|
record_json * | string | JSON string of the agent record to validate against OASF schema |