api2mcp
by BaoPHP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| --emit | No | Generate a standalone runnable server into the specified directory. | |
| --name | No | Server name, defaults to info.title from the spec. | |
| --spec | Yes | Path to an OpenAPI 3.x JSON file. Required. | |
| --retry | No | Number of retries for 5xx/429/408 and network errors with exponential backoff, default 0. | 0 |
| --tools | No | List the tools that would be generated from the spec, then exit (for verification). | |
| --header | No | Inject a request header in "K: V" form; can be repeated. Use for non-sensitive headers. | |
| --secret | No | Inject a secret request header from an environment variable in "K=$ENV" form (not persisted to disk). | |
| --timeout | No | HTTP timeout in milliseconds, default 15000. | 15000 |
| --verbose | No | Output each request to stderr (secrets are not printed). | |
| --base-url | No | API root URL; may be omitted if the spec contains an absolute server URL. | |
| --allow-write | No | Allow generating write-operation tools (POST/PUT/DELETE/PATCH). By default only read-only GET/HEAD/OPTIONS tools are exposed. | |
| --retry-delay | No | Initial retry backoff in milliseconds, default 500. | 500 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityNo data
ResponsivenessOutdated data