Postman Collection Info

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://apidocs.lwolf.com/doc/spacio-api/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Spacio API MCP server": {
    "url": "https://apidocs.lwolf.com/doc/spacio-api/mcp"
  }
}

Close

Postman Collection

Import Collection

  1. Open Postman
  2. Click Import
  3. Paste or upload spacio-api-collection.json
  4. Collection appears in sidebar

Setup Environment

Create Postman environment with variables:

Variables:

  • base_url = https://ws.spac.io/api/v1
  • api_key = your-api-key-here
  • agent_key = your-agent-id
  • property_id = test-property-id
  • brokerage_id = your-brokerage-id

Using Variables

In request URLs:

{{base_url}}/getProperties

In headers:

Header: apikey: {{api_key}}

In body:

agent_key={{agent_key}}&page=1

Pre-request Scripts

Automatically set timestamps:

pm.environment.set('timestamp', new Date().toISOString());

Test Scripts

Validate responses:

pm.test('Status code is 200', function() {
  pm.response.to.have.status(200);
});

pm.test('Response has success', function() {
  var json = pm.response.json();
  pm.expect(json.success).to.be.true;
});

Running Collections

Use Collection Runner:

  1. Select collection
  2. Set iteration count
  3. Set delays between requests
  4. Click Run

Monitoring

Setup monitoring to run collection on schedule:

  1. Select collection
  2. Click Monitors
  3. Create new monitor
  4. Set frequency (hourly/daily)

Export Results

Generate reports:

  • Execution summary
  • Pass/fail statistics
  • Response times
  • Error logs