{"_id":"@a5c-ai/aeq-mcp-tool","name":"@a5c-ai/aeq-mcp-tool","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@a5c-ai/aeq-mcp-tool","version":"0.1.0","description":"MCP tool integration for Ask Expert Question","type":"module","main":"dist/index.js","types":"dist/index.d.ts","bin":{"aeq-mcp-tool":"dist/index.js"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"engines":{"node":">=22.0.0"},"scripts":{"build":"tsc --build","clean":"node ../../scripts/clean-build-artifacts.mjs packages/mcp-tool","test":"vitest run","prepublishOnly":"npm run build"},"keywords":["mcp","claude","expert","question","ai"],"repository":{"type":"git","url":"git+https://github.com/a5c-ai/ask-expert-question.git","directory":"packages/mcp-tool"},"bugs":{"url":"https://github.com/a5c-ai/ask-expert-question/issues"},"homepage":"https://github.com/a5c-ai/ask-expert-question/tree/main/packages/mcp-tool","dependencies":{"@a5c-ai/aeq-auth":"0.1.0","@a5c-ai/aeq-shared":"0.1.0","@a5c-ai/aeq-sdk":"0.1.0","@modelcontextprotocol/sdk":"^1.0.0"},"_id":"@a5c-ai/aeq-mcp-tool@0.1.0","gitHead":"71edb6b5b4bc6c7037d5c35e6e7191054a231430","_nodeVersion":"22.22.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-PgwLOE6eG+DFH4oYDXbJSPKlHNNZvgRT1TQqbvzBq8TRaOQCFO2tS+IW6iX/xk9AmISahwsWE6gZ0/V0mKRhdw==","shasum":"537dcf8541555b7b4993b16e257c65fd802bfcf3","tarball":"https://registry.npmjs.org/@a5c-ai/aeq-mcp-tool/-/aeq-mcp-tool-0.1.0.tgz","fileCount":46,"unpackedSize":84578,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFE5BFGCf/8qr6stULrPZ/DB6VQjKhVsgxI1FYyMvj2KAiBZlGSQhG+t1pzTD2p3sRmf35rfaTpeMkVXmkLhHYYfxA=="}]},"_npmUser":{"name":"tmuskal","email":"tal@musk.al"},"directories":{},"maintainers":[{"name":"tmuskal","email":"tal@musk.al"},{"name":"benihak","email":"beni@a5c.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/aeq-mcp-tool_0.1.0_1774364603203_0.4526031453620316"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-24T15:03:23.073Z","0.1.0":"2026-03-24T15:03:23.388Z","modified":"2026-03-24T15:03:23.665Z"},"maintainers":[{"name":"tmuskal","email":"tal@musk.al"},{"name":"benihak","email":"beni@a5c.ai"}],"description":"MCP tool integration for Ask Expert Question","homepage":"https://github.com/a5c-ai/ask-expert-question/tree/main/packages/mcp-tool","keywords":["mcp","claude","expert","question","ai"],"repository":{"type":"git","url":"git+https://github.com/a5c-ai/ask-expert-question.git","directory":"packages/mcp-tool"},"bugs":{"url":"https://github.com/a5c-ai/ask-expert-question/issues"},"readme":"# @a5c-ai/aeq-mcp-tool\n\nMCP (Model Context Protocol) tool server for the Ask Expert Question system. Routes questions from AI agents to domain experts instead of asking the current user directly.\n\n## Installation\n\nRun directly with npx:\n\n```bash\nnpx @a5c-ai/aeq-mcp-tool\n```\n\nOr install globally:\n\n```bash\nnpm install -g @a5c-ai/aeq-mcp-tool\n```\n\n## Configuration for Claude Code\n\nAdd the following to your `.mcp.json` file:\n\n```json\n{\n  \"mcpServers\": {\n    \"ask-expert-question\": {\n      \"command\": \"node\",\n      \"args\": [\"packages/mcp-tool/dist/index.js\"],\n      \"env\": {\n        \"AEQ_SERVER_URL\": \"https://aeq.a5c.ai/api/v1\",\n        \"AEQ_AUTH_TOKEN\": \"your-token-here\"\n      }\n    }\n  }\n}\n```\n\n## Configuration for Codex\n\nAdd the following to `.codex/config.toml` in the project:\n\n```toml\n[mcp_servers.ask-expert-question]\ncommand = \"node\"\nargs = [\"packages/mcp-tool/dist/index.js\"]\nenv = { AEQ_SERVER_URL = \"https://aeq.a5c.ai/api/v1\" }\n```\n\n## Environment Variables\n\n| Variable | Description | Default |\n|----------|-------------|---------|\n| `AEQ_SERVER_URL` | URL of the AEQ server | `https://aeq.a5c.ai/api/v1` |\n| `AEQ_AUTH_TOKEN` | Authentication token for the AEQ server | _(none)_ |\n\n## Available Tools\n\n### `ask_expert_question`\n\nSubmit a question to a domain expert. The question is routed to the most appropriate expert based on the domain and content. Returns a question ID for tracking.\n\n### `check_question_status`\n\nCheck the status of a previously submitted question. Returns the current state (pending, answered, expired) and the answer if available.\n\n### `cancel_expert_question`\n\nCancel a pending question that is no longer needed. Removes the question from the queue so experts are not prompted unnecessarily.\n\n### `list_domain_experts`\n\nList all available domain experts and their areas of expertise. Useful for understanding which domains are covered before submitting a question.\n\n## How It Works\n\n1. An AI agent calls `ask_expert_question` via MCP with a question and optional domain hint.\n2. The MCP tool forwards the question to the AEQ server through the SDK.\n3. A domain expert picks up the question via the CLI or SDK and provides an answer.\n4. The AI agent retrieves the answer using `check_question_status` or receives it via polling.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-af1d56ffea98ce419b552c3ec88e8f84"}