Basis Theory MCP by usefulapi
v1.40.4Read token metadata, applications, audit logs, proxies and usage in the PCI vault.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
basis_theory_list_tokens List tokens
List vault tokens as METADATA — id, type, container, fingerprint, metadata and timestamps. Does not return the underlying card number or PII. Basis Theory: GET /v2/tokens.
| Parameter | Type | Description |
|---|---|---|
container | string | Only tokens in this container path, e.g. /pci/high/. |
fingerprint | string | Only tokens sharing this fingerprint — how you find duplicates of the same card. |
size | integer | Page size, 1-100. |
start | string | Cursor from the previous page's pagination.next. Omit for the first page. |
type | string | Only tokens of this type, e.g. card, bank, token. |
basis_theory_search_tokens Search tokens
Search tokens with Basis Theory's query syntax over metadata, e.g. metadata.customer_id:"cus_1". Returns metadata only. Read-only despite being a POST — the query goes in the body. Basis Theory: POST /v2/tokens/search.
| Parameter | Type | Description |
|---|---|---|
query * | string | Query string, e.g. type:card AND metadata.customer_id:"cus_1". |
size | integer | Page size, 1-100. |
start | string | Cursor from the previous page's pagination.next. Omit for the first page. |
basis_theory_get_token Get one token
Fetch a single token by id. Returns metadata, container, fingerprint and timestamps. WARNING: if the configured API key carries a reveal permission, the response also contains the token's plaintext data — issue this server a read-only management key instead. Basis Theory: GET /tokens/{id}.
| Parameter | Type | Description |
|---|---|---|
token_id * | string | The token's id. |
basis_theory_list_applications List applications
List the applications (API-key holders) in the tenant, with their types and permissions. Basis Theory: GET /applications.
| Parameter | Type | Description |
|---|---|---|
page | integer | 1-based page number (offset pagination). |
size | integer | Page size, 1-100. |
type | string | Only applications of this type, e.g. private, public, management, expiring. |
basis_theory_get_application Get one application
Fetch a single application with its type and permission list. Basis Theory: GET /applications/{id}.
| Parameter | Type | Description |
|---|---|---|
application_id * | string | The application's id. |
basis_theory_whoami Identify the configured key
Return the application the configured BT-API-KEY belongs to — the fastest way to check which permissions this server actually has. Basis Theory: GET /applications/key.
basis_theory_list_logs List audit logs
List audit-log entries — who did what to which entity and when. The tool for answering 'who touched this token?'. Basis Theory: GET /logs.
| Parameter | Type | Description |
|---|---|---|
end_date | string | ISO-8601 upper bound. |
entity_id | string | Only entries for this entity id. |
entity_type | string | Only entries for this entity type, e.g. token, application, proxy. |
page | integer | 1-based page number (offset pagination). |
size | integer | Page size, 1-100. |
start_date | string | ISO-8601 lower bound. |
basis_theory_list_log_entity_types List log entity types
List the entity types the audit log records — the valid values for entity_type. Basis Theory: GET /logs/entity-types.
basis_theory_list_proxies List proxies
List the proxies that forward requests to third parties, detokenizing in flight. Basis Theory: GET /proxies.
| Parameter | Type | Description |
|---|---|---|
name | string | Filter by proxy name. |
page | integer | 1-based page number (offset pagination). |
size | integer | Page size, 1-100. |
basis_theory_get_proxy Get one proxy
Fetch a single proxy with its destination URL and transform configuration. Basis Theory: GET /proxies/{id}.
| Parameter | Type | Description |
|---|---|---|
proxy_id * | string | The proxy's id. |
basis_theory_list_reactors List reactors
List reactors — the serverless functions that run against detokenized data inside the vault. Basis Theory: GET /reactors.
| Parameter | Type | Description |
|---|---|---|
name | string | Filter by reactor name. |
page | integer | 1-based page number (offset pagination). |
size | integer | Page size, 1-100. |
basis_theory_get_reactor Get one reactor
Fetch a single reactor with its configuration. Basis Theory: GET /reactors/{id}.
| Parameter | Type | Description |
|---|---|---|
reactor_id * | string | The reactor's id. |
basis_theory_list_permissions List permissions
List the permissions that can be granted to an application, optionally for one application type. Basis Theory: GET /permissions.
| Parameter | Type | Description |
|---|---|---|
application_type | string | Only permissions valid for this application type. |
basis_theory_list_roles List roles
List the roles available for tenant members. Basis Theory: GET /roles.
basis_theory_get_tenant Get the tenant
Fetch the current tenant — name, id and settings. Basis Theory: GET /tenants/self.
basis_theory_get_tenant_usage Get the tenant usage report
Fetch the tenant's usage report — token counts by type and container, and monthly API call volume. Basis Theory: GET /tenants/self/reports/usage.
basis_theory_list_tenant_members List tenant members
List the people with access to the tenant, and their roles. Basis Theory: GET /tenants/self/members.
| Parameter | Type | Description |
|---|---|---|
page | integer | 1-based page number (offset pagination). |
size | integer | Page size, 1-100. |