mcp-efile-mock
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
MOCK e-File server for IRS employment-tax and extension forms. It does not file with the IRS, does not connect to any IRS system, and is for test data only: use fake identifiers (EINs starting 00, SSNs like 000-00-0000). Typical flow: list_supported_forms -> validate_return -> build_return_xml -> mock_submit_return -> get_acknowledgement. Never present its results as an actual IRS filing, acceptance or rejection.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_supported_formsA | List the form types this mock can validate, build and submit, with each form's top-level input fields (name and whether required), the optional |
| validate_returnA | Check return JSON without submitting anything: input shape, line math recomputed from the inputs, deposit/liability checks, header and EIN rules. Returns |
| build_return_xmlA | Validate the return and convert it to illustrative MeF-style XML. The XML uses hand-modeled element names in a mock namespace and will not pass the real IRS schema. |
| mock_submit_returnA | Submit a return to the in-memory mock MeF (nothing leaves this process, nothing is persisted after exit). Returns a 20-digit submission ID, a message ID and an illustrative transmission container shape (header, manifest, zip entry list). Input that fails shape validation is not submitted; business-rule failures are submitted and come back Rejected. Then call get_acknowledgement with the submission ID. Submitting the same accepted return twice is rejected as a duplicate. |
| get_acknowledgementA | Fetch the mock result for a submission ID from mock_submit_return. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool maps to a distinct stage of the mock e-file workflow: discovery, validation, XML rendering, submission, and acknowledgement retrieval. Although build_return_xml also validates, its description clearly separates XML conversion from the validation-only purpose of validate_return.
All names use snake_case and generally follow a verb_noun pattern, such as list_supported_forms, validate_return, build_return_xml, and get_acknowledgement. mock_submit_return adds a qualifier prefix, which is a minor but readable deviation.
The five tools are tightly scoped to the mock e-file lifecycle and each serves a clear purpose. There is no redundant tooling, and the set is small enough to stay coherent while covering the necessary workflow.
The surface covers the core end-to-end flow: discover forms, validate, build XML, submit, and fetch an acknowledgement. Minor operational gaps such as listing prior submissions or resetting mock state are absent, but they are not essential for the stated purpose.