- Explore MCP Servers
- mcp_vocabulary_service
Mcp Vocabulary Service
What is Mcp Vocabulary Service
The mcp_vocabulary_service is a Model Context Protocol (MCP) server designed for accessing the Earth616 Defense Supply Chain and Documentation Ontology (DSCDO).
Use cases
Use cases include testing ontology information, verifying connectivity to ontology servers, and listing available example files for developers and users in the Earth616 ecosystem.
How to use
To use the mcp_vocabulary_service, you can either build it locally using npm commands or run it in a Docker container. For local development, install dependencies and run the service. For Docker, use the provided npm scripts to start the full stack and test the service.
Key features
Key features include local and Docker-based deployment options, health checks for the ontology server, example file serving, and integration with Claude Desktop for enhanced functionality.
Where to use
The mcp_vocabulary_service is applicable in fields such as supply chain management, defense logistics, and any domain requiring structured documentation and ontology management.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mcp Vocabulary Service
The mcp_vocabulary_service is a Model Context Protocol (MCP) server designed for accessing the Earth616 Defense Supply Chain and Documentation Ontology (DSCDO).
Use cases
Use cases include testing ontology information, verifying connectivity to ontology servers, and listing available example files for developers and users in the Earth616 ecosystem.
How to use
To use the mcp_vocabulary_service, you can either build it locally using npm commands or run it in a Docker container. For local development, install dependencies and run the service. For Docker, use the provided npm scripts to start the full stack and test the service.
Key features
Key features include local and Docker-based deployment options, health checks for the ontology server, example file serving, and integration with Claude Desktop for enhanced functionality.
Where to use
The mcp_vocabulary_service is applicable in fields such as supply chain management, defense logistics, and any domain requiring structured documentation and ontology management.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
Earth616 MCP Vocabulary Service
A Model Context Protocol (MCP) server for accessing the Earth616 Defense Supply Chain and Documentation Ontology (DSCDO).
Quick Start
Option 1: Local Development
-
Build the service:
npm install npm run build
-
Test the service locally:
# Test that it starts up node dist/index.js # Should output: "Earth616 MCP Vocabulary Server running on stdio" # Press Ctrl+C to exit
Option 2: Docker Development (Recommended)
-
Start the full stack:
npm run docker:up
This starts:
- Nginx server on port 8080 (serving example ontology files)
- MCP vocabulary service (connected to nginx)
-
Test the stack:
# Test ontology server curl http://localhost:8080/health # View example files curl http://localhost:8080/example/
-
View logs:
npm run docker:logs
-
Stop the stack:
npm run docker:down
-
Connect to Claude Desktop:
Copy the configuration from
claude_desktop_config.json
to your Claude Desktop configuration file:- Mac:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
Or merge with existing config:
{ "mcpServers": { "earth616-vocab": { "command": "node", "args": [ "/full/path/to/earth616_mcp_vocab_service/dist/index.js" ], "env": { "NODE_ENV": "development" } } } }
- Mac:
-
Test in Claude Desktop:
After restarting Claude Desktop, you should be able to use these tools:
hello_vocab
- Simple test toolget_ontology_info
- Basic ontology informationtest_ontology_server
- Test connectivity to the ontology file serverlist_example_files
- List available example files
Current Status
This is a minimal MCP server with Docker integration. Available tools:
- hello_vocab: Echo back a message (testing connectivity)
- get_ontology_info: Get basic information about the Earth616 ontology
- test_ontology_server: Test connectivity to the ontology file server
- list_example_files: List available example ontology files
The Docker setup provides:
- nginx: Serves ontology files with proper content types
- MCP service: Connects to nginx and provides vocabulary access
- Health checks:
/health
endpoint for service monitoring
Next Steps
Following the iterative approach outlined in VOCAB_SERVICE_PLAN.md
, we’ll gradually add:
- File-based vocabulary term lookup
- URI resolution capabilities
- W3C PROF Profile navigation
- Complete vocabulary dataset access
- Cross-layer navigation tools
Development
Local Development
npm run dev
- Watch mode for developmentnpm run build
- Build TypeScriptnpm start
- Run the built server
Docker Development
npm run docker:build
- Build Docker imagenpm run docker:up
- Start full stack (detached)npm run docker:down
- Stop full stacknpm run docker:logs
- View MCP service logsnpm run docker:test
- Quick health check test
Development Workflow
- Make changes to
src/index.ts
npm run docker:up
to test with full stack- Use Claude Desktop tools to test functionality
npm run docker:logs
to debug issuesnpm run docker:down
when done
The server runs on stdio and communicates with Claude Desktop via the MCP protocol. The Docker setup simulates the full production environment locally.
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.